From f2c3bbceb5d77c2ad65a937755a07069f974a05b Mon Sep 17 00:00:00 2001 From: bdbaddog Date: Mon, 11 Jan 2010 01:48:50 +0000 Subject: [PATCH] Fix for 2422 git-svn-id: http://scons.tigris.org/svn/scons/trunk@4602 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- src/RELEASE.txt | 3 + src/engine/SCons/Tool/mslink.xml | 1 - src/engine/SCons/Tool/msvs.xml | 109 ------------------------------- test/IDL/midl.py | 3 +- 4 files changed, 4 insertions(+), 112 deletions(-) diff --git a/src/RELEASE.txt b/src/RELEASE.txt index 8050c034..d7bdd74a 100644 --- a/src/RELEASE.txt +++ b/src/RELEASE.txt @@ -80,6 +80,9 @@ RELEASE 1.2.0.d20090223 - Mon, 23 Feb 2009 08:41:06 -0800 these tools have been redefined to remove unnecessary nested $( and $) character strings. + -- MSVS_USE_MFC_DIRS and MSVS_IGNORE_IDE_PATHS are obsoleted and + have no effect. + Please note the following important changes since release 1.1.0: -- THE $CHANGED_SOURCES, $CHANGED_TARGETS, $UNCHANGED_SOURCES diff --git a/src/engine/SCons/Tool/mslink.xml b/src/engine/SCons/Tool/mslink.xml index 6ad9dead..92be026a 100644 --- a/src/engine/SCons/Tool/mslink.xml +++ b/src/engine/SCons/Tool/mslink.xml @@ -46,7 +46,6 @@ LDMODULECOM SHLINKCOMSTR LINKCOMSTR REGSVRCOMSTR -MSVS_IGNORE_IDE_PATHS LDMODULECOMSTR diff --git a/src/engine/SCons/Tool/msvs.xml b/src/engine/SCons/Tool/msvs.xml index 7fe08013..f040f4d0 100644 --- a/src/engine/SCons/Tool/msvs.xml +++ b/src/engine/SCons/Tool/msvs.xml @@ -287,37 +287,6 @@ will generate an error. - - -Tells the MS Visual Studio tools to use minimal INCLUDE, LIB, and PATH settings, -instead of the settings from the IDE. - -For Visual Studio, SCons will (by default) automatically determine -where MSVS is installed, and use the LIB, INCLUDE, and PATH variables -set by the IDE. You can override this behavior by setting these -variables after Environment initialization, or by setting -MSVS_IGNORE_IDE_PATHS = 1 -in the Environment initialization. -Specifying this will not leave these unset, but will set them to a -minimal set of paths needed to run the tools successfully. - -For VS6, the mininimal set is: - - INCLUDE:'<VSDir>\VC98\ATL\include;<VSDir>\VC98\MFC\include;<VSDir>\VC98\include' - LIB:'<VSDir>\VC98\MFC\lib;<VSDir>\VC98\lib' - PATH:'<VSDir>\Common\MSDev98\bin;<VSDir>\VC98\bin' - -For VS7, it is: - - INCLUDE:'<VSDir>\Vc7\atlmfc\include;<VSDir>\Vc7\include' - LIB:'<VSDir>\Vc7\atlmfc\lib;<VSDir>\Vc7\lib' - PATH:'<VSDir>\Common7\Tools\bin;<VSDir>\Common7\Tools;<VSDir>\Vc7\bin' - - -Where '<VSDir>' is the installed location of Visual Studio. - - - The string @@ -411,84 +380,6 @@ There is no default value. - - -Tells the MS Visual Studio tool(s) to use -the MFC directories in its default paths -for compiling and linking. -The &cv-MSVS_USE_MFC_DIRS; variable has no effect if the -INCLUDE -or -LIB -environment variables are set explictly. - -Under Visual Studio version 6, -setting -&cv-MSVS_USE_MFC_DIRS; -to a non-zero value -adds the -ATL\include -and -MFC\include -directories to -the default -INCLUDE -external environment variable, -and adds the -MFC\lib -directory to -the default -LIB -external environment variable. - -Under Visual Studio version 7, -setting -&cv-MSVS_USE_MFC_DIRS; -to a non-zero value -adds the -atlmfc\include -directory to the default -INCLUDE -external environment variable, -and adds the -atlmfc\lib -directory to the default -LIB -external environment variable. - -Under Visual Studio version 8, -setting -&cv-MSVS_USE_MFC_DIRS; -to a non-zero value will, -by default, -add the -atlmfc\include -directory to the default -INCLUDE -external environment variable, -and the -atlmfc\lib -directory to the default -LIB -external environment variable. -If, however, the -['MSVS']['PLATFORMSDKDIR'] -variable is set, -then the -mfc -and the -atl -subdirectories of the -PLATFORMSDKDIR -are added to the default value of the -INCLUDE -external environment variable, -and the default value of the -LIB -external environment variable is left untouched. - - - Sets the preferred version of Microsoft Visual Studio to use. diff --git a/test/IDL/midl.py b/test/IDL/midl.py index e716cacc..a2fd2a7f 100644 --- a/test/IDL/midl.py +++ b/test/IDL/midl.py @@ -41,8 +41,7 @@ if sys.platform != 'win32': test.write('SConstruct',""" import os -env = Environment(CPPPATH = '${TARGET.dir}', - MSVS_USE_MFC_DIRS = 1) +env = Environment(CPPPATH = '${TARGET.dir}') Export('env') VariantDir('build', 'src') -- 2.26.2