diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-02-27 23:48:41 +0100 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-02-27 23:48:41 +0100 |
commit | 77361abc13c02469d41af5d937adf517ac5326b9 (patch) | |
tree | 2d2fa8316867349413764dee21eade239fe8d8ce /SConstruct | |
parent | b353185ff989e2dd058284dc5b1a6d5d6197bcbd (diff) |
Added SDL_image based texture loader.
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2,12 +2,12 @@ env = Environment( LIBS = ['ARgsub_lite', 'ARvideo', 'AR', 'png'], ) -common_sources = ['application.cpp', 'pattern.cpp', 'texture.cpp', 'texturepng.cpp'] +common_sources = ['application.cpp', 'pattern.cpp', 'texture.cpp', 'texturesdl.cpp'] if env['PLATFORM'] == 'darwin': env.Append(CPPFLAGS = '-m32') env.Append(LINKFLAGS = '-m32') - env.Append(FRAMEWORKS = ['SDL', 'Cocoa', 'OpenGL', 'QuickTime', 'Carbon', 'AppKit']) + env.Append(FRAMEWORKS = ['SDL', 'SDL_image', 'Cocoa', 'OpenGL', 'QuickTime', 'Carbon', 'AppKit']) common_sources.append('SDLMain.m') else: env.Append(LIBS = ['GL', 'GLU', 'SDL', 'SDLmain', 'gstreamer-0.10']) |