kima2/test/CMakeLists.txt

10 lines
467 B
CMake
Raw Normal View History

2018-07-09 16:56:06 +02:00
find_package(Boost COMPONENTS filesystem unit_test_framework REQUIRED)
2018-07-09 21:43:08 +02:00
add_executable(sellertest test_seller.cpp)
target_link_libraries(sellertest core Boost::boost Boost::filesystem Boost::unit_test_framework)
add_test(Seller ${CMAKE_BINARY_DIR}/bin/sellertest)
2018-07-09 21:43:08 +02:00
add_executable(databasetest test_database.cpp)
target_link_libraries(databasetest core Boost::boost Boost::filesystem Boost::unit_test_framework)
add_test(Database ${CMAKE_BINARY_DIR}/bin/databasetest)