... | ... |
@@ -125,49 +125,49 @@ |
125 | 125 |
IF(${CMAKE_SOURCE_DIR} STREQUAL ${PROJECT_SOURCE_DIR}) |
126 | 126 |
ADD_SUBDIRECTORY(demo) |
127 | 127 |
ADD_SUBDIRECTORY(tools) |
128 | 128 |
ADD_SUBDIRECTORY(doc) |
129 | 129 |
ADD_SUBDIRECTORY(test) |
130 | 130 |
ENDIF() |
131 | 131 |
|
132 | 132 |
CONFIGURE_FILE( |
133 | 133 |
${PROJECT_SOURCE_DIR}/cmake/LEMONConfig.cmake.in |
134 | 134 |
${PROJECT_BINARY_DIR}/cmake/LEMONConfig.cmake |
135 | 135 |
@ONLY |
136 | 136 |
) |
137 | 137 |
IF(UNIX) |
138 | 138 |
INSTALL( |
139 | 139 |
FILES ${PROJECT_BINARY_DIR}/cmake/LEMONConfig.cmake |
140 | 140 |
DESTINATION share/lemon/cmake |
141 | 141 |
) |
142 | 142 |
ELSEIF(WIN32) |
143 | 143 |
INSTALL( |
144 | 144 |
FILES ${PROJECT_BINARY_DIR}/cmake/LEMONConfig.cmake |
145 | 145 |
DESTINATION cmake |
146 | 146 |
) |
147 | 147 |
ENDIF() |
148 | 148 |
|
149 |
IF(${CMAKE_SOURCE_DIR} STREQUAL ${PROJECT_SOURCE_DIR} |
|
149 |
IF(${CMAKE_SOURCE_DIR} STREQUAL ${PROJECT_SOURCE_DIR}) |
|
150 | 150 |
SET(CPACK_PACKAGE_NAME ${PROJECT_NAME}) |
151 | 151 |
SET(CPACK_PACKAGE_VENDOR "EGRES") |
152 | 152 |
SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY |
153 | 153 |
"LEMON - Library for Efficient Modeling and Optimization in Networks") |
154 | 154 |
SET(CPACK_RESOURCE_FILE_LICENSE "${PROJECT_SOURCE_DIR}/LICENSE") |
155 | 155 |
|
156 | 156 |
SET(CPACK_PACKAGE_VERSION ${PROJECT_VERSION}) |
157 | 157 |
|
158 | 158 |
SET(CPACK_PACKAGE_INSTALL_DIRECTORY |
159 | 159 |
"${PROJECT_NAME} ${PROJECT_VERSION}") |
160 | 160 |
SET(CPACK_PACKAGE_INSTALL_REGISTRY_KEY |
161 | 161 |
"${PROJECT_NAME} ${PROJECT_VERSION}") |
162 | 162 |
|
163 | 163 |
SET(CPACK_COMPONENTS_ALL headers library html_documentation bin) |
164 | 164 |
|
165 | 165 |
SET(CPACK_COMPONENT_HEADERS_DISPLAY_NAME "C++ headers") |
166 | 166 |
SET(CPACK_COMPONENT_LIBRARY_DISPLAY_NAME "Dynamic-link library") |
167 | 167 |
SET(CPACK_COMPONENT_BIN_DISPLAY_NAME "Command line utilities") |
168 | 168 |
SET(CPACK_COMPONENT_HTML_DOCUMENTATION_DISPLAY_NAME "HTML documentation") |
169 | 169 |
|
170 | 170 |
SET(CPACK_COMPONENT_HEADERS_DESCRIPTION |
171 | 171 |
"C++ header files") |
172 | 172 |
SET(CPACK_COMPONENT_LIBRARY_DESCRIPTION |
173 | 173 |
"DLL and import library") |
0 comments (0 inline)