Skip to content
Snippets Groups Projects
Commit e47e7d3d authored by Amorilia's avatar Amorilia
Browse files

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).
parent 8345c613
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment