Also run make using gitbash
This commit is contained in:
parent
6eb97b2e35
commit
66869be5e7
|
@ -22,6 +22,10 @@ class WinBashConfigInfo(ConfigInfo):
|
|||
def configure_wrapper(self):
|
||||
yield "C:\\Program Files\\Git\\bin\\bash.exe"
|
||||
|
||||
@property
|
||||
def make_wrapper(self):
|
||||
yield "C:\\Program Files\\Git\\bin\\bash.exe"
|
||||
|
||||
@property
|
||||
def binaries(self):
|
||||
binaries = {
|
||||
|
@ -31,7 +35,11 @@ class WinBashConfigInfo(ConfigInfo):
|
|||
}
|
||||
return binaries
|
||||
|
||||
def set_compiler(self, env):
|
||||
for k, v in self.binaries.items():
|
||||
env[k] = v
|
||||
|
||||
def set_comp_flags(self, env):
|
||||
super().set_comp_flags(env)
|
||||
env["PATH"] += "C:\\Program Files\\Git\\bin"
|
||||
env["PATH"] += ["C:\\Program Files\\Git\\bin"]
|
||||
env["CXXFLAGS"] = "-EHsc -MD " + env["CXXFLAGS"]
|
||||
|
|
Loading…
Reference in New Issue