summaryrefslogtreecommitdiff
path: root/SConstruct
blob: fa93204d700a0a57f23bbd9c5a28e8314e496d07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
env = Environment(
	LIBS = ['ARgsub_lite', 'ARvideo', 'AR', 'png'],
)

common_sources = ['texture.cpp', 'texturepng.cpp']

if env['PLATFORM'] == 'darwin':
	env.Append(CPPFLAGS = '-m32')
	env.Append(LINKFLAGS = '-m32')
	env.Append(FRAMEWORKS = ['SDL', 'Cocoa', 'OpenGL', 'QuickTime', 'Carbon', 'AppKit'])
	common_sources.append('SDLMain.m')
else:
	env.Append(LIBS = ['GL', 'GLU', 'SDL', 'SDLmain', 'gstreamer-0.10'])

env.Program('foo', ['foo.cpp'] + common_sources)