diff options
author | George Marques <george@gmarqu.es> | 2015-10-02 14:20:50 -0300 |
---|---|---|
committer | George Marques <george@gmarqu.es> | 2015-10-02 14:25:38 -0300 |
commit | 6e87314d83a9beab56fdd115277e230ef683c53d (patch) | |
tree | 31f1ec4669cf2e54162d4b68ba2edbea95751ee6 /SConstruct | |
parent | 2c45ee5e1ce939bcef32129ac01944f3995269f4 (diff) | |
download | redot-engine-6e87314d83a9beab56fdd115277e230ef683c53d.tar.gz |
Add support for Opus audio format
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct index 9cce6edd81..0087d97af3 100644 --- a/SConstruct +++ b/SConstruct @@ -102,6 +102,7 @@ opts.Add('p','Platform (same as platform=).',"") opts.Add('tools','Build Tools (Including Editor): (yes/no)','yes') opts.Add('gdscript','Build GDSCript support: (yes/no)','yes') opts.Add('vorbis','Build Ogg Vorbis Support: (yes/no)','yes') +opts.Add('opus','Build Opus Audio Format Support: (yes/no)','yes') opts.Add('minizip','Build Minizip Archive Support: (yes/no)','yes') opts.Add('squish','Squish BC Texture Compression in editor (yes/no)','yes') opts.Add('theora','Theora Video (yes/no)','yes') @@ -299,6 +300,8 @@ if selected_platform in platform_list: if (env['vorbis']=='yes'): env.Append(CPPFLAGS=['-DVORBIS_ENABLED']); + if (env['opus']=='yes'): + env.Append(CPPFLAGS=['-DOPUS_ENABLED']); if (env['theora']=='yes'): env.Append(CPPFLAGS=['-DTHEORA_ENABLED']); |