Use nmake instead of make on Windows
Qmake in generating Makefile for nmake on Windows/msvc.
This commit is contained in:
parent
7fbeb2fc6d
commit
1e4b88d2f0
|
@ -30,7 +30,10 @@ class NeutralEnv:
|
||||||
self.mesontest_command = [*self.meson_command, "test"]
|
self.mesontest_command = [*self.meson_command, "test"]
|
||||||
self.patch_command = self._detect_command("patch")
|
self.patch_command = self._detect_command("patch")
|
||||||
self.git_command = self._detect_command("git")
|
self.git_command = self._detect_command("git")
|
||||||
self.make_command = self._detect_command("make")
|
if platform.system() == "Windows":
|
||||||
|
self.make_command = self._detect_command("nmake", options=["/?", "/NOLOGO"])
|
||||||
|
else:
|
||||||
|
self.make_command = self._detect_command("make")
|
||||||
self.cmake_command = self._detect_command("cmake")
|
self.cmake_command = self._detect_command("cmake")
|
||||||
self.qmake_command = self._detect_command(
|
self.qmake_command = self._detect_command(
|
||||||
"qmake", required=False, default=[["qmake"], ["qmake-qt5"]]
|
"qmake", required=False, default=[["qmake"], ["qmake-qt5"]]
|
||||||
|
|
Loading…
Reference in New Issue