Changeset 21 in pacpusframework for trunk/cmake/PacpusUtilities.cmake
- Timestamp:
- Jan 8, 2013, 1:53:29 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cmake/PacpusUtilities.cmake
r20 r21 159 159 160 160 # ======================================== 161 # Pacpus add library and set debug postfix 162 # ======================================== 163 function(pacpus_add_library) 164 add_library(${target} 165 ${ARGV} 166 ) 167 set_target_properties( 168 ${target} 169 PROPERTIES DEBUG_POSTFIX "_d" 170 ) 171 endfunction() 172 173 # ======================================== 161 174 # Pacpus add executable and set debug postfix 162 175 # ======================================== … … 174 187 # Pacpus install 175 188 # ======================================== 176 function(pacpus_install target)189 function(pacpus_install) 177 190 install( 178 TARGETS ${ target}191 TARGETS ${ARGV} 179 192 RUNTIME DESTINATION ${PACPUS_INSTALL_DIR}/bin 180 193 LIBRARY DESTINATION ${PACPUS_INSTALL_DIR}/lib
Note:
See TracChangeset
for help on using the changeset viewer.