Skip to content
Snippets Groups Projects
Commit 69144ea4 authored by Grégoire Kubler's avatar Grégoire Kubler
Browse files

fix : syntax

parent 78dfb061
No related branches found
No related tags found
2 merge requests!212Version 0.3.0,!116feat/release_pip
Pipeline #50256 waiting for manual action
......@@ -21,10 +21,10 @@ test = [
[build-system]
requires = [
"ninja>=1.10.1",
"setuptools>=64",
"setuptools_scm[toml]==7.1.0",
"cmake>=3.27.9",
"ninja>=1.10.1",
"toml"
]
build-backend = "setuptools.build_meta"
......
......@@ -51,12 +51,16 @@ class CMakeBuild(build_ext):
if "AIDGE_INSTALL" not in os.environ
else os.environ["AIDGE_INSTALL"]
)
build_gen = (
["-G",[os.environ["AIDGE_BUILD_GEN"]]
["-G", os.environ["AIDGE_BUILD_GEN"]]
if "AIDGE_BUILD_GEN" in os.environ
else [-G,"Ninja"] # using ninja as default build system to build faster and with the same compiler as on windows
else [
-G,
"Ninja",
] # using ninja as default build system to build faster and with the same compiler as on windows
)
self.spawn(
[
"cmake",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment