nameof_module/CMakeLists.txt
2019-03-22 15:09:13 +05:00

15 lines
368 B
CMake

cmake_minimum_required(VERSION 3.6)
project(nameof VERSION "0.6.2" LANGUAGES CXX)
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()
if(NAMEOF_OPT_BUILD_TESTS)
enable_testing()
add_subdirectory(test)
endif()