7 ${CMAKE_CURRENT_SOURCE_DIR}/config.h.in
8 ${CMAKE_CURRENT_BINARY_DIR}/config.h
12 ${CMAKE_CURRENT_SOURCE_DIR}/lemon.pc.in
13 ${CMAKE_CURRENT_BINARY_DIR}/lemon.pc
28 SET(LEMON_SOURCES ${LEMON_SOURCES} glpk.cc)
29 INCLUDE_DIRECTORIES(${GLPK_INCLUDE_DIRS})
31 INSTALL(FILES ${GLPK_BIN_DIR}/glpk.dll DESTINATION bin)
32 INSTALL(FILES ${GLPK_BIN_DIR}/libltdl3.dll DESTINATION bin)
33 INSTALL(FILES ${GLPK_BIN_DIR}/zlib1.dll DESTINATION bin)
38 SET(LEMON_SOURCES ${LEMON_SOURCES} cplex.cc)
39 INCLUDE_DIRECTORIES(${CPLEX_INCLUDE_DIRS})
43 SET(LEMON_SOURCES ${LEMON_SOURCES} clp.cc)
44 INCLUDE_DIRECTORIES(${COIN_INCLUDE_DIRS})
48 SET(LEMON_SOURCES ${LEMON_SOURCES} cbc.cc)
49 INCLUDE_DIRECTORIES(${COIN_INCLUDE_DIRS})
52 ADD_LIBRARY(lemon ${LEMON_SOURCES})
54 SET_TARGET_PROPERTIES(lemon PROPERTIES OUTPUT_NAME emon)
59 ARCHIVE DESTINATION lib
60 LIBRARY DESTINATION lib
65 DIRECTORY . bits concepts
66 DESTINATION include/lemon
68 FILES_MATCHING PATTERN "*.h"
72 FILES ${CMAKE_CURRENT_BINARY_DIR}/config.h
73 DESTINATION include/lemon
78 FILES ${CMAKE_CURRENT_BINARY_DIR}/lemon.pc
79 DESTINATION lib/pkgconfig