summaryrefslogtreecommitdiffstats
path: root/SConstruct
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2016-06-28 13:10:15 -0300
committerJuan Linietsky <reduzio@gmail.com>2016-06-28 13:10:15 -0300
commit5065e46381814746eeddb4c44b5eb1540b0331f8 (patch)
tree95f00c4e0e10d1765f5643a3f83e2e1938582253 /SConstruct
parent519fce94e97888d37efc11b44e6cc6cb01b51a3a (diff)
downloadredot-engine-5065e46381814746eeddb4c44b5eb1540b0331f8.tar.gz
Change method of storing folding, solves problems with inheritance, closes #3395
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct4
1 files changed, 4 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 691536c956..01b1f2ce8e 100644
--- a/SConstruct
+++ b/SConstruct
@@ -144,6 +144,7 @@ opts.Add('unix_global_settings_path', 'unix-specific path to system-wide setting
opts.Add('disable_3d', 'Disable 3D nodes for smaller executable (yes/no)', "no")
opts.Add('disable_advanced_gui', 'Disable advance 3D gui nodes and behaviors (yes/no)', "no")
opts.Add('colored', 'Enable colored output for the compilation (yes/no)', 'no')
+opts.Add('deprecated','Enable deprecated features (yes/no)','yes')
opts.Add('extra_suffix', 'Custom extra suffix added to the base filename of all generated binary files.', '')
opts.Add('vsproj', 'Generate Visual Studio Project. (yes/no)', 'no')
@@ -179,6 +180,9 @@ if (env_base['target']=='debug'):
env_base.Append(CPPFLAGS=['-DDEBUG_MEMORY_ALLOC']);
env_base.Append(CPPFLAGS=['-DSCI_NAMESPACE'])
+if (env_base['deprecated']!='no'):
+ env_base.Append(CPPFLAGS=['-DENABLE_DEPRECATED']);
+
env_base.platforms = {}