Changeset 10788 for source/ariba
- Timestamp:
- Nov 14, 2012, 5:27:23 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/ariba/CMakeLists.txt
r10700 r10788 138 138 139 139 140 set(add_headers_INSTALL_DIR include/ariba/) 141 set(add_headers_INSTALL_COMPONENT Development) 140 142 set(add_headers_VAR libariba_HEADERS) 141 143 set(add_sources_VAR libariba_SOURCES) … … 144 146 function(add_subdir_sources_helper subdir) 145 147 set(CURRENT_SOURCE_DIR "${CURRENT_SOURCE_DIR}${subdir}/") 148 set(add_headers_INSTALL_DIR "${add_headers_INSTALL_DIR}${subdir}/") 146 149 add_subdirectory(${subdir}) 147 150 set(${add_headers_VAR} ${${add_headers_VAR}} PARENT_SCOPE) … … 161 164 list(APPEND ${add_headers_VAR} "${CURRENT_SOURCE_DIR}${source}") 162 165 endforeach(source ${sources} ${ARGN}) 166 167 install(FILES ${sources} ${ARGN} 168 DESTINATION "${add_headers_INSTALL_DIR}" 169 COMPONENT "${add_headers_INSTALL_COMPONENT}" 170 ) 171 163 172 set(${add_headers_VAR} ${${add_headers_VAR}} PARENT_SCOPE) 164 173 endmacro(add_headers sources) … … 173 182 174 183 # Headers to be exported 175 set(libariba_HEADERS 184 add_headers( 176 185 ariba.h 177 186 AribaModule.h … … 189 198 ) 190 199 191 set(libariba_SOURCES 200 add_sources( 192 201 AribaModule.cpp 193 202 CommunicationListener.cpp … … 247 256 248 257 249 # Install ation stuff258 # Install binaries 250 259 install(TARGETS ariba ${ariba_STATIC_TARGET} EXPORT ariba-targets 251 260 LIBRARY DESTINATION lib COMPONENT Runtime … … 254 263 ) 255 264 256 install(FILES ${libariba_HEADERS}257 DESTINATION include/ariba258 COMPONENT Development259 )260 265 261 266 # Make libariba usable from build tree
Note:
See TracChangeset
for help on using the changeset viewer.