OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # | 2 # |
3 # ***** BEGIN GPL LICENSE BLOCK ***** | 3 # ***** BEGIN GPL LICENSE BLOCK ***** |
4 # | 4 # |
5 # This program is free software; you can redistribute it and/or | 5 # This program is free software; you can redistribute it and/or |
6 # modify it under the terms of the GNU General Public License | 6 # modify it under the terms of the GNU General Public License |
7 # as published by the Free Software Foundation; either version 2 | 7 # as published by the Free Software Foundation; either version 2 |
8 # of the License, or (at your option) any later version. | 8 # of the License, or (at your option) any later version. |
9 # | 9 # |
10 # This program is distributed in the hope that it will be useful, | 10 # This program is distributed in the hope that it will be useful, |
(...skipping 10 matching lines...) Expand all Loading... |
21 # | 21 # |
22 # The Original Code is: all of this file. | 22 # The Original Code is: all of this file. |
23 # | 23 # |
24 # Contributor(s): Nathan Letwory. | 24 # Contributor(s): Nathan Letwory. |
25 # | 25 # |
26 # ***** END GPL LICENSE BLOCK ***** | 26 # ***** END GPL LICENSE BLOCK ***** |
27 | 27 |
28 Import ('env') | 28 Import ('env') |
29 | 29 |
30 objs = [] | 30 objs = [] |
| 31 defs = [] |
31 | 32 |
32 o = SConscript('intern/SConscript') | 33 o = SConscript('intern/SConscript') |
33 objs += o | 34 objs += o |
34 | 35 |
35 incs = '#/intern/guardedalloc . ../blenlib' | 36 incs = '#/intern/guardedalloc . ../blenlib' |
36 | 37 |
37 env.BlenderLib ( 'bf_dna', objs, Split(incs), [], libtype=['core','player'], pri
ority = [215,200] ) | 38 if env['WITH_BF_FREESTYLE']: |
| 39 defs.append('WITH_FREESTYLE') |
| 40 |
| 41 env.BlenderLib ( 'bf_dna', objs, Split(incs), defs, libtype=['core','player'], p
riority = [215,200] ) |
OLD | NEW |