demo/CMakeLists.txt
author Balazs Dezso <deba@inf.elte.hu>
Sun, 20 Sep 2009 21:38:24 +0200
changeset 868 0513ccfea967
parent 627 20dac2104519
permissions -rw-r--r--
General improvements in weighted matching algorithms (#314)

- Fix include guard
- Uniform handling of MATCHED and UNMATCHED blossoms
- Prefer operations which decrease the number of trees
- Fix improper use of '/='

The solved problems did not cause wrong solution.
ladanyi@510
     1
INCLUDE_DIRECTORIES(
ladanyi@549
     2
  ${PROJECT_SOURCE_DIR}
ladanyi@510
     3
  ${PROJECT_BINARY_DIR}
ladanyi@510
     4
)
ladanyi@141
     5
ladanyi@679
     6
LINK_DIRECTORIES(
ladanyi@679
     7
  ${PROJECT_BINARY_DIR}/lemon
ladanyi@679
     8
)
ladanyi@141
     9
alpar@225
    10
SET(DEMOS
ladanyi@141
    11
  arg_parser_demo
ladanyi@141
    12
  graph_to_eps_demo
ladanyi@679
    13
  lgf_demo
ladanyi@679
    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@679
    19
ENDFOREACH()