COIN-OR::LEMON - Graph Library

source: lemon-1.2/demo/CMakeLists.txt @ 473:17d918051964

Last change on this file since 473:17d918051964 was 473:17d918051964, checked in by Akos Ladanyi <ladanyi@…>, 16 years ago

Build GLPK dependent parts with CMake too

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