update
This commit is contained in:
@@ -143,10 +143,10 @@ else()
|
||||
message(STATUS "=================================")
|
||||
endif()
|
||||
|
||||
# ========================================================
|
||||
# Test executables
|
||||
# ========================================================
|
||||
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/test/main.cpp)
|
||||
add_executable(${PROJECT_NAME}_test test/main.cpp)
|
||||
target_link_libraries(${PROJECT_NAME}_test PRIVATE ${PROJECT_NAME})
|
||||
endif()
|
||||
# # ========================================================
|
||||
# # Test executables
|
||||
# # ========================================================
|
||||
# if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/test/main.cpp)
|
||||
# add_executable(${PROJECT_NAME}_test test/main.cpp)
|
||||
# target_link_libraries(${PROJECT_NAME}_test PRIVATE ${PROJECT_NAME})
|
||||
# endif()
|
||||
|
||||
Reference in New Issue
Block a user