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