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

fix : setup.py cmake options

parent 511b9227
No related branches found
No related tags found
2 merge requests!93Release v0.3.0,!64Feat/release pip
......@@ -50,16 +50,17 @@ class CMakeBuild(build_ext):
if "AIDGE_INSTALL" not in os.environ
else os.environ["AIDGE_INSTALL"]
)
self.spawn(
[
"cmake",
str(cwd),
"-DPYTHON_EXECUTABLE={sys.executable}",
f"-DPYTHON_EXECUTABLE={sys.executable}",
"-DTEST=OFF",
"-DPYBIND=ON",
f"-DCMAKE_INSTALL_PREFIX:PATH={install_path}",
f"-DCMAKE_BUILD_TYPE={compile_type}",
"-DPYBIND=ON",
"-DCMAKE_EXPORT_COMPILE_COMMANDS=ON",
"-DCOVERAGE=OFF"
]
)
if not self.dry_run:
......
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