blob: 77efa4c224296278808f2299725ed3ae43ec6f88 [file] [log] [blame]
onqtambc4b56c2016-05-31 18:24:00 +03001cmake_minimum_required(VERSION 2.8)
2
3get_filename_component(PROJECT_NAME ${CMAKE_CURRENT_SOURCE_DIR} NAME)
4project(${PROJECT_NAME})
5
6include(../../scripts/common.cmake)
7
8include_directories("../../doctest/")
9
10add_executable(${PROJECT_NAME} main.cpp test.cpp)
11
12add_test(NAME ${PROJECT_NAME} COMMAND $<TARGET_FILE:${PROJECT_NAME}>)