Changeset 675:c5dc4d3124aa in lemon-main
- Timestamp:
- 05/27/09 21:12:08 (16 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
CMakeLists.txt
r671 r675 30 30 ADD_SUBDIRECTORY(test) 31 31 ENDIF(${CMAKE_SOURCE_DIR} STREQUAL ${PROJECT_SOURCE_DIR}) 32 33 CONFIGURE_FILE( 34 ${PROJECT_SOURCE_DIR}/cmake/LEMONConfig.cmake.in 35 ${PROJECT_BINARY_DIR}/cmake/LEMONConfig.cmake 36 @ONLY 37 ) 38 IF(UNIX) 39 INSTALL( 40 FILES ${PROJECT_BINARY_DIR}/cmake/LEMONConfig.cmake 41 DESTINATION share/lemon/cmake 42 ) 43 ELSEIF(WIN32) 44 INSTALL( 45 FILES ${PROJECT_BINARY_DIR}/cmake/LEMONConfig.cmake 46 DESTINATION cmake 47 ) 48 ENDIF(UNIX) 32 49 33 50 IF(${CMAKE_SOURCE_DIR} STREQUAL ${PROJECT_SOURCE_DIR}) -
lemon/CMakeLists.txt
r627 r675 45 45 46 46 ADD_LIBRARY(lemon ${LEMON_SOURCES}) 47 IF(UNIX) 48 SET_TARGET_PROPERTIES(lemon PROPERTIES OUTPUT_NAME emon) 49 ENDIF(UNIX) 47 50 48 51 INSTALL( 49 52 TARGETS lemon 50 53 ARCHIVE DESTINATION lib 51 COMPONENT library) 54 COMPONENT library 55 ) 52 56 53 57 INSTALL( … … 55 59 DESTINATION include/lemon 56 60 COMPONENT headers 57 FILES_MATCHING PATTERN "*.h") 61 FILES_MATCHING PATTERN "*.h" 62 ) 58 63 59 64 INSTALL( 60 65 FILES ${CMAKE_CURRENT_BINARY_DIR}/config.h 61 66 DESTINATION include/lemon 62 COMPONENT headers) 67 COMPONENT headers 68 )
Note: See TracChangeset
for help on using the changeset viewer.