Now supports MSYS2, and parse_test compile with g++-5.2.
This commit is contained in:
parent
d3e0c80e18
commit
9a708dc7a0
3 changed files with 14 additions and 11 deletions
|
|
@ -1,4 +1,11 @@
|
|||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-access-control")
|
||||
|
||||
add_executable(parse_test parse_test.cpp)
|
||||
target_link_libraries(parse_test ${Boost_LIBRARIES})
|
||||
target_link_libraries(parse_test ${CMAKE_THREAD_LIBS_INIT})
|
||||
|
||||
if(MSYS)
|
||||
target_link_libraries(parse_test ws2_32 wsock32)
|
||||
endif()
|
||||
|
||||
add_test(parse_test parse_test)
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
#define private public
|
||||
|
||||
#include "server_http.hpp"
|
||||
#include "client_http.hpp"
|
||||
#include <iostream>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue