File tree Expand file tree Collapse file tree 3 files changed +15
-1
lines changed
Expand file tree Collapse file tree 3 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -3,4 +3,11 @@ add_subdirectory(controller)
33add_library (rest)
44target_sources (rest PRIVATE server.cpp)
55target_include_directories (rest INTERFACE ..)
6+
7+ target_compile_definitions (rest PRIVATE BOOST_ALL_NO_LIB)
8+
9+ if (WIN32 )
10+ target_compile_definitions (rest PRIVATE _WIN32_WINNT=0x0601)
11+ endif ()
12+
613target_link_libraries (rest PUBLIC controller)
Original file line number Diff line number Diff line change 44#include < string>
55#include < utility>
66#include < vector>
7+ #include < chrono>
78
89class PricePlan {
910 // todo:
Original file line number Diff line number Diff line change 1+ add_definitions (-DBOOST_ALL_NO_LIB)
2+
3+ if (WIN32 )
4+ add_definitions (-D_WIN32_WINNT=0x0601)
5+ endif ()
6+
17add_executable (endpoint_test)
28target_sources (endpoint_test PRIVATE ReadingTest.cpp)
39find_package (GTest REQUIRED)
@@ -19,4 +25,4 @@ target_link_libraries(service_test PRIVATE GTest::gmock_main rest)
1925add_test (endpoint_test endpoint_test)
2026add_test (controller_test controller_test)
2127add_test (domain_test domain_test)
22- add_test (service_test service_test)
28+ add_test (service_test service_test)
You can’t perform that action at this time.
0 commit comments