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
1515REPO_SRCS=` find cores/esp32/ libraries/ -name ' examples' -prune -o -name ' *.c' -print -o -name ' *.cpp' -print | sort`
1616
1717# 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`
1919
2020if ! diff -u0 --label " Repo Files" --label " srcs" <( echo " $REPO_SRCS " ) <( echo " $CMAKE_SRCS " ) ; then
2121 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