COIN-OR::LEMON - Graph Library

source: lemon-main/demo/CMakeLists.txt @ 642:111698359429

Last change on this file since 642:111698359429 was 549:ba659d676331, checked in by Akos Ladanyi <ladanyi@…>, 16 years ago

Make it possible to use LEMON as a CMake subproject (#240)

File size: 321 bytes
Line 
1INCLUDE_DIRECTORIES(
2  ${PROJECT_SOURCE_DIR}
3  ${PROJECT_BINARY_DIR}
4)
5
6LINK_DIRECTORIES(${PROJECT_BINARY_DIR}/lemon)
7
8SET(DEMOS
9  arg_parser_demo
10  graph_to_eps_demo
11  lgf_demo)
12
13FOREACH(DEMO_NAME ${DEMOS})
14  ADD_EXECUTABLE(${DEMO_NAME} ${DEMO_NAME}.cc)
15  TARGET_LINK_LIBRARIES(${DEMO_NAME} lemon)
16ENDFOREACH(DEMO_NAME)
Note: See TracBrowser for help on using the repository browser.