Changeset 1065

Show
Ignore:
Timestamp:
02/29/08 17:39:23 (4 months ago)
Author:
patrick
Message:

When building with Visual C++ 8.0 or newer, embed the DLL manifest in the DLL.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/fcptr_stable_jun07/SConstruct

    r1038 r1065  
    334334   else: 
    335335      common_env = Environment(tools = ['default', 'doxygen'], toolpath = '.') 
     336 
     337   # Embed the DLL manifest when building with Visual C++ 8.0 or newer. 
     338   if common_env.has_key("MSVS") and common_env["MSVS"]["VERSION"] >= "8.0": 
     339      common_env['SHLINKCOM'] = \ 
     340         [common_env['SHLINKCOM'], 
     341          'mt.exe -manifest ${TARGET}.manifest -outputresource:$TARGET;2'] 
    336342else: 
    337343   if ARGUMENTS.has_key("icc"):