@@ -9,9 +9,9 @@ def __init__(self, **kw):
9
9
10
10
self .ConfigureCompiler ()
11
11
12
- self ['ENV' ]['INCLUDE' ] = self ['CPPPATH' ]
13
- self ['ENV' ]['LIB' ] = self ['LIBPATH' ]
14
- self ['ENV' ]['PATH' ] = os .environ ['PATH' ]
12
+ # self['ENV']['INCLUDE'] = self['CPPPATH']
13
+ # self['ENV']['LIB'] = self['LIBPATH']
14
+ # self['ENV']['PATH'] = os.environ['PATH']
15
15
16
16
def ConfigureCompiler (self ):
17
17
cxx = self .WhereIs (self ['CXX' ])
@@ -24,11 +24,12 @@ def ConfigureCompiler(self):
24
24
print "XXX: " + cxx_dir
25
25
26
26
if cxx_bin .startswith ("cl" ):
27
- common = cxx_dir + "\..\.."
28
- if os .path .exists (common + "\Common\IDE" ):
29
- os .environ ['PATH' ] = common + "\Common\IDE" + ";" + cxx_dir
30
- elif os .path .exists (common + "\Common7\IDE" ):
31
- os .environ ['PATH' ] = common + "\Common7\IDE" + ";" + cxx_dir
27
+ # common = cxx_dir + "\..\.."
28
+ # if os.path.exists(common + "\Common\IDE"):
29
+ # os.environ['PATH'] = common + "\Common\IDE"
30
+ # elif os.path.exists(common + "\Common7\IDE"):
31
+ # os.environ['PATH'] = common + "\Common7\IDE"
32
+ # os.environ['PATH'] += ";" + cxx_dir
32
33
33
34
# proc = Popen(cxx_bin, stderr=STDOUT, stdout=PIPE)
34
35
# proc.wait()
@@ -53,8 +54,8 @@ def ConfigureCompiler(self):
53
54
self .AppendUnique (CXXFLAGS = ['/EHsc' , '/GR' , '/DBOOST_ALL_NO_LIB' ])
54
55
self ['CXX' ] = cxx_bin
55
56
# self['LINK'] = "link.exe"
56
- self ['CPPPATH' ] = os .path .abspath (cxx_dir + "\..\include" )
57
- self ['LIBPATH' ] = os .path .abspath (cxx_dir + "\..\lib" )
57
+ # self['CPPPATH'] = os.path.abspath(cxx_dir + "\..\include")
58
+ # self['LIBPATH'] = os.path.abspath(cxx_dir + "\..\lib")
58
59
59
60
sdk_dir = ""
60
61
if os .getenv ('MicrosoftPlatformSDK' , None ) != None :
0 commit comments