mstch/CMakeLists.txt
2015-04-13 16:35:12 +02:00

9 lines
280 B
CMake

cmake_minimum_required(VERSION 2.8)
project(mstch)
option (WITH_UNIT_TESTS "enable building unit test executable" OFF)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -O3")
add_subdirectory(src)
if(WITH_UNIT_TESTS)
enable_testing()
add_subdirectory(test)
endif()