Changeset 228 in pacpusframework for trunk/cmake/PacpusUtilities.cmake
- Timestamp:
- Nov 26, 2013, 5:55:18 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/cmake/PacpusUtilities.cmake
r191 r228 307 307 PROPERTIES DEBUG_POSTFIX "_d" 308 308 ) 309 # Add manifest to the target (Windows SxS) 310 # TODO: do the same for executable (change #2 to #1) 311 #if(MSVC) 312 # pacpus_info("\${CMAKE_CURRENT_SOURCE_DIR}/\${target}.manifest = ${CMAKE_CURRENT_SOURCE_DIR}/${target}.manifest") 313 # if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}\\${target}.manifest") 314 # pacpus_info("Exists: ${CMAKE_CURRENT_SOURCE_DIR}/${target}.manifest") 315 # add_custom_command( 316 # TARGET ${target} 317 # POST_BUILD 318 # COMMAND "mt.exe" -manifest \"${CMAKE_CURRENT_SOURCE_DIR}\\${target}.manifest\" -outputresource:\"$(TargetDir)\\$(TargetFileName)\"\;\#2 319 # COMMENT "Adding custom manifest containing MSVCRT80 dependency..." 320 # ) 321 # endif() 322 #endif() 309 323 endfunction() 310 324
Note:
See TracChangeset
for help on using the changeset viewer.