summaryrefslogtreecommitdiff
path: root/SConstruct
blob: c1c0867e9e34002945df02b1859378cfc1032af5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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')

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