tools/CMakeLists.txt
changeset 783 ef88c0a30f85
parent 549 ba659d676331
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tools/CMakeLists.txt	Thu Nov 05 15:48:01 2009 +0100
     1.3 @@ -0,0 +1,31 @@
     1.4 +INCLUDE_DIRECTORIES(
     1.5 +  ${PROJECT_SOURCE_DIR}
     1.6 +  ${PROJECT_BINARY_DIR}
     1.7 +)
     1.8 +
     1.9 +LINK_DIRECTORIES(
    1.10 +  ${PROJECT_BINARY_DIR}/lemon
    1.11 +)
    1.12 +
    1.13 +ADD_EXECUTABLE(lgf-gen lgf-gen.cc)
    1.14 +TARGET_LINK_LIBRARIES(lgf-gen lemon)
    1.15 +
    1.16 +ADD_EXECUTABLE(dimacs-to-lgf dimacs-to-lgf.cc)
    1.17 +TARGET_LINK_LIBRARIES(dimacs-to-lgf lemon)
    1.18 +
    1.19 +ADD_EXECUTABLE(dimacs-solver dimacs-solver.cc)
    1.20 +TARGET_LINK_LIBRARIES(dimacs-solver lemon)
    1.21 +
    1.22 +INSTALL(
    1.23 +  TARGETS lgf-gen dimacs-to-lgf dimacs-solver
    1.24 +  RUNTIME DESTINATION bin
    1.25 +  COMPONENT bin
    1.26 +)
    1.27 +
    1.28 +IF(NOT WIN32)
    1.29 +  INSTALL(
    1.30 +    PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/lemon-0.x-to-1.x.sh
    1.31 +    DESTINATION bin
    1.32 +    COMPONENT bin
    1.33 +  )
    1.34 +ENDIF()