Always pass build type
This commit is contained in:
parent
8f8671c8fb
commit
7a8a3d3434
|
@ -61,12 +61,12 @@ class ExtensionBuilder(build_ext):
|
|||
build_args = ["--config", cfg]
|
||||
install_args = ["--config", cfg]
|
||||
|
||||
cmake_args += ["-DCMAKE_BUILD_TYPE=" + cfg]
|
||||
if platform.system() == "Windows":
|
||||
if sys.maxsize > 2 ** 32:
|
||||
cmake_args += ["-A", "x64"]
|
||||
build_args += ["--", "/m"]
|
||||
else:
|
||||
cmake_args += ["-DCMAKE_BUILD_TYPE=" + cfg]
|
||||
build_args += ["--", "-j4", "VERBOSE=1"]
|
||||
|
||||
env = os.environ.copy()
|
||||
|
|
Loading…
Reference in New Issue