alpar@511: INCLUDE_DIRECTORIES( ladanyi@538: ${PROJECT_SOURCE_DIR} ladanyi@538: ${PROJECT_BINARY_DIR} alpar@511: ) alpar@511: ladanyi@538: LINK_DIRECTORIES(${PROJECT_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( ladanyi@538: PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/lemon-0.x-to-1.x.sh ladanyi@538: DESTINATION bin alpar@511: COMPONENT bin) alpar@511: ENDIF(NOT WIN32)