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