From cbcdf2e1c21c84b990ccc0b9009c8ef655557f93 Mon Sep 17 00:00:00 2001 From: Amorilia <amorilia@users.sourceforge.net> Date: Fri, 20 Jan 2006 01:27:41 +0000 Subject: [PATCH] CPPFLAGS fix in compile examples. --- SConstruct | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SConstruct b/SConstruct index 1bffebe0..2fb87029 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) -- GitLab