Mercurial > fife-parpg
comparison SConstruct @ 486:2aaa22475acd
Debug is now automatically enabled when you build with profiling enabled.
author | prock@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Mon, 03 May 2010 15:56:00 +0000 |
parents | 10ac0c080564 |
children | a21915a97237 |
comparison
equal
deleted
inserted
replaced
485:d365eb58f3d6 | 486:2aaa22475acd |
---|---|
81 default=False) | 81 default=False) |
82 | 82 |
83 AddOption('--enable-profile', | 83 AddOption('--enable-profile', |
84 dest='enable-profile', | 84 dest='enable-profile', |
85 action="store_true", | 85 action="store_true", |
86 help='Build with profiling information', | 86 help='Build with profiling information. This automatically enables debug.', |
87 default=False) | 87 default=False) |
88 | 88 |
89 AddOption('--prefix', | 89 AddOption('--prefix', |
90 dest='prefix', | 90 dest='prefix', |
91 nargs=1, type='string', | 91 nargs=1, type='string', |
132 rend_grid = 1 | 132 rend_grid = 1 |
133 else: | 133 else: |
134 rend_grid = 0 | 134 rend_grid = 0 |
135 | 135 |
136 if GetOption('enable-profile'): | 136 if GetOption('enable-profile'): |
137 debug = 1 | |
137 profile = 1 | 138 profile = 1 |
138 else: | 139 else: |
139 profile = 0 | 140 profile = 0 |
140 | 141 |
141 #************************************************************************** | 142 #************************************************************************** |