markov-generator/CMakeLists.txt

17 lines
366 B
CMake
Raw Normal View History

2023-11-14 14:34:06 -06:00
cmake_minimum_required(VERSION 3.10)
project(
2023-11-14 14:36:09 -06:00
markov
2023-11-14 14:34:06 -06:00
LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 11 CACHE STRING "The C++ standard to use")
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
add_subdirectory(src)
if("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
add_subdirectory(test)
endif()