tools/CMakeLists.txt
author Peter Kovacs <kpeter@inf.elte.hu>
Thu, 23 Jul 2009 18:09:41 +0200
changeset 684 7b1a6e963018
parent 538 ba659d676331
permissions -rw-r--r--
Fix the implementation and doc of CrossRefMap (#302)

- Handle multiple values correctly with std::multimap.
- Clarify the problematic points in the doc.
- Add some basic tests for the class.
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()