comparison tests/core_tests/SConscript @ 0:4a0efb7baf70

* Datasets becomes the new trunk and retires after that :-)
author mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222
date Sun, 29 Jun 2008 18:44:17 +0000
parents
children 4c8334b0ab30
comparison
equal deleted inserted replaced
-1:000000000000 0:4a0efb7baf70
1 import glob, sys
2
3 Import('env')
4
5 env = env.Copy()
6 env.Append(CPPPATH = ['#/engine/core'])
7 env.Append(LIBPATH = ['#/engine/core'])
8
9 env.Append(LIBS = ['libfife','boost_unit_test_framework'])
10
11 if sys.platform == 'darwin':
12 env.Append(LIBPATH = ['/System/Library'])
13 env.Append(LINKFLAGS='-framework SDL')
14 env.Append(LINKFLAGS='-framework SDL_image')
15 env.Append(LINKFLAGS='-framework SDL_ttf')
16 env.Append(LINKFLAGS=['-Wl'])
17 else:
18 env.Append(LINKFLAGS=['-Wl,-rpath,../../ext/install/lib,-rpath,../../engine'])
19
20 # The test_all.py script relies on this specific layout.
21 # Check it, if you change something here
22 env.Program('testprog_rect', ['test_rect.cpp'])
23 env.Program('testprog_dat1', ['test_dat1.cpp'])
24 env.Program('testprog_dat2', ['test_dat2.cpp'])
25 env.Program('testprog_gui', ['test_gui.cpp'])
26 env.Program('testprog_images', ['test_images.cpp'])
27 env.Program('testprog_imagepool', ['test_imagepool.cpp'])
28 env.Program('testprog_vfs', ['test_vfs.cpp'])
29
30
31 if env['zip']:
32 env.Program('testprog_zip', ['test_zip.cpp'])
33
34 # vim: set filetype=python :