|
From: <pat...@us...> - 2007-06-26 14:01:22
|
Revision: 597
http://svn.sourceforge.net/xml-cppdom/?rev=597&view=rev
Author: patrickh
Date: 2007-06-26 07:01:24 -0700 (Tue, 26 Jun 2007)
Log Message:
-----------
Handle the case of using Visual C++ Express Edition where "Exp" is appended
to the version number.
Modified Paths:
--------------
trunk/cppdom/SConscript
Modified: trunk/cppdom/SConscript
===================================================================
--- trunk/cppdom/SConscript 2007-06-26 01:05:34 UTC (rev 596)
+++ trunk/cppdom/SConscript 2007-06-26 14:01:24 UTC (rev 597)
@@ -37,7 +37,10 @@
if "shared" in combo["libtype"]:
shlinkcom = cppdom_lib_env['SHLINKCOM']
# When using Visual C++ 8.0 or newer, embed the manifest in the DLL.
- if cppdom_lib_env.has_key('MSVS_VERSION') and float(cppdom_lib_env['MSVS_VERSION']) >= 8.0:
+ # NOTE: The [:3] bit used before passing the MSVS_VERSION value to float()
+ # is to handle the case of Visual C++ Express Edition which appends "Exp"
+ # to the version number.
+ if cppdom_lib_env.has_key('MSVS_VERSION') and float(cppdom_lib_env['MSVS_VERSION'][:3]) >= 8.0:
shlinkcom = [shlinkcom,
'mt.exe -manifest ${TARGET}.manifest -outputresource:$TARGET;2']
cppdom_shared_lib_env = cppdom_lib_env.Copy()
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|