create db with sellers and articles

This commit is contained in:
Martin Brodbeck 2018-07-10 14:12:37 +02:00
parent 79d96c22bc
commit 9705426c31
4 changed files with 51 additions and 8 deletions

View file

@ -1,9 +1,9 @@
find_package(Boost COMPONENTS filesystem unit_test_framework REQUIRED)
find_package(Boost COMPONENTS unit_test_framework REQUIRED)
add_executable(test_seller test_seller.cpp)
target_link_libraries(test_seller core Boost::unit_test_framework)
add_test(Seller ${CMAKE_BINARY_DIR}/bin/test_seller)
add_executable(test_database test_database.cpp)
target_link_libraries(test_database core Boost::filesystem Boost::unit_test_framework)
target_link_libraries(test_database core Boost::unit_test_framework stdc++fs)
add_test(Database ${CMAKE_BINARY_DIR}/bin/test_database)