demo/CMakeLists.txt
author Balazs Dezso <deba@inf.elte.hu>
Wed, 02 Jul 2008 10:37:14 +0200
changeset 186 9159de5e9657
child 225 c5a40fc54f1a
permissions -rw-r--r--
Improvments in map name handling

- The label map is not necessary
- If the item set is empty and no map is read, then the map name line can
be ommited
ladanyi@141
     1
include_directories (${LEMON_SOURCE_DIR})
ladanyi@141
     2
ladanyi@141
     3
link_directories (${LEMON_BINARY_DIR}/lemon)
ladanyi@141
     4
ladanyi@141
     5
set (DEMOS
ladanyi@141
     6
  arg_parser_demo
ladanyi@141
     7
  graph_to_eps_demo
ladanyi@141
     8
  lgf_demo)
ladanyi@141
     9
ladanyi@141
    10
foreach (DEMO_NAME ${DEMOS})
ladanyi@141
    11
  add_executable (${DEMO_NAME} ${DEMO_NAME}.cc)
ladanyi@141
    12
  target_link_libraries (${DEMO_NAME} lemon)
ladanyi@141
    13
  endforeach (DEMO_NAME)