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

Adding softs to the build list in scons

parent cd59417b
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',
libs = []
if( == 'posix'):
libs = ['rt', 'dl']
env.StaticLibrary('../build/core', sources)
env.StaticLibrary('../build/core', sources, LIBS=libs)
import os
env = Environment()
env.Append(CPPPATH = ['../../', '../../../external/build/include'])
# Soft Sources
sources = ['main.cpp']
libs = ['core']
if( == 'posix'):
libs.append(['rt', 'dl'])
env.Program('../../build/data2brdf', sources, LIBS=libs, LIBPATH=['../../build'])
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