summaryrefslogtreecommitdiffstats
path: root/platform/windows/detect.py
Commit message (Collapse)AuthorAgeFilesLines
...
* | -Fix disable_3d flagJuan Linietsky2018-07-211-7/+21
|/ | | | -Add extra flag optimize=[size,speed] to be able to prioritize size
* Style fixes for commit d5bb6faaRémi Verschelde2018-06-131-1/+1
|
* -Make sure that ProjectSettings are properly dumped when dumping docs.Juan Linietsky2018-06-111-1/+1
| | | | | | -Documented all properties of project settings Update documentation for ProjectSettings
* Tweak some help texts in the build systemHugo Locurcio2018-06-071-2/+2
| | | | | This also removes `unix_global_settings_path` from SConstruct since it is no longer used.
* Windows detect.py: Detect missing WindowsSdkDirMax Hilbrunner2018-05-071-2/+8
|
* Fix MinGW cross-buildbruvzg2018-03-151-2/+3
|
* Added missing import BoolVariableBastiaan Olij2018-03-151-1/+1
| | | | Didn't like the missing BoolVariable :)
* Enable SCons to autodetect Windows MSVC compilerGary Oberbrunner2018-03-131-172/+228
| | | | | | | | | | | | | | | | | | | | | | | | | | | | SCons has good compiler detection logic for MSVC compilers. Up to now, Godot hasn't used it; it depends on passed-in OS environment vars from a specific Visual Studio cmd.exe windows. This makes it harder to build from a msys or cygwin shell. This change allows SCons to autodetect Visual Studio unless it sees VCINSTALLDIR in the os.environ. It also adds a 'msvc_version' arg for manual specification of compiler version, and uses the existing 'bits' arg to specify the target architecture. More detail could be added as desired. It also adds 'use_mingw' to always use mingw, even if Visual Studio is installed. That uses the existing mingw setup logic. If people are used to building Godot in a Visual Studio cmd window, this should not change the behavior in that case, since VCINSTALLDIR will be set in those windows. (However, note that you could now unset that var and build with any other MSVC version or target arch, even in that window.) I refactored much of platform/windows/detect.py during this, to simplify and clarify the logic. I also cleaned up a bunch of env var settings in windows/detect.py and SConstruct to use modern SCons idioms and simplify things. I suspect this will also enable using the Intel compiler on Windows, though that hasn't been tested.
* Fix typos with codespellluz.paz2018-02-211-2/+2
| | | | | | | | | | | | | | Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt` Whitelist consists of: ``` ang doubleclick lod nd que te unselect ```
* Link bcrypt lib in window and UWPFabio Alessandrelli2018-02-201-2/+2
|
* Windows: Fix case of imm32 for case-sensitive MinGW buildRémi Verschelde2018-02-151-2/+2
| | | | Fixes #16713.
* Windows: implement OS.get_unique_id and OS.set_ime_positiongeequlim2018-01-311-2/+2
|
* Make separate debug symbols opt-inHein-Pieter van Braam2018-01-261-0/+1
| | | | | | | This adds a separate_debug_symbols option to the x11, windows, and osx targets. This will default to adding normal debugging symbols to the artifacts and only splits them when separate_debug_symbols=yes on the Scons command line.
* SCons: Fix usage of LD when we meant LINKRémi Verschelde2018-01-051-1/+1
| | | | | | | Also made LINK and CXXFLAGS configurable as command line options. Note that LINK currently expects the *compiler* that will be used for linking and will call its configured linker behind the scenes (so g++, clang++, etc., not ld.gold). See #15364 for details.
* Improve LTO build with MSVCGeorge Marques2017-12-311-1/+5
|
* -Removed OpenMP support, replaced by a custom class.Juan Linietsky2017-12-241-5/+0
| | | | -Disabled Opus, implementation is wrong.
* Do not require OpenMP for non-tools builds (export templates)Rémi Verschelde2017-12-221-2/+2
|
* Add support for whole program optimization on MSVCGeorge Marques2017-12-161-0/+3
| | | | Since it's similar to LTO, it can be enabled by setting use_lto=yes.
* Fix 32bit MingW build for thekla_altasHein-Pieter van Braam2017-12-151-1/+1
|
* Added indent_style to editorconfig, fixed inconsistent use of tabs and ↵Colin Kinloch2017-12-141-5/+5
| | | | spaces in indentation.
* -Add lightmapperJuan Linietsky2017-12-141-0/+7
| | | | | | -Fixes to unwrapper (remove degenerates), makes Thekla not crash -Added optional cancel button in EditorProgress -Added function to force processing of events (needed for cancel button)
* Fix windows compilation when using MinGWMrCdK2017-12-071-1/+1
|
* Add build param for targeted Windows versionPedro J. Estébanez2017-12-061-6/+5
|
* SCons: make use_lto a global option and opt-in for iphoneRémi Verschelde2017-11-021-1/+0
| | | | Supersedes #12553, see discussion in #12552.
* detect.py: Fix KeyError if using MinGW and LTOmhilbrunner2017-10-271-4/+1
|
* Cleanup unnecessary debug printsRémi Verschelde2017-10-211-1/+0
|
* Reduce gcc lto build time by telling the linker toFelix M. Cobos2017-09-261-1/+4
| | | | use the number of jobs indicated by -j
* Use BoolVariable in platform-specific options.Elliott Sales de Andrade2017-09-251-3/+3
|
* Use EnumVariable for choice-based build options.Elliott Sales de Andrade2017-09-251-1/+2
|
* Fix gcc ltoHein-Pieter van Braam2017-09-231-2/+7
| | | | | This repairs LTO on X11 and adds it to MingW targets. The difference in linktime is substantial, but runtime performance is quite a bit better.
* Create separate debug info files by defaultHein-Pieter van Braam2017-09-161-1/+11
| | | | | | | | | | | | | | | | | | | | | | Now that we have a built-in stacktrace on a segfault it would be useful to have debug information on debug_release builds so that bugreports can include this information. Without this debug info we will still get function names in the backtrace but not file location. This commit will by default build all targets with minimal debug info and then strip the information into separate files. On MacOS this is a .dSYM file, on Linux/MingW this is a .debug file. MacOSX will automatically load a dSYM file if it exists in its debugger. On Linux/MingW we create a 'gnu debuglink' meaning that gdb and friends will automatically find the debug symbols if they exist. Existing workflow for developers does not change at all, except that we now create two instead of one build artifact by default. This commit also adds a 'debug_symbols' option to X11, MacOS, and MingW targets. The default is 'yes' which corresponds to -g1. The alternatives are 'no' (don't generate debug infos at all) or 'full' which runs with -g2. A target=debug build will now build with -g3.
* Buildsystem: Windows cross-compilation on Linux defaults to 64-bitRémi Verschelde2017-09-131-3/+6
|
* Added a crash handler to dump the backtrace on Windows, Linux and OS XMarcelo Fernandez2017-09-131-1/+1
|
* Added new WASAPI driver for WindowsMarcelo Fernandez2017-08-271-1/+3
|
* Windows: Drop support for obsolete MinGWRémi Verschelde2017-08-181-35/+20
| | | | | | | | The version we support is MinGW-w64: https://sourceforge.net/p/mingw-w64 The old original MinGW from which it was forked (https://sourceforge.net/projects/mingw), is no longer maintained and useless for us. Fixes #10396.
* Windows: Drop support for Vista (0x0600)Rémi Verschelde2017-08-181-2/+4
| | | | | | | | | | | We need the efficient SRWLock methods which are not supported on Vista, and loading them dynamically while providing fallbacks is not worth the effort. Closes #10243. Sorry Vista users... As you are running a supported which is no longer supported by Microsoft (https://support.microsoft.com/en-us/help/13853/windows-lifecycle-fact-sheet), we can only encourage you to upgrade to a more recent version if you can, or switch to Linux, which should give your old hardware a new youth.
* Make MinGW test less verbose on non-Bash shellsRémi Verschelde2017-07-251-9/+2
| | | | | The &> construct seems to be Bash-specific. Supersedes #9755.
* Buildsystem: Improve detect.py readability and fix issuesRémi Verschelde2017-07-011-195/+77
| | | | | | | | | | | | | | | | | | | Tried to organize the configure(env) calls in sections, using the same order for all platforms whenever possible. Apart from cosmetic changes, the following issues were fixed: - Android: cleanup linkage, remove GLESv1_CM and GLESv2 - iPhone: Remove obsolete "ios_gles22_override" option - OSX: * Fix bits detection (default to 64) and remove obsolete "force_64_bits" option (closes #9449) * Make "fat" bits argument explicit - Server: sync with X11 - Windows: clean up old DirectX 9 stuff - X11: * Do not require system OpenSSL for building (closes #9443) * Fix typo'ed use_leak_sanitizer option * Fix .llvm suffix overriding custom extra_suffix
* -Fix eternal black screen on WindowsJuan Linietsky2017-04-091-1/+1
| | | | -Disabled warnings on windows, need to properly set up warnings
* SCons: Add option to toggle warnings (on by default)Rémi Verschelde2017-03-261-1/+1
| | | | | | | | 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)
* Fix typos in source code using codespellRémi Verschelde2017-03-241-1/+1
| | | | From https://github.com/lucasdemarchi/codespell
* Improvements to scons defined WINVER/_WIN32_WINNTFabio Alessandrelli2017-01-121-1/+3
|
* Merge pull request #7493 from neikeq/pr-mingw-bitsRémi Verschelde2017-01-101-1/+1
|\ | | | | Detect bits when building with MinGW
| * Detect bits when building with MinGWIgnacio Etcheverry2017-01-101-1/+1
| |
* | Windows: Define _WIN32_WINRT to 0x0600 (Vista)Rémi Verschelde2017-01-081-0/+4
| | | | | | | | | | | | | | | | Passed as a compiler define to be sure it is always define before windows.h is loaded. This means that Godot officially requires Vista API or later, it will not work on Windows XP or earlier. Also fix a bogus check for Windows 7 API.
* | Merge remote-tracking branch 'origin/gles3' into gles3-on-masterRémi Verschelde2017-01-021-2/+2
|\ \ | |/ |/| | | | | Various merge conflicts have been fixed manually and some mistakes might have been made - time will tell :)
| * Godot works on Windows again..reduz2016-12-211-2/+2
| |
* | scons: Reorder options for clarityRémi Verschelde2016-11-031-2/+0
| | | | | | | | Also prefix all thirdparty-related toggles with `builtin`.
* | style: Various other PEP8 fixes in Python filesRémi Verschelde2016-11-011-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | 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).
* | style: Fix PEP8 blank lines issues in Python filesRémi Verschelde2016-11-011-10/+7
| | | | | | | | | | | | | | | | | | | | | | 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.