tools/CMakeLists.txt
branch1.1
changeset 1258 bdfc038f364c
parent 596 ba659d676331
equal deleted inserted replaced
1:bced0586503b 2:429581a7b263
     1 INCLUDE_DIRECTORIES(
     1 INCLUDE_DIRECTORIES(
     2   ${PROJECT_SOURCE_DIR}
     2   ${PROJECT_SOURCE_DIR}
     3   ${PROJECT_BINARY_DIR}
     3   ${PROJECT_BINARY_DIR}
     4 )
     4 )
     5 
     5 
     6 LINK_DIRECTORIES(${PROJECT_BINARY_DIR}/lemon)
     6 LINK_DIRECTORIES(
       
     7   ${PROJECT_BINARY_DIR}/lemon
       
     8 )
     7 
     9 
     8 ADD_EXECUTABLE(lgf-gen lgf-gen.cc)
    10 ADD_EXECUTABLE(lgf-gen lgf-gen.cc)
     9 TARGET_LINK_LIBRARIES(lgf-gen lemon)
    11 TARGET_LINK_LIBRARIES(lgf-gen lemon)
    10 
    12 
    11 ADD_EXECUTABLE(dimacs-to-lgf dimacs-to-lgf.cc)
    13 ADD_EXECUTABLE(dimacs-to-lgf dimacs-to-lgf.cc)
    22 
    24 
    23 IF(NOT WIN32)
    25 IF(NOT WIN32)
    24   INSTALL(
    26   INSTALL(
    25     PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/lemon-0.x-to-1.x.sh
    27     PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/lemon-0.x-to-1.x.sh
    26     DESTINATION bin
    28     DESTINATION bin
    27     COMPONENT bin)
    29     COMPONENT bin
    28 ENDIF(NOT WIN32)
    30   )
       
    31 ENDIF()