set up CMakeLists.txt
This commit is contained in:
8
test/CMakeLists.txt
Normal file
8
test/CMakeLists.txt
Normal file
@ -0,0 +1,8 @@
|
||||
if(TEST_BPT_ONLY)
|
||||
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()
|
5
test/oj_test_interface_for_bpt.cpp
Normal file
5
test/oj_test_interface_for_bpt.cpp
Normal file
@ -0,0 +1,5 @@
|
||||
#include <argparse/argparse.hpp>
|
||||
int main()
|
||||
{
|
||||
return 0;
|
||||
}
|
Reference in New Issue
Block a user