1
0
Fork 0
mirror of https://github.com/TheLartians/ModernCppStarter.git synced 2025-09-03 23:50:53 +02:00

prevent to test fetcht packeage too

use only explicit add_test()
This commit is contained in:
ClausKlein 2021-03-02 12:46:30 +01:00
parent e8d1012d41
commit 75c10df2d8
3 changed files with 11 additions and 7 deletions

View file

@ -44,10 +44,11 @@ test: install
# all together
all: test
cmake -S $@ -B build/$@ -G "${GENERATOR}" -DCMAKE_PREFIX_PATH=${ROOT} -DTEST_INSTALLED_VERSION=1 -DENABLE_TEST_COVERAGE=1 -DUSE_STATIC_ANALYZER=clang-tidy
cmake -S $@ -B build/$@ -G "${GENERATOR}" -DCMAKE_PREFIX_PATH=${ROOT} -DTEST_INSTALLED_VERSION=1 -DENABLE_TEST_COVERAGE=1 -DCMAKE_EXPORT_COMPILE_COMMANDS=1 -DUSE_STATIC_ANALYZER=clang-tidy
cmake --build build/$@
cmake --build build/$@ --target test
cmake --build build/$@ --target check-format
# cmake --build build/$@ --target check-format
# TODO builddriver run-clang-tidy.py -p build/$@ -checks='-*,modernize-*,misc-*,hicpp-*,cert-*,readability-*,portability-*,performance-*,google-*'
# GenerateDocs
doc: