Changeset 259 in pacpusframework for trunk/cmake/PacpusUtilities.cmake
- Timestamp:
- Feb 26, 2014, 4:03:37 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cmake/PacpusUtilities.cmake
r236 r259 351 351 # install debug information files .pdb 352 352 foreach(target ${ARGV}) 353 get_target_property(target_filepath ${target} LOCATION_DEBUG) 354 get_filename_component(target_directory ${target_filepath} PATH) 355 get_filename_component(target_basename ${target_filepath} NAME_WE) 356 357 set(target_pdb "${target_directory}/${target_basename}.pdb") 358 install(FILES ${target_pdb} 359 CONFIGURATIONS Debug 360 DESTINATION ${PACPUS_INSTALL_DIR}/lib 361 ) 353 get_target_property(target_type ${target} TYPE) 354 if(NOT target_type STREQUAL STATIC_LIBRARY) 355 get_target_property(target_filepath ${target} LOCATION_DEBUG) 356 get_filename_component(target_directory ${target_filepath} PATH) 357 get_filename_component(target_basename ${target_filepath} NAME_WE) 358 359 set(target_pdb "${target_directory}/${target_basename}.pdb") 360 install(FILES ${target_pdb} 361 CONFIGURATIONS Debug 362 DESTINATION ${PACPUS_INSTALL_DIR}/lib 363 ) 364 endif() 362 365 endforeach() 363 366 endif(MSVC)
Note:
See TracChangeset
for help on using the changeset viewer.