COIN-OR::LEMON - Graph Library

source: lemon-main/demo/CMakeLists.txt @ 609:e6927fe719e6

Last change on this file since 609:e6927fe719e6 was 474:f59df77f5c8d, checked in by Akos Ladanyi <ladanyi@…>, 16 years ago

Fix CMAKE build without GLPK

File size: 315 bytes
Line 
1INCLUDE_DIRECTORIES(
2  ${CMAKE_SOURCE_DIR}
3  ${CMAKE_BINARY_DIR}
4)
5
6LINK_DIRECTORIES(${CMAKE_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.