mirror of
https://github.com/Naios/continuable.git
synced 2026-11-09 14:50:10 +08:00
test
This commit is contained in:
parent
867801d202
commit
ccb99fc166
@ -26,6 +26,9 @@ target_compile_features(continuable
|
|||||||
|
|
||||||
# Set up the test environment for testing
|
# Set up the test environment for testing
|
||||||
if (CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_SOURCE_DIR)
|
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)
|
if (MSVC)
|
||||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
|
||||||
string(REGEX REPLACE "/W[0-4]" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
|
string(REGEX REPLACE "/W[0-4]" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
|
||||||
|
|||||||
0
incubator.cpp
Normal file
0
incubator.cpp
Normal file
Loading…
x
Reference in New Issue
Block a user