Commit 48909b31 authored by Laurent Belcour's avatar Laurent Belcour

Adding softs to the build list in scons

parent cd59417b
SConscript('core/SConscript')
#SConscript('plugins/SConscript')
#SConscript('softs/SConscript')
SConscript('softs/SConscript')
import os
env = Environment()
env.Append(CPPPATH = '../../external/eigen-eigen-ffa86ffb5570')
env.Append(CPPPATH = '../../external/build/include')
# Library sources
sources = ['common.cpp',
......@@ -9,5 +11,9 @@ sources = ['common.cpp',
'rational_function.cpp',
'vertical_segment.cpp']
libs = []
if(os.name == 'posix'):
libs = ['rt', 'dl']
#end
env.StaticLibrary('../build/core', sources)
env.StaticLibrary('../build/core', sources, LIBS=libs)
SConscript('data2brdf/SConscript')
import os
env = Environment()
env.Append(CPPPATH = ['../../', '../../../external/build/include'])
# Soft Sources
sources = ['main.cpp']
libs = ['core']
if(os.name == 'posix'):
libs.append(['rt', 'dl'])
#end
env.Program('../../build/data2brdf', sources, LIBS=libs, LIBPATH=['../../build'])
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