11 lines
322 B
CMake
11 lines
322 B
CMake
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)
|