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(${ILOG_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})
53 SET(LEMON_SOURCES ${LEMON_SOURCES} soplex.cc)
54 INCLUDE_DIRECTORIES(${SOPLEX_INCLUDE_DIRS})
57 ADD_LIBRARY(lemon ${LEMON_SOURCES})
59 TARGET_LINK_LIBRARIES(lemon
60 ${GLPK_LIBRARIES} ${COIN_LIBRARIES} ${ILOG_LIBRARIES} ${SOPLEX_LIBRARIES}
64 SET_TARGET_PROPERTIES(lemon PROPERTIES OUTPUT_NAME emon VERSION ${LEMON_VERSION} SOVERSION ${LEMON_VERSION})
69 ARCHIVE DESTINATION lib
70 LIBRARY DESTINATION lib
75 DIRECTORY . bits concepts
76 DESTINATION include/lemon
78 FILES_MATCHING PATTERN "*.h"
82 FILES ${CMAKE_CURRENT_BINARY_DIR}/config.h
83 DESTINATION include/lemon
88 FILES ${CMAKE_CURRENT_BINARY_DIR}/lemon.pc
89 DESTINATION lib/pkgconfig