Consider '.hpp' as include files in the resource scanner

pull/423/head
Bogdan Marinescu 2014-07-31 13:36:14 +01:00
parent d0d75b1224
commit 5a9910ded3
1 changed files with 1 additions and 1 deletions

View File

@ -325,7 +325,7 @@ class mbedToolchain:
elif ext == '.cpp':
resources.cpp_sources.append(file_path)
elif ext == '.h':
elif ext == '.h' or ext == '.hpp':
if basename(file_path) == "mbed_config.h":
self.has_config = True
resources.headers.append(file_path)