Now supports MSYS2, and parse_test compile with g++-5.2.

This commit is contained in:
U-ole-PC\ole 2015-09-29 15:19:59 +02:00
commit 9a708dc7a0
3 changed files with 14 additions and 11 deletions

View file

@ -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)

View file

@ -1,5 +1,3 @@
#define private public
#include "server_http.hpp"
#include "client_http.hpp"
#include <iostream>