From ccb99fc166b15c2ab8efb202a2cf74e9fd38e636 Mon Sep 17 00:00:00 2001 From: Denis Blank Date: Wed, 12 Oct 2016 23:36:42 +0200 Subject: [PATCH] test --- CMakeLists.txt | 3 +++ incubator.cpp | 0 2 files changed, 3 insertions(+) create mode 100644 incubator.cpp diff --git a/CMakeLists.txt b/CMakeLists.txt index dbf0e84..eff90ea 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -26,6 +26,9 @@ target_compile_features(continuable # Set up the test environment for testing if (CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR) + add_executable(incubator "${CMAKE_CURRENT_LIST_DIR}/incubator.cpp") + target_link_libraries(incubator continuable) + if (MSVC) set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) string(REGEX REPLACE "/W[0-4]" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}") diff --git a/incubator.cpp b/incubator.cpp new file mode 100644 index 0000000..e69de29