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

add options.cmake project config file

common options used for every cmake project
prevent reame of standalone executable via cmake properties
This commit is contained in:
ClausKlein 2021-02-17 10:31:56 +01:00
parent 9391ce636a
commit 6ea6bdd2ea
11 changed files with 84 additions and 103 deletions

View file

@ -61,7 +61,7 @@ endif()
enable_testing()
add_test(NAME greeterTests COMMAND GreeterTests)
add_test(NAME greeterTests COMMAND GreeterTests -s false)
# ---- code coverage ----

View file

@ -1,17 +0,0 @@
# CPM Package Lock This file should be committed to version control
# Ccache.cmake
CPMDeclarePackage(
Ccache.cmake
NAME Ccache.cmake
VERSION 1.2.1
GITHUB_REPOSITORY TheLartians/Ccache.cmake
)
# Format.cmake
CPMDeclarePackage(
Format.cmake
NAME Format.cmake
VERSION 1.6
GITHUB_REPOSITORY TheLartians/Format.cmake
OPTIONS "FORMAT_CHECK_CMAKE ON"
)