Commit 04ec3fcb authored by Laurent Belcour's avatar Laurent Belcour
Browse files

Adding a new scons

parent 380692b4
# Building fitters
SConscript('nonlinear_fitter_ceres/SConscript')
# Building functions
SConscript('nonlinear_function_diffuse/SConscript')
env = Environment()
env.Append(CPPPATH = ['../../../external/build/include', '../../'])
env.Append(LIBPATH = '../../../external/build/lib')
env.Append(LIBPATH = ['../../../external/build/lib', '../../build'])
sources = ['fitter.cpp']
libs = ['-lceres']
libs = ['-lceres', '-lcore']
env.SharedLibrary('../../build/nonlinear_fitter_ceres', sources, LIBS=libs)
env = Environment()
env.Append(CPPPATH = ['../../../external/build/include', '../../'])
env.Append(LIBPATH = ['../../../external/build/lib', '../../build'])
sources = ['function.cpp']
libs = ['-lcore']
env.SharedLibrary('../../build/nonlinear_function_diffuse', sources, LIBS=libs)
Supports Markdown
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