Changeset 267 in pacpusframework for trunk/cmake/PacpusUtilities.cmake
- Timestamp:
- Mar 13, 2014, 10:41:15 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cmake/PacpusUtilities.cmake
r265 r267 309 309 PROPERTIES DEBUG_POSTFIX "_d" 310 310 ) 311 312 313 314 #pacpus_info("\${CMAKE_CURRENT_SOURCE_DIR}/\${target}.manifest = ${CMAKE_CURRENT_SOURCE_DIR}/${target}.manifest")315 #if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}\\${target}.manifest")316 #pacpus_info("Exists: ${CMAKE_CURRENT_SOURCE_DIR}/${target}.manifest")317 #add_custom_command(318 #TARGET ${target}319 #POST_BUILD320 #COMMAND "mt.exe" -manifest \"${CMAKE_CURRENT_SOURCE_DIR}\\${target}.manifest\" -outputresource:\"$(TargetDir)\\$(TargetFileName)\"\;\#2321 #COMMENT "Adding custom manifest containing MSVCRT80 dependency..."322 #)323 #endif()324 311 # Add manifest to the target (Windows SxS) 312 # TODO: do the same for executable (change #2 to #1) 313 #if(MSVC) 314 # pacpus_info("\${CMAKE_CURRENT_SOURCE_DIR}/\${target}.manifest = ${CMAKE_CURRENT_SOURCE_DIR}/${target}.manifest") 315 # if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}\\${target}.manifest") 316 # pacpus_info("Exists: ${CMAKE_CURRENT_SOURCE_DIR}/${target}.manifest") 317 # add_custom_command( 318 # TARGET ${target} 319 # POST_BUILD 320 # COMMAND "mt.exe" -manifest \"${CMAKE_CURRENT_SOURCE_DIR}\\${target}.manifest\" -outputresource:\"$(TargetDir)\\$(TargetFileName)\"\;\#2 321 # COMMENT "Adding custom manifest containing MSVCRT80 dependency..." 322 # ) 323 # endif() 324 #endif() 325 325 endfunction() 326 326
Note:
See TracChangeset
for help on using the changeset viewer.