COIN-OR::LEMON - Graph Library

source: lemon-1.2/demo/CMakeLists.txt @ 643:f3792d5bb294

Last change on this file since 643:f3792d5bb294 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
RevLine 
[473]1INCLUDE_DIRECTORIES(
[549]2  ${PROJECT_SOURCE_DIR}
3  ${PROJECT_BINARY_DIR}
[473]4)
[141]5
[549]6LINK_DIRECTORIES(${PROJECT_BINARY_DIR}/lemon)
[141]7
[225]8SET(DEMOS
[141]9  arg_parser_demo
10  graph_to_eps_demo
11  lgf_demo)
12
[225]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.