diff --git a/SConstruct b/SConstruct index 1bffebe0bb06df4cd7c315f715567b7afa8ac2fd..2fb870292557793ada38f2f38dabac4d4b86de77 100644 --- a/SConstruct +++ b/SConstruct @@ -26,7 +26,7 @@ env.StaticLibrary('niflib', Split('niflib.cpp nif_math.cpp NIF_Blocks.cpp NIF_IO env.SharedLibrary('_niflib', 'pyniflib.i', LIBS=['niflib'] + python_lib, LIBPATH=['.'] + python_libpath, SWIGFLAGS = '-c++ -python', CPPPATH = ['.'] + python_include, CPPFLAGS = cppflags, SHLIBPREFIX='') # Here's how to compile niflyze: -#env.Program('niflyze', 'niflyze.cpp', LIBS=['niflib'], LIBPATH=['.']) +#env.Program('niflyze', 'niflyze.cpp', LIBS=['niflib'], LIBPATH=['.'], CPPFLAGS = cppflags) # A test program: -#env.Program('test', 'test.cpp', LIBS=['niflib'], LIBPATH=['.']) +#env.Program('test', 'test.cpp', LIBS=['niflib'], LIBPATH=['.'], CPPFLAGS = cppflags)