From 5a9910ded3a243970e45468acd96832db45b3590 Mon Sep 17 00:00:00 2001 From: Bogdan Marinescu Date: Thu, 31 Jul 2014 13:36:14 +0100 Subject: [PATCH] Consider '.hpp' as include files in the resource scanner --- workspace_tools/toolchains/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workspace_tools/toolchains/__init__.py b/workspace_tools/toolchains/__init__.py index ca5b9a24fb..950884a5d6 100644 --- a/workspace_tools/toolchains/__init__.py +++ b/workspace_tools/toolchains/__init__.py @@ -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)