Changeset 267 in pacpusframework for trunk/cmake/PacpusUtilities.cmake


Ignore:
Timestamp:
03/13/14 10:41:15 (10 years ago)
Author:
Marek Kurdej
Message:

Minor: formatting.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/cmake/PacpusUtilities.cmake

    r265 r267  
    309309        PROPERTIES DEBUG_POSTFIX "_d"
    310310    )
    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()
     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()
    325325endfunction()
    326326
Note: See TracChangeset for help on using the changeset viewer.