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

moved swig related files to seperate directory

parent 99525737
No related branches found
No related tags found
No related merge requests found
......@@ -400,9 +400,7 @@ niflib = env.SharedLibrary('niflib', [core_objfiles, gen_objfiles, obj_objfiles,
# build Python wrapper
if PYWRAP:
niflib_python = env.SharedLibrary('_niflib', 'pyniflib.i', LIBS=['niflib'] + python_lib, LIBPATH=['.'] + python_libpath, SWIGFLAGS = '-c++ -python', CPPPATH = ['.'] + python_include, SHLIBPREFIX='')
# makes sure niflib.dll is built before trying to build _niflib.dll
env.Depends(niflib_python, niflib)
SConscript('swig/SConscript' , exports=['env', 'python_lib', 'python_libpath', 'python_include'])
# Here's how to compile niflyze:
#env.Program('niflyze', 'niflyze.cpp', LIBS=['niflib'], LIBPATH=['.'])
......
Import('*')
niflib_python = env.SharedLibrary('_niflib', 'pyniflib.i', LIBS=['niflib'] + python_lib, LIBPATH=['..'] + python_libpath, SWIGFLAGS = '-c++ -python', CPPPATH = ['.'] + python_include, SHLIBPREFIX='')
This diff is collapsed.
File moved
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