tools/CMakeLists.txt
author Balazs Dezso <deba@inf.elte.hu>
Thu, 24 Jun 2010 09:27:53 +0200
changeset 732 bb70ad62c95f
parent 538 ba659d676331
permissions -rw-r--r--
Fix critical bug in preflow (#372)

The wrong transition between the bound decrease and highest active
heuristics caused the bug. The last node chosen in bound decrease mode
is used in the first iteration in highest active mode.
alpar@511
     1
INCLUDE_DIRECTORIES(
ladanyi@538
     2
  ${PROJECT_SOURCE_DIR}
ladanyi@538
     3
  ${PROJECT_BINARY_DIR}
alpar@511
     4
)
alpar@511
     5
ladanyi@681
     6
LINK_DIRECTORIES(
ladanyi@681
     7
  ${PROJECT_BINARY_DIR}/lemon
ladanyi@681
     8
)
alpar@511
     9
alpar@511
    10
ADD_EXECUTABLE(lgf-gen lgf-gen.cc)
alpar@511
    11
TARGET_LINK_LIBRARIES(lgf-gen lemon)
alpar@511
    12
alpar@511
    13
ADD_EXECUTABLE(dimacs-to-lgf dimacs-to-lgf.cc)
alpar@511
    14
TARGET_LINK_LIBRARIES(dimacs-to-lgf lemon)
alpar@511
    15
alpar@511
    16
ADD_EXECUTABLE(dimacs-solver dimacs-solver.cc)
alpar@511
    17
TARGET_LINK_LIBRARIES(dimacs-solver lemon)
alpar@511
    18
alpar@511
    19
INSTALL(
alpar@511
    20
  TARGETS lgf-gen dimacs-to-lgf dimacs-solver
alpar@511
    21
  RUNTIME DESTINATION bin
alpar@511
    22
  COMPONENT bin
alpar@511
    23
)
alpar@511
    24
alpar@511
    25
IF(NOT WIN32)
alpar@511
    26
  INSTALL(
ladanyi@538
    27
    PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/lemon-0.x-to-1.x.sh
ladanyi@538
    28
    DESTINATION bin
ladanyi@681
    29
    COMPONENT bin
ladanyi@681
    30
  )
ladanyi@681
    31
ENDIF()