COIN-OR::LEMON - Graph Library

source: lemon-main/tools/CMakeLists.txt @ 527:c458e02723b1

Last change on this file since 527:c458e02723b1 was 527:c458e02723b1, checked in by Alpar Juttner <alpar@…>, 16 years ago

CMAKE builds the tools/ dir, too (#228)

File size: 615 bytes
Line 
1INCLUDE_DIRECTORIES(
2  ${CMAKE_SOURCE_DIR}
3  ${CMAKE_BINARY_DIR}
4)
5
6LINK_DIRECTORIES(${CMAKE_BINARY_DIR}/lemon)
7
8ADD_EXECUTABLE(lgf-gen lgf-gen.cc)
9TARGET_LINK_LIBRARIES(lgf-gen lemon)
10
11ADD_EXECUTABLE(dimacs-to-lgf dimacs-to-lgf.cc)
12TARGET_LINK_LIBRARIES(dimacs-to-lgf lemon)
13
14ADD_EXECUTABLE(dimacs-solver dimacs-solver.cc)
15TARGET_LINK_LIBRARIES(dimacs-solver lemon)
16
17INSTALL(
18  TARGETS lgf-gen dimacs-to-lgf dimacs-solver
19  RUNTIME DESTINATION bin
20  COMPONENT bin
21)
22
23IF(NOT WIN32)
24  INSTALL(
25    FILES ${CMAKE_CURRENT_SOURCE_DIR}/lemon-0.x-to-1.x.sh
26    RUNTIME DESTINATION bin
27    COMPONENT bin)
28ENDIF(NOT WIN32)
Note: See TracBrowser for help on using the repository browser.