demo/CMakeLists.txt
author Peter Kovacs <kpeter@inf.elte.hu>
Mon, 28 Sep 2009 12:48:44 +0200
changeset 786 32baeb8e5c8f
parent 674 20dac2104519
permissions -rw-r--r--
Modify the implementation of ListDigraph::ArcIt (#311)

The new implementation is based on out-arc iteration (like
ListGraph::ArcIt) instead of in-arc iteration to make it
consistent with the documentation.
ladanyi@539
     1
INCLUDE_DIRECTORIES(
ladanyi@596
     2
  ${PROJECT_SOURCE_DIR}
ladanyi@539
     3
  ${PROJECT_BINARY_DIR}
ladanyi@539
     4
)
ladanyi@141
     5
ladanyi@726
     6
LINK_DIRECTORIES(
ladanyi@726
     7
  ${PROJECT_BINARY_DIR}/lemon
ladanyi@726
     8
)
ladanyi@141
     9
alpar@225
    10
SET(DEMOS
ladanyi@141
    11
  arg_parser_demo
ladanyi@141
    12
  graph_to_eps_demo
ladanyi@726
    13
  lgf_demo
ladanyi@726
    14
)
ladanyi@141
    15
alpar@225
    16
FOREACH(DEMO_NAME ${DEMOS})
alpar@225
    17
  ADD_EXECUTABLE(${DEMO_NAME} ${DEMO_NAME}.cc)
alpar@225
    18
  TARGET_LINK_LIBRARIES(${DEMO_NAME} lemon)
ladanyi@726
    19
ENDFOREACH()