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