File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ git submodule update --init --recursive
15
15
REPO_SRCS=` find cores/esp32/ libraries/ -name ' examples' -prune -o -name ' *.c' -print -o -name ' *.cpp' -print | sort`
16
16
17
17
# find all source files named in CMakeLists.txt COMPONENT_SRCS
18
- CMAKE_SRCS=` cmake --trace-expand -C CMakeLists.txt 2>&1 | grep set\( srcs | cut -d' (' -f3 | sed ' s/ )//' | sed ' s/srcs //' | tr ' ;' ' \n' | sort`
18
+ CMAKE_SRCS=` cmake --trace-expand -P CMakeLists.txt 2>&1 | grep set\( srcs | cut -d' (' -f3 | sed ' s/ )//' | sed ' s/srcs //' | tr ' ;' ' \n' | sort`
19
19
20
20
if ! diff -u0 --label " Repo Files" --label " srcs" <( echo " $REPO_SRCS " ) <( echo " $CMAKE_SRCS " ) ; then
21
21
echo " Source files in repo (-) and source files in CMakeLists.txt (+) don't match"
You can’t perform that action at this time.
0 commit comments