mirror of
https://github.com/CrowCpp/Crow.git
synced 2024-06-07 21:10:44 +00:00
18 lines
369 B
CMake
18 lines
369 B
CMake
|
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")
|