This commit is contained in:
2026-01-16 17:26:24 +07:00
parent b7a7a60b7b
commit b6c387dd0f
3 changed files with 7 additions and 10 deletions

View File

@@ -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()