Changeset 8:dda9b6665fde in lemon-project-template-glpk
- Timestamp:
- 03/22/11 20:26:58 (14 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
CMakeLists.txt
r7 r8 17 17 18 18 SET(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake) 19 20 IF(UNIX) 21 SET(INSTALL_BIN_DIR "bin" CACHE STRING 22 "Subdir for installing the binaries") 23 SET(INSTALL_DOC_DIR "share/doc/${PROJECT_NAME}" 24 CACHE STRING 25 "Subdir for installing the doc") 26 SET(INSTALL_DATA_DIR "share/data/${PROJECT_NAME}" 27 CACHE STRING 28 "Subdir for installing the map data") 29 SET(INSTALL_EXAMPLES_DIR "share/doc/${PROJECT_NAME}/examples" 30 CACHE STRING 31 "Subdir for installing the examples") 32 ELSE(UNIX) 33 SET(INSTALL_BIN_DIR "." CACHE STRING 34 "Subdir for installing the binaries") 35 SET(INSTALL_DOC_DIR "doc" CACHE STRING 36 "Subdir for installing the doc") 37 SET(INSTALL_DATA_DIR "data" CACHE STRING 38 "Subdir for installing the map data") 39 SET(INSTALL_EXAMPLES_DIR "examples" CACHE STRING 40 "Subdir for installing the examples") 41 ENDIF(UNIX) 19 42 20 43 ## The next part looks for LEMON. Typically, you don't want to modify it. … … 62 85 ) 63 86 87 IF(CMAKE_COMPILER_IS_GNUCXX) 88 SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall") 89 SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall") 90 ENDIF(CMAKE_COMPILER_IS_GNUCXX) 64 91 ADD_SUBDIRECTORY(src) 65 92 … … 105 132 ## - CPACK_PACKAGE_ICON 106 133 ## - CPACK_NSIS_INSTALLED_ICON_NAME 107 ## 134 ## 108 135 ## and/or the files they point to. 109 136 ####################################################################### … … 121 148 "${PROJECT_NAME}") 122 149 SET(CPACK_PACKAGE_INSTALL_REGISTRY_KEY 123 "${PROJECT_NAME} ")150 "${PROJECT_NAME} ${PROJECT_VERSION}") 124 151 125 SET(CPACK_COMPONENTS_ALL 126 html_documentation 127 bin) 152 SET(CPACK_COMPONENTS_ALL bin doc) 128 153 129 SET(CPACK_COMPONENT_BIN_DISPLAY_NAME "Command line utilities") 130 SET(CPACK_COMPONENT_HTML_DOCUMENTATION_DISPLAY_NAME "HTML documentation") 131 154 SET(CPACK_COMPONENT_BIN_DISPLAY_NAME "Executables") 132 155 SET(CPACK_COMPONENT_BIN_DESCRIPTION 133 156 "Command line utilities") 134 SET(CPACK_COMPONENT_HTML_DOCUMENTATION_DESCRIPTION 135 "Doxygen generated documentation") 157 SET(CPACK_COMPONENT_BIN_REQUIRED TRUE) 136 158 159 SET(CPACK_COMPONENT_DOC_DISPLAY_NAME "Documentation") 160 SET(CPACK_COMPONENT_DOC_DESCRIPTION 161 "Documentation generated by Doxygen.") 162 163 137 164 SET(CPACK_GENERATOR "NSIS") 138 165 -
doc/CMakeLists.txt
r0 r8 24 24 INSTALL( 25 25 DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/html/ 26 DESTINATION share/doc26 DESTINATION ${INSTALL_DOC_DIR} 27 27 COMPONENT html_documentation) 28 28 ENDIF(DOXYGEN_EXECUTABLE) -
src/CMakeLists.txt
r7 r8 25 25 INSTALL( 26 26 TARGETS lemon-project 27 RUNTIME DESTINATION bin27 RUNTIME DESTINATION ${INSTALL_BIN_DIR} 28 28 COMPONENT bin 29 29 )
Note: See TracChangeset
for help on using the changeset viewer.