From 85def9c9ac3197b7b52b0329d55e25a0c896aa36 Mon Sep 17 00:00:00 2001 From: fraguada Date: Mon, 28 Oct 2024 13:10:17 +0100 Subject: [PATCH] some tweaks to turn on nanobind from cmake --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index c890bfc8..781629e2 100644 --- a/setup.py +++ b/setup.py @@ -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]