onqtam | a985f5a | 2017-04-16 22:48:07 +0300 | [diff] [blame^] | 1 | cmake_minimum_required(VERSION 3.0) |
2 | |||||
3 | project(playground) | ||||
4 | |||||
5 | include(../cmake/common.cmake) | ||||
6 | |||||
7 | include_directories("../../doctest/") | ||||
8 | |||||
9 | doctest_add_executable(${PROJECT_NAME} main.cpp test.cpp) | ||||
10 | |||||
11 | doctest_add_test(NAME ${PROJECT_NAME} COMMAND $<TARGET_FILE:${PROJECT_NAME}>) |