nameof_module/CMakeLists.txt

16 lines
368 B
Text
Raw Normal View History

2019-03-12 13:55:56 +00:00
cmake_minimum_required(VERSION 3.6)
2018-03-26 12:02:43 +00:00
2019-03-25 10:03:27 +00:00
project(nameof VERSION "0.7.2" LANGUAGES CXX)
2018-09-04 14:41:01 +00:00
option(NAMEOF_OPT_BUILD_EXAMPLES "Build nameof examples" ON)
option(NAMEOF_OPT_BUILD_TESTS "Build and perform nameof tests" ON)
if(NAMEOF_OPT_BUILD_EXAMPLES)
add_subdirectory(example)
endif()
2018-03-27 09:03:12 +00:00
2018-09-04 14:41:01 +00:00
if(NAMEOF_OPT_BUILD_TESTS)
enable_testing()
add_subdirectory(test)
endif()