diff options
author | patthoyts <patthoyts@users.sourceforge.net> | 2007-12-10 16:23:49 (GMT) |
---|---|---|
committer | patthoyts <patthoyts@users.sourceforge.net> | 2007-12-10 16:23:49 (GMT) |
commit | ef606ff07a392d424b5614b50f1f534ee25b5b21 (patch) | |
tree | 51b76f048f093ac3baec6ce491a72328422e7e96 /win | |
parent | fc7c131e6b21482b38e9dc9cef94e246160523cd (diff) | |
download | tcl-ef606ff07a392d424b5614b50f1f534ee25b5b21.zip tcl-ef606ff07a392d424b5614b50f1f534ee25b5b21.tar.gz tcl-ef606ff07a392d424b5614b50f1f534ee25b5b21.tar.bz2 |
Visual Studio 2008/MSVC 9 support
Diffstat (limited to 'win')
-rw-r--r-- | win/rules.vc | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/win/rules.vc b/win/rules.vc index 0b3a559..9389b1f 100644 --- a/win/rules.vc +++ b/win/rules.vc @@ -11,7 +11,7 @@ # Copyright (c) 2003-2007 Patrick Thoyts # #------------------------------------------------------------------------------ -# RCS: @(#) $Id: rules.vc,v 1.33 2007/10/31 00:08:44 patthoyts Exp $ +# RCS: @(#) $Id: rules.vc,v 1.34 2007/12/10 16:23:49 patthoyts Exp $ #------------------------------------------------------------------------------ !ifndef _RULES_VC @@ -189,10 +189,10 @@ VCVER=0 !if ![echo VCVERSION=_MSC_VER > vercl.x] \ && ![cl -nologo -TC -P vercl.x $(ERRNULL)] !include vercl.i -!if $(VCVERSION) >= 1400 +!if $(VCVERSION) >= 1500 +VCVER=9 +!elseif $(VCVERSION) >= 1400 VCVER=8 -_VC_MANIFEST_EMBED_EXE=if exist $@.manifest mt -nologo -manifest $@.manifest -outputresource:$@;1 -_VC_MANIFEST_EMBED_DLL=if exist $@.manifest mt -nologo -manifest $@.manifest -outputresource:$@;2 !elseif $(VCVERSION) >= 1300 VCVER=7 !elseif $(VCVERSION) >= 1200 @@ -200,6 +200,12 @@ VCVER=6 !endif !endif +# Since MSVC8 we must deal with manifest resources. +!if $(VCVERSION) >= 1400 +_VC_MANIFEST_EMBED_EXE=if exist $@.manifest mt -nologo -manifest $@.manifest -outputresource:$@;1 +_VC_MANIFEST_EMBED_DLL=if exist $@.manifest mt -nologo -manifest $@.manifest -outputresource:$@;2 +!endif + #---------------------------------------------------------- # Decode the options requested. #---------------------------------------------------------- |