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

scons example program compilation (see comments in SConstruct)

parent ccbf07fe
No related branches found
No related tags found
No related merge requests found
......@@ -19,3 +19,9 @@ env = Environment(ENV = os.environ)
env.StaticLibrary('niflib', Split('niflib.cpp nif_math.cpp NIF_Blocks.cpp NIF_IO.cpp docsys_extract.cpp'), CPPPATH = '.', CPPFLAGS = cppflags)
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=['.'])
# A test program:
#env.Program('test', 'test.cpp', LIBS=['niflib'], LIBPATH=['.'])
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