Skip to content

Commit

Permalink
Update aur_poc
Browse files Browse the repository at this point in the history
  • Loading branch information
buck-yeh committed Oct 2, 2021
1 parent 725b5cb commit 3fe1ea4
Showing 1 changed file with 24 additions and 2 deletions.
26 changes: 24 additions & 2 deletions test/archlinux/aur_poc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,28 @@ catch_discover_tests(test_PO)
add_test(NAME test_PO_All COMMAND test_PO)

add_executable(test_atomix test_atomix.cpp)
target_link_libraries(test_atomix PRIVATE bux stdc++ m)
catch_discover_tests(test_atomix)
target_include_directories(test_atomix PRIVATE ../include)
if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
target_link_libraries(test_atomix PRIVATE bux fmt::fmt)
else()
target_link_libraries(test_atomix PRIVATE bux fmt stdc++ m)
endif()
add_test(NAME test_atomix_All COMMAND test_atomix)

add_executable(test_logger test_logger.cpp)
target_include_directories(test_logger PRIVATE ../include)
if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
target_link_libraries(test_logger PRIVATE bux fmt::fmt)
else()
target_link_libraries(test_logger PRIVATE bux fmt stdc++ pthread)
endif()
add_test(NAME test_logger_All COMMAND test_logger)

add_executable(test_paralog test_paralog.cpp)
target_include_directories(test_paralog PRIVATE ../include)
if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
target_link_libraries(test_paralog PRIVATE bux fmt::fmt)
else()
target_link_libraries(test_paralog PRIVATE bux fmt stdc++ pthread)
endif()
add_test(NAME test_paralog_All COMMAND test_paralog)

0 comments on commit 3fe1ea4

Please sign in to comment.