summaryrefslogtreecommitdiff
path: root/SConstruct
AgeCommit message (Collapse)Author
2017-11-16Cleanup of Visual Studio project generation (#12929)Roy Berube
Visual studio project file creation had some problems. Files with c extension were listed with cpp extension. Some include files that did not exist were added to the project. This change ensures a file exists before adding it to the project.
2017-11-15Improve code style of generated headersRémi Verschelde
2017-11-13Remove leading newline in SConstructGeorge Marques
Some editors don't recognize the shebang if it's not on the first line.
2017-11-02SCons: make use_lto a global option and opt-in for iphoneRémi Verschelde
Supersedes #12553, see discussion in #12552.
2017-11-01-Modules can now add custom version info (added it for Mono)Juan Linietsky
-Version string takes this version info -Ability to download templates from the interweb (listing does not work yet)
2017-10-07flatDir support [Android]Ramesh Ravone
2017-10-03Fix SConstruct check for config.is_enabled()Ignacio Etcheverry
2017-10-02Merge pull request #11753 from Listwon/IntellisenseAndreas Haas
Fix IntelliSense
2017-10-02Indentation Error neogaston
TabError: inconsistent use of tabs and spaces in indentation was fixed
2017-10-01Fix IntelliSenseBartłomiej T. Listwon
Fix the CPPPATH passed to MSVSProject. Uses SCons Dir() function to convert "#" paths http://www.scons.org/doc/0.97/HTML/scons-user/a3414.html#CV-CPPPATH
2017-10-01Ability to set a module enabled/disabled by default by adding is_enabled() ↵Juan Linietsky
to config.py
2017-09-25Use BoolVariable for module options.Elliott Sales de Andrade
2017-09-25Use BoolVariable for third-party options.Elliott Sales de Andrade
2017-09-25Use BoolVariable in target/component/advanced options.Elliott Sales de Andrade
2017-09-25Use EnumVariable for choice-based build options.Elliott Sales de Andrade
2017-09-24Bump required scons version to 0.98.1.Elliott Sales de Andrade
* Environment.AddPostAction() and the global AlwaysBuild() were added in 0.93, so requiring 0.14 is broken. * Environment.Decider and Glob were added in some intermediate 0.97 release. * The Variables object was added in 0.98.1.
2017-09-23Enable building against system zstd.Elliott Sales de Andrade
2017-09-16Fix errors in Python 3 buildMatthias Hoelzl
2017-09-13Merge pull request #11160 from marcelofg55/drive_funcs_x11Rémi Verschelde
Implemented DirAccess get_drive and get_drive_count for Linux
2017-09-13Merge pull request #7908 from SaracenOne/recastRémi Verschelde
In-editor navmesh generation.
2017-09-12Changed the doc class generation to individual files per class. It is also ↵Juan Linietsky
possible to save module files in module directories and the build system will recognize them.
2017-09-12Added check_c_headers to SCons env to check for the existence of headersMarcelo Fernandez
2017-09-04Recast integration.Saracen
2017-08-31Merge pull request #10148 from leezh/pcre2Rémi Verschelde
Replacement of internal RegEx with PCRE2
2017-08-29Generate project files for VS2017Matthias Hoelzl
2017-08-27Make build scripts Python3 compatibleMatthias Hoelzl
- The Windows, UWP, Android (on Windows) and Linux builds are tested with Scons 3.0 alpha using Python 3. - OSX and iOS should hopefully work but are not tested since I don't have a Mac. - Builds using SCons 2.5 and Python 2 should not be impacted.
2017-08-19Replacement of internal RegEx with PCRE2Zher Huei Lee
The pattern and replacement matching behaviour has been changed purely due to the nature of switching to a standards-compliant library. One mistake in the previous behaviour was that named groups didn't have a number. This has been corrected. As names are actually just an alias of numbered groups, RegExMatch::get_name_dict() is now get_names() and is a dict referring to the group number it represents. Duplicate names are enabled and the with the first matching instance used. Due the lack of a suitable equivalent in PCRE2, RegExMatch::expand() was removed.
2017-08-03Fix scons failing when not building sourcesMarcelo Fernandez
2017-07-27BUGFIX: Check for "VCINSTALLDIR" environment variable instead of ↵Brent Taylor
"VSINSTALLDIR".
2017-07-22Fix building HTML5 when cmd.exe is set up for MSVCL. Krause
2017-07-15Lots of work on Audio & Physics engine:Juan Linietsky
-Added new 3D stream player node -Added ability for Area to capture sound from streams -Added small features in physics to be able to properly guess distance to areas for sound -Fixed 3D CollisionObject so shapes are added the same as in 2D, directly from children -Fixed KinematicBody API to make it the same as 2D.
2017-07-11Add options for more human-friendly build outputTimo Schwarzer
2017-07-07Increase SCons rebuild speedGeorge Marques
2017-06-25BuildSystem: generated files have .gen.extensionPoommetee Ketson
2017-05-27Rework warning levelsPedro J. Estébanez
Now you have: extra, all (the default), moderate, no. The old 'yes' option is still supported, but a warning will be printed and 'all' will be assumed. The different options will translate to the following: MSVC: extra -> /Wall (implies /W4) all -> /W3 + disable non-essential (*) moderate -> /W2 + disable non-essential (*) no -> /w GCC/Clang: extra -> -Wall -Wextra all -> -Wall moderate -> -Wall -Wno-unused no -> -w * = Truncations, narrowing conversions...: /wd4267 /wd4244 /wd4305 /wd4800
2017-04-09-Fix eternal black screen on WindowsJuan Linietsky
-Disabled warnings on windows, need to properly set up warnings
2017-03-26SCons: Add option to toggle warnings (on by default)Rémi Verschelde
All the warnings are factored out of the platform-specific files and moved to SConstruct. Will have to check that it does not introduce regressions on some platforms/compilers. (cherry picked from commit 31107daa1a41fe9ab3c7c1868479e78e16848333)
2017-03-24Fix typos in source code using codespellRémi Verschelde
From https://github.com/lucasdemarchi/codespell
2017-03-18android: adding classpath and gradle pluginsRamesh Mani Maran
2017-03-05Refactoring: rename tools/editor/ to editor/Rémi Verschelde
The other subfolders of tools/ had already been moved to either editor/, misc/ or thirdparty/, so the hiding the editor code that deep was no longer meaningful.
2017-02-09Reorder the folders in tools to prepare moving tools/editorRémi Verschelde
- `certs` and `editor_fonts` go to `thirdparty` - `dist` and `scripts` go to a new `misc` folder - `collada` and `doc` go to `tools/editor` The next step will be to rename `tools/editor` to `editor` directly, but this will be done at the right time to avoid breaking too many PRs.
2017-01-11Remove libmpcdec bundled lib, no longer usedRémi Verschelde
Musepack support was removed in 857c50db70ba52723214eca4639fe230fd827864.
2017-01-08Move core engine tests to core/Rémi Verschelde
2017-01-06Remove bundled glew, obsoleted by gladRémi Verschelde
Also make Haiku load the glad header for GLES3 too, though I haven't test it.
2017-01-02Merge remote-tracking branch 'origin/gles3' into gles3-on-masterRémi Verschelde
Various merge conflicts have been fixed manually and some mistakes might have been made - time will tell :)
2016-11-03scons: Reorder options for clarityRémi Verschelde
Also prefix all thirdparty-related toggles with `builtin`.
2016-11-01style: Various other PEP8 fixes in Python filesRémi Verschelde
Done with `autopep8 --select=E7`, fixes: - E701 - Put colon-separated compound statement on separate lines. - E702 - Put semicolon-separated compound statement on separate lines. - E703 - Put semicolon-separated compound statement on separate lines. - E711 - Fix comparison with None. - E712 - Fix (trivial case of) comparison with boolean. - E713 - Fix (trivial case of) non-membership check. - E721 - Fix various deprecated code (via lib2to3).
2016-11-01style: Fix PEP8 blank lines issues in Python filesRémi Verschelde
Done with `autopep8 --select=E3,W3`, fixes: - E301 - Add missing blank line. - E302 - Add missing 2 blank lines. - E303 - Remove extra blank lines. - E304 - Remove blank line following function decorator. - E309 - Add missing blank line. - W391 - Remove trailing blank lines.
2016-11-01style: Fix PEP8 whitespace issues in Python filesRémi Verschelde
Done with `autopep8 --select=E2,W2`, fixes: - E201 - Remove extraneous whitespace. - E202 - Remove extraneous whitespace. - E203 - Remove extraneous whitespace. - E211 - Remove extraneous whitespace. - E221 - Fix extraneous whitespace around keywords. - E222 - Fix extraneous whitespace around keywords. - E223 - Fix extraneous whitespace around keywords. - E224 - Remove extraneous whitespace around operator. - E225 - Fix missing whitespace around operator. - E226 - Fix missing whitespace around operator. - E227 - Fix missing whitespace around operator. - E228 - Fix missing whitespace around operator. - E231 - Add missing whitespace. - E231 - Fix various deprecated code (via lib2to3). - E241 - Fix extraneous whitespace around keywords. - E242 - Remove extraneous whitespace around operator. - E251 - Remove whitespace around parameter '=' sign. - E261 - Fix spacing after comment hash. - E262 - Fix spacing after comment hash. - E265 - Format block comments. - E271 - Fix extraneous whitespace around keywords. - E272 - Fix extraneous whitespace around keywords. - E273 - Fix extraneous whitespace around keywords. - E274 - Fix extraneous whitespace around keywords. - W291 - Remove trailing whitespace. - W293 - Remove trailing whitespace.
2016-11-01style: Start applying PEP8 to Python files, indentation issuesRémi Verschelde
Done with `autopep8 --select=E1`, fixes: - E101 - Reindent all lines. - E112 - Fix under-indented comments. - E113 - Fix over-indented comments. - E115 - Fix under-indented comments. - E116 - Fix over-indented comments. - E121 - Fix a badly indented line. - E122 - Fix a badly indented line. - E123 - Fix a badly indented line. - E124 - Fix a badly indented line. - E125 - Fix indentation undistinguish from the next logical line. - E126 - Fix a badly indented line. - E127 - Fix a badly indented line. - E128 - Fix a badly indented line. - E129 - Fix a badly indented line.