Crow/tests/CMakeLists.txt

18 lines
369 B
CMake
Raw Normal View History

2014-08-06 16:18:33 +00:00
cmake_minimum_required(VERSION 2.8)
project (crow_test)
set(PROJECT_INCLUDE_DIR
${PROJECT_SOURCE_DIR}/include
${PROJECT_SOURCE_DIR}/http-parser
)
set(TEST_SRCS
unittest.cpp
)
add_executable(test ${TEST_SRCS})
target_link_libraries(test crow)
target_link_libraries( test ${Boost_LIBRARIES} )
set_target_properties(test PROPERTIES COMPILE_FLAGS "-Wall -std=c++1y")