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