We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd4e065 commit bca31c9Copy full SHA for bca31c9
CMakeLists.txt
@@ -43,12 +43,14 @@ target_include_directories(
43
$<INSTALL_INTERFACE:include/${PROJECT_NAME}-${PROJECT_VERSION}>
44
)
45
46
+option(mallocMC_BUILD_TESTING "Turn on/off building the tests" OFF)
47
if(mallocMC_BUILD_TESTING)
48
include(${CMAKE_CURRENT_LIST_DIR}/cmake/tools.cmake)
49
enable_testing()
50
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/test ${CMAKE_BINARY_DIR}/test)
51
endif()
52
53
+option(mallocMC_BUILD_EXAMPLES "Turn on/off building the examples" OFF)
54
if(mallocMC_BUILD_EXAMPLES)
55
56
add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/examples ${CMAKE_BINARY_DIR}/examples)
0 commit comments