Skip to content

Commit

Permalink
windows
Browse files Browse the repository at this point in the history
  • Loading branch information
pca006132 committed Jul 29, 2023
1 parent 48e42bd commit 84e67b2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,12 @@ def build_extension(self, ext: CMakeExtension) -> None:
f"-DCMAKE_BUILD_TYPE={cfg}", # not used on MSVC, but no harm
f"-DMANIFOLD_PYBIND=ON",
f"-DBUILD_SHARED_LIBS=ON",
f"-DMANIFOLD_DEBUG=ON",
]
build_args = []
if os.name == 'nt':
build_args += "--target ALL_BUILD".split(" ")
build_args += "--target ALL_BUILD --config Release".split(" ")
cmake_args += ["-B", "build", "-A", "x64"]
else:
cmake_args.append("-DMANIFOLD_PAR=TBB")
# Adding CMake arguments set as environment variable
Expand Down

0 comments on commit 84e67b2

Please sign in to comment.