alpar@511: INCLUDE_DIRECTORIES( alpar@511: ${CMAKE_SOURCE_DIR} alpar@511: ${CMAKE_BINARY_DIR} alpar@511: ) alpar@511: alpar@511: LINK_DIRECTORIES(${CMAKE_BINARY_DIR}/lemon) alpar@511: alpar@511: ADD_EXECUTABLE(lgf-gen lgf-gen.cc) alpar@511: TARGET_LINK_LIBRARIES(lgf-gen lemon) alpar@511: alpar@511: ADD_EXECUTABLE(dimacs-to-lgf dimacs-to-lgf.cc) alpar@511: TARGET_LINK_LIBRARIES(dimacs-to-lgf lemon) alpar@511: alpar@511: ADD_EXECUTABLE(dimacs-solver dimacs-solver.cc) alpar@511: TARGET_LINK_LIBRARIES(dimacs-solver lemon) alpar@511: alpar@511: INSTALL( alpar@511: TARGETS lgf-gen dimacs-to-lgf dimacs-solver alpar@511: RUNTIME DESTINATION bin alpar@511: COMPONENT bin alpar@511: ) alpar@511: alpar@511: IF(NOT WIN32) alpar@511: INSTALL( alpar@511: FILES ${CMAKE_CURRENT_SOURCE_DIR}/lemon-0.x-to-1.x.sh alpar@511: RUNTIME DESTINATION bin alpar@511: COMPONENT bin) alpar@511: ENDIF(NOT WIN32)