demo/CMakeLists.txt
author Alpar Juttner <alpar@cs.elte.hu>
Wed, 03 Mar 2010 16:00:08 +0000
branch1.1
changeset 719 7bf1117178af
parent 622 20dac2104519
permissions -rw-r--r--
Merge bugfixes #323 to branch 1.1
ladanyi@620
     1
INCLUDE_DIRECTORIES(
ladanyi@538
     2
  ${PROJECT_SOURCE_DIR}
ladanyi@620
     3
  ${PROJECT_BINARY_DIR}
ladanyi@620
     4
)
ladanyi@141
     5
ladanyi@681
     6
LINK_DIRECTORIES(
ladanyi@681
     7
  ${PROJECT_BINARY_DIR}/lemon
ladanyi@681
     8
)
ladanyi@141
     9
alpar@225
    10
SET(DEMOS
ladanyi@141
    11
  arg_parser_demo
ladanyi@141
    12
  graph_to_eps_demo
ladanyi@681
    13
  lgf_demo
ladanyi@681
    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@681
    19
ENDFOREACH()