1
0
Fork 0
mirror of https://github.com/TheLartians/ModernCppStarter.git synced 2025-09-06 00:41:01 +02:00

add tools.cmake

This commit is contained in:
Lars Melchior 2020-04-16 10:38:40 +02:00
parent b42b541b25
commit 18f705beed
3 changed files with 42 additions and 15 deletions

View file

@ -34,16 +34,6 @@ CPMAddPackage(
VERSION 1.0
)
CPMAddPackage(
NAME StableCoder-cmake-scripts
GITHUB_REPOSITORY StableCoder/cmake-scripts
GIT_TAG 3a469d8251660a97dbf9e0afff0a242965d40277
)
# adds support the the `USE_SANITIZER` flag
# available options are: Address, Memory, MemoryWithOrigins, Undefined, Thread, Leak, 'Address;Undefined'
include(${StableCoder-cmake-scripts_SOURCE_DIR}/sanitizers.cmake)
# ---- Create binary ----
file(GLOB sources CONFIGURE_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/source/*.cpp)