File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,10 @@ def get_project_lib_includes(env):
112
112
113
113
def is_cmake_reconfigure_required (cmake_api_reply_dir ):
114
114
cmake_cache_file = join (BUILD_DIR , "CMakeCache.txt" )
115
- cmake_txt_file = join (env .subst ("$PROJECT_DIR" ), "CMakeLists.txt" )
115
+ cmake_txt_files = [
116
+ join (env .subst ("$PROJECT_DIR" ), "CMakeLists.txt" ),
117
+ join (env .subst ("$PROJECT_SRC_DIR" ), "CMakeLists.txt" )
118
+ ]
116
119
cmake_preconf_dir = join (BUILD_DIR , "config" )
117
120
sdkconfig = join (env .subst ("$PROJECT_DIR" ), "sdkconfig" )
118
121
@@ -127,7 +130,7 @@ def is_cmake_reconfigure_required(cmake_api_reply_dir):
127
130
return True
128
131
if any (
129
132
getmtime (f ) > getmtime (cmake_cache_file )
130
- for f in ( cmake_txt_file , cmake_preconf_dir )
133
+ for f in cmake_txt_files + [ cmake_preconf_dir ]
131
134
):
132
135
return True
133
136
@@ -996,6 +999,7 @@ def _skip_prj_source_files(node):
996
999
env .MergeFlags (project_flags )
997
1000
env .Prepend (
998
1001
CPPPATH = app_includes ["plain_includes" ],
1002
+ CPPDEFINES = project_defines ,
999
1003
LINKFLAGS = extra_flags ,
1000
1004
LIBS = libs ,
1001
1005
FLASH_EXTRA_IMAGES = [
You can’t perform that action at this time.
0 commit comments