🔧 adjust analysis targets
This commit is contained in:
parent
7f6ea47bdb
commit
3d60befde3
1 changed files with 3 additions and 3 deletions
6
Makefile
6
Makefile
|
@ -577,12 +577,12 @@ check-single-includes:
|
||||||
# check if all flags of our CMake files work
|
# check if all flags of our CMake files work
|
||||||
check_cmake_flags_do:
|
check_cmake_flags_do:
|
||||||
$(CMAKE_BINARY) --version
|
$(CMAKE_BINARY) --version
|
||||||
for flag in '' JSON_BuildTests JSON_Install JSON_MultipleHeaders JSON_Sanitizer JSON_Valgrind JSON_NoExceptions JSON_Coverage; do \
|
for flag in JSON_BuildTests JSON_Install JSON_MultipleHeaders JSON_Sanitizer JSON_Valgrind JSON_NoExceptions JSON_Coverage; do \
|
||||||
rm -fr cmake_build; \
|
rm -fr cmake_build; \
|
||||||
mkdir cmake_build; \
|
mkdir cmake_build; \
|
||||||
echo "$(CMAKE_BINARY) .. -D$$flag=On" ; \
|
echo "\n\n$(CMAKE_BINARY) .. -D$$flag=On\n" ; \
|
||||||
cd cmake_build ; \
|
cd cmake_build ; \
|
||||||
CXX=g++-8 $(CMAKE_BINARY) .. -D$$flag=On -DCMAKE_CXX_COMPILE_FEATURES="cxx_std_11;cxx_range_for" -DCMAKE_CXX_FLAGS="-std=gnu++11" ; \
|
$(CMAKE_BINARY) -Werror=dev .. -D$$flag=On -DCMAKE_CXX_COMPILE_FEATURES="cxx_std_11;cxx_range_for" -DCMAKE_CXX_FLAGS="-std=gnu++11" ; \
|
||||||
test -f Makefile || exit 1 ; \
|
test -f Makefile || exit 1 ; \
|
||||||
cd .. ; \
|
cd .. ; \
|
||||||
done;
|
done;
|
||||||
|
|
Loading…
Reference in a new issue