libcron/test/CMakeLists.txt
2018-03-08 14:21:26 -08:00

19 lines
392 B
CMake

cmake_minimum_required(VERSION 3.6)
project(cron_test)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wpedantic -fsanitize=address -lasan")
add_definitions(-DEXPOSE_PRIVATE_PARTS)
include_directories(
externals/Catch2/single_include/
..
)
add_executable(
${PROJECT_NAME}
test.cpp
)
target_link_libraries(${PROJECT_NAME} libcron)