Commit b6d22ad0 authored by Laurent Belcour's avatar Laurent Belcour
Browse files

Adding python compilation into the main Scons scripts.

parent 4760cc3e
......@@ -101,8 +101,10 @@ external = env.SConscript('external/SConscript')
core = env.SConscript('sources/core/SConscript')
plugins = env.SConscript('sources/plugins/SConscript')
softs = env.SConscript('sources/softs/SConscript')
python = env.SConscript('sources/python/SConscript')
#env.SConscript(dirs=['sources/core', 'sources/softs', 'sources/plugins'])
env.Depends(plugins, core)
env.Depends(softs, core)
env.Depends(python, core)
#env.NoClean(external)
......@@ -2,5 +2,6 @@ core = SConscript('core/SConscript')
plugins = SConscript('plugins/SConscript')
softs = SConscript('softs/SConscript')
python = SConscript('python/SConscript')
#Requires(plugins, core)
#Requires(softs, core)
......@@ -3,8 +3,16 @@ env = Environment()
env.Append(CPPPATH=['../../external/build/include'])
env.Append(CPPPATH=['../', '/usr/include/python2.7'])
env.Append(LIBPATH=['../build', '/usr/lib/x86_64-gnu-linux'])
env.Append(CPPPATH=['/opt/local/include'])
env.Append(LIBPATH=['../build'])
env.Append(LIBPATH=['/usr/lib/x86_64-gnu-linux'])
env.Append(LIBPATH=['/opt/local/lib'])
env.Append(LIBS=['python2.7', 'boost_python-py27', 'core'])
#env.Append(LIBS=['python2.7', 'boost_python-mt', 'core'])
env['SHLIBPREFIX']=''
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment