mirror of
https://github.com/TheLartians/ModernCppStarter.git
synced 2025-09-03 23:50:53 +02:00
Do NOT set visibility to hidden for all targets
only if requested and only for our target use clang-tidy too on CI on cmacos
This commit is contained in:
parent
1b3755e6e5
commit
a50af55582
7 changed files with 26 additions and 16 deletions
|
|
@ -44,7 +44,7 @@ test: install
|
|||
|
||||
# all together
|
||||
all: test
|
||||
cmake -S $@ -B build/$@ -G "${GENERATOR}" -DCMAKE_PREFIX_PATH=${ROOT} -DTEST_INSTALLED_VERSION=1 -DENABLE_TEST_COVERAGE=1
|
||||
cmake -S $@ -B build/$@ -G "${GENERATOR}" -DCMAKE_PREFIX_PATH=${ROOT} -DTEST_INSTALLED_VERSION=1 -DENABLE_TEST_COVERAGE=1 -DUSE_STATIC_ANALYZER=clang-tidy
|
||||
cmake --build build/$@
|
||||
cmake --build build/$@ --target test
|
||||
cmake --build build/$@ --target check-format
|
||||
|
|
@ -66,4 +66,5 @@ standalone:
|
|||
|
||||
# check the library
|
||||
check: standalone
|
||||
run-clang-tidy.py -p build/standalone -checks='-*,modernize-*,misc-*,hicpp-*,cert-*,readability-*,portability-*,performance-*,google-*' standalone
|
||||
run-clang-tidy.py -p build/standalone standalone
|
||||
# TODO builddriver run-clang-tidy.py -p build/standalone -checks='-*,modernize-*,misc-*,hicpp-*,cert-*,readability-*,portability-*,performance-*,google-*' standalone
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue