From e47e7d3dd0f858d0549205f76984e16aba271a9b Mon Sep 17 00:00:00 2001
From: Amorilia <amorilia@users.sourceforge.net>
Date: Tue, 16 May 2006 02:33:48 +0000
Subject: [PATCH] Updated SConstruct again; now compiles the same things like
 the VC project file. Temporarily disabled build of the Python wrapper (gives
 lot's of errors at the moment, will fix later).

---
 SConstruct | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/SConstruct b/SConstruct
index 95a141e6..51a857c4 100644
--- a/SConstruct
+++ b/SConstruct
@@ -42,10 +42,10 @@ You can get it from http://www.swig.org/"""
     Exit(1)
 
 # build niflib and python wrapper
-niflib = env.StaticLibrary('niflib', Split('niflib.cpp nif_math.cpp NIF_Blocks.cpp NIF_IO.cpp kfm.cpp'), CPPPATH = '.', CPPFLAGS = cppflags)
-nifshlib = env.SharedLibrary('_niflib', 'pyniflib.i', LIBS=['niflib'] + python_lib, LIBPATH=['.'] + python_libpath, SWIGFLAGS = '-c++ -python', CPPPATH = ['.'] + python_include, CPPFLAGS = cppflags, SHLIBPREFIX='')
+niflib = env.StaticLibrary('niflib', Split('niflib.cpp nif_math.cpp nif_objects.cpp NIF_IO.cpp kfm.cpp'), CPPPATH = '.', CPPFLAGS = cppflags)
+#nifshlib = env.SharedLibrary('_niflib', 'pyniflib.i', LIBS=['niflib'] + python_lib, LIBPATH=['.'] + python_libpath, SWIGFLAGS = '-c++ -python', CPPPATH = ['.'] + python_include, CPPFLAGS = cppflags, SHLIBPREFIX='')
 # makes sure niflib.lib is built before trying to build _niflib.dll
-env.Depends(nifshlib, niflib)
+#env.Depends(nifshlib, niflib)
 
 
 # Here's how to compile niflyze:
-- 
GitLab