Skip to content

Commit 50442b5

Browse files
committed
debug on windows?
1 parent 45847c6 commit 50442b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,14 @@ def build_extension(self, ext):
5959

6060
cfg = 'Debug' if self.debug else 'Release'
6161
build_args = ['--config', cfg]
62+
cmake_args += ['-DCMAKE_BUILD_TYPE=' + cfg]
6263

6364
if platform.system() == "Windows":
6465
cmake_args += ['-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_{}={}'.format(cfg.upper(), extdir)]
6566
if sys.maxsize > 2**32:
6667
cmake_args += ['-A', 'x64']
6768
build_args += ['--', '/m:4']
6869
else:
69-
cmake_args += ['-DCMAKE_BUILD_TYPE=' + cfg]
7070
build_args += ['--', '-j2']
7171

7272
env = os.environ.copy()
@@ -87,7 +87,7 @@ def build_extension(self, ext):
8787

8888
setup(
8989
name="polyfempy",
90-
version="0.2.3",
90+
version="0.3",
9191
author="Teseo Schneider",
9292
author_email="",
9393
description="Polyfem Python Bindings",

0 commit comments

Comments
 (0)