Skip to content

Commit

Permalink
some tweaks to turn on nanobind from cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
fraguada committed Oct 28, 2024
1 parent 598f948 commit 85def9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ def build_extension(self, ext):
print("extdir = " + extdir)
print("sourcedir" + ext.sourcedir)

cmake_args = ['cmake', f'-DPYTHON_EXECUTABLE:FILEPATH={pyexec}']
#cmake_args = ['cmake', f'-DPYTHON_EXECUTABLE:FILEPATH={pyexec}', f'-DPYTHON_BINDING_LIB=NANOBIND']
#cmake_args = ['cmake', f'-DPYTHON_EXECUTABLE:FILEPATH={pyexec}', f'-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON']
cmake_args = ['cmake', f'-DPYTHON_EXECUTABLE:FILEPATH={pyexec}', f'-DPYTHON_BINDING_LIB=NANOBIND', f'-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON']

cfg = 'Debug' if self.debug else 'Release'
build_args = ['--config', cfg]
Expand Down

0 comments on commit 85def9c

Please sign in to comment.