diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-06-13 18:47:00 +0200 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-06-13 18:47:00 +0200 |
commit | c91de71d69265a0d619b25d0c04ae1adb0785f33 (patch) | |
tree | 83176a79b8ed2d83f962758972e5a37a69d8259d /SConstruct | |
parent | a6417af853180b5568c7f96c903057dd2c454204 (diff) |
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -2,16 +2,22 @@ env = Environment( LIBS = ['ARgsub_lite', 'ARvideo', 'AR', 'assimp'], ) -common_sources = ['application.cpp', 'videoprovider.cpp', 'hcoord.cpp', 'pattern.cpp', 'texture.cpp', 'texturesdl.cpp'] +common_sources = ['application.cpp', 'videoprovider.cpp', 'hcoord.cpp', 'pattern.cpp'] if env['PLATFORM'] == 'darwin': env.Append(CPPFLAGS = '-m32') env.Append(LINKFLAGS = '-m32') + env.Append(CPPPATH = ['.']) env.Append(FRAMEWORKS = ['SDL', 'SDL_image', 'Cocoa', 'OpenGL', 'QuickTime', 'Carbon', 'AppKit']) - common_sources.append('SDLMain.m') else: env.Append(LIBS = ['GL', 'GLU', 'SDL', 'SDL_image', 'SDLmain', 'gstreamer-0.10']) +Export('env') + +env.SConscript('wriggle/SConscript') +env.Append(LIBS = ['wriggle']) +env.Append(LIBPATH = ['wriggle']) + env.Program('foo', ['foo.cpp'] + common_sources) env.Program('assimp', ['assimp.cpp'] + common_sources) |