Changeset 496:17d918051964 in lemon for lemon/CMakeLists.txt
- Timestamp:
- 01/20/09 13:23:14 (16 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/CMakeLists.txt
r482 r496 1 INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}) 1 INCLUDE_DIRECTORIES( 2 ${CMAKE_SOURCE_DIR} 3 ${CMAKE_BINARY_DIR} 4 ${GLPK_INCLUDE_DIR} 5 ) 2 6 3 ADD_LIBRARY(lemon 7 CONFIGURE_FILE( 8 ${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake 9 ${CMAKE_CURRENT_BINARY_DIR}/config.h 10 ) 11 12 SET(LEMON_SOURCES 4 13 arg_parser.cc 5 14 base.cc 6 15 color.cc 16 lp_base.cc 17 lp_skeleton.cc 7 18 random.cc) 19 20 IF(HAVE_GLPK) 21 SET(LEMON_SOURCES ${LEMON_SOURCES} glpk.cc) 22 ENDIF(HAVE_GLPK) 23 24 ADD_LIBRARY(lemon ${LEMON_SOURCES}) 8 25 9 26 INSTALL( … … 17 34 COMPONENT headers 18 35 FILES_MATCHING PATTERN "*.h") 36 37 IF(WIN32) 38 INSTALL(FILES ${GLPK_BIN_DIR}/glpk.dll DESTINATION bin) 39 INSTALL(FILES ${GLPK_BIN_DIR}/libltdl3.dll DESTINATION bin) 40 INSTALL(FILES ${GLPK_BIN_DIR}/zlib1.dll DESTINATION bin) 41 ENDIF(WIN32)
Note: See TracChangeset
for help on using the changeset viewer.