23 lines
575 B
CMake
23 lines
575 B
CMake
add_definitions(-DWITH_TRACE)
|
|
|
|
INCLUDE_DIRECTORIES(
|
|
${CMAKE_SOURCE_DIR}/src
|
|
${ARTIS_INCLUDE_DIRS}
|
|
${Boost_INCLUDE_DIRS})
|
|
|
|
LINK_DIRECTORIES(${ARTIS_LIBRARY_DIRS})
|
|
|
|
ADD_EXECUTABLE(test_simple test_simple.cpp)
|
|
|
|
TARGET_LINK_LIBRARIES(test_simple ${Boost_LIBRARIES} ${ARTIS_LIBRARIES} factory_core)
|
|
|
|
ADD_EXECUTABLE(test_json test_json.cpp)
|
|
|
|
TARGET_LINK_LIBRARIES(test_json ${Boost_LIBRARIES} ${ARTIS_LIBRARIES} factory_core)
|
|
|
|
ADD_EXECUTABLE(test_optim test_optim.cpp)
|
|
|
|
TARGET_LINK_LIBRARIES(test_optim ${Boost_LIBRARIES} ${ARTIS_LIBRARIES} factory_core)
|
|
|
|
|