author | Alpar Juttner <alpar@cs.elte.hu> |
Mon, 05 Aug 2013 14:21:58 +0200 | |
changeset 1075 | 218171dc022d |
parent 549 | ba659d676331 |
permissions | -rw-r--r-- |
alpar@527 | 1 |
INCLUDE_DIRECTORIES( |
ladanyi@549 | 2 |
${PROJECT_SOURCE_DIR} |
ladanyi@549 | 3 |
${PROJECT_BINARY_DIR} |
alpar@527 | 4 |
) |
alpar@527 | 5 |
|
ladanyi@679 | 6 |
LINK_DIRECTORIES( |
ladanyi@679 | 7 |
${PROJECT_BINARY_DIR}/lemon |
ladanyi@679 | 8 |
) |
alpar@527 | 9 |
|
alpar@527 | 10 |
ADD_EXECUTABLE(lgf-gen lgf-gen.cc) |
alpar@527 | 11 |
TARGET_LINK_LIBRARIES(lgf-gen lemon) |
alpar@527 | 12 |
|
alpar@527 | 13 |
ADD_EXECUTABLE(dimacs-to-lgf dimacs-to-lgf.cc) |
alpar@527 | 14 |
TARGET_LINK_LIBRARIES(dimacs-to-lgf lemon) |
alpar@527 | 15 |
|
alpar@527 | 16 |
ADD_EXECUTABLE(dimacs-solver dimacs-solver.cc) |
alpar@527 | 17 |
TARGET_LINK_LIBRARIES(dimacs-solver lemon) |
alpar@527 | 18 |
|
alpar@527 | 19 |
INSTALL( |
alpar@527 | 20 |
TARGETS lgf-gen dimacs-to-lgf dimacs-solver |
alpar@527 | 21 |
RUNTIME DESTINATION bin |
alpar@527 | 22 |
COMPONENT bin |
alpar@527 | 23 |
) |
alpar@527 | 24 |
|
alpar@527 | 25 |
IF(NOT WIN32) |
alpar@527 | 26 |
INSTALL( |
ladanyi@549 | 27 |
PROGRAMS ${CMAKE_CURRENT_SOURCE_DIR}/lemon-0.x-to-1.x.sh |
ladanyi@549 | 28 |
DESTINATION bin |
ladanyi@679 | 29 |
COMPONENT bin |
ladanyi@679 | 30 |
) |
ladanyi@679 | 31 |
ENDIF() |