summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2010-02-27 23:48:41 +0100
committerVegard Storheil Eriksen <zyp@jvnv.net>2010-02-27 23:48:41 +0100
commit77361abc13c02469d41af5d937adf517ac5326b9 (patch)
tree2d2fa8316867349413764dee21eade239fe8d8ce /SConstruct
parentb353185ff989e2dd058284dc5b1a6d5d6197bcbd (diff)
Added SDL_image based texture loader.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct4
1 files changed, 2 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct
index df0a150..80e5275 100644
--- a/SConstruct
+++ b/SConstruct
@@ -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'])