further writing CMakeLists.txt

This commit is contained in:
2024-04-15 06:49:08 +00:00
parent 6345d01a1b
commit f6ae4c9f66
4 changed files with 51 additions and 7 deletions

View File

@ -1,8 +1,5 @@
if(TEST_BPT_ONLY)
if(OJ_TEST_BPT)
add_executable(code oj_test_interface_for_bpt.cpp)
target_link_libraries(code argparse)
set_target_properties(code PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
else()
add_executable(oj_test_interface_for_bpt oj_test_interface_for_bpt.cpp)
target_link_libraries(oj_test_interface_for_bpt argparse)
endif()