Commit b8d5db00 authored by Laurent Belcour's avatar Laurent Belcour

Chnaging the XML parser to output correct commands for OSX

parent 430b3962
......@@ -5,6 +5,7 @@ SConscript('data_interpolant/SConscript')
# Building fitters
SConscript('nonlinear_fitter_ceres/SConscript')
SConscript('rational_fitter_eigen/SConscript')
SConscript('rational_fitter_quadprog/SConscript')
# Building functions
......
env = Environment()
env.Append(CPPPATH = ['../../../external/build/include', '../../'])
env.Append(LIBPATH = ['../../../external/build/lib', '../../build'])
sources = ['rational_fitter.cpp']
libs = ['-lcore']
env.SharedLibrary('../../build/rational_fitter_eigen', sources, LIBS=libs)
......@@ -68,10 +68,12 @@ def baseName():
#end
def libName(name):
if os.name == 'posix':
return 'lib' + name + '.so'
if sys.platform == 'darwin':
return 'lib' + name + '.dylib'
elif os.name == 'nt':
return name + ".dll"
return name + ".dll"
else:
return 'lib' + name + '.so'
#endif
#end
......
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