summaryrefslogtreecommitdiffstats
path: root/platform/windows/detect.py
Commit message (Collapse)AuthorAgeFilesLines
* Drop RtAudio driver on WindowsRémi Verschelde2019-02-201-3/+3
| | | | | | | | | | | | We've been defaulting to WASAPI since 3.0 and it's superior to RtAudio in all aspects. Obsoletes and closes #25503. Also enable WINMIDI on MinGW, this had been missed initially. Fix os_windows.cpp and crash_handler_windows.cpp which had weird dependencies on RtAudio.h's includes (ugh).
* Fix compiling with use_mingw flag on WindowsMarcelo Fernandez2019-02-191-2/+2
|
* Set WINVER and _WIN32_WINNT values in VS projectMarcin Zawiejski2019-01-221-2/+2
| | | | | While looking into a different issue, I've noticed that Visual Studio Intellisense does not work well for Godot project when using Windows Vista+ APIs (e.g. CreateThreadpool), i.e. it does not recognise the APIs because they are defined in Windows header files for Vista+ only. This is because the WINVER and _WIN32_WINNT symbols don't have their values set in the generated Godot project file. This fixes the problem by setting the values when generating the project file.
* Raised executable priority on windows to avoid stuter, helps #25162Juan Linietsky2019-01-221-2/+2
|
* SCons: Properly set bits variable as string for MSVC detectionRémi Verschelde2018-12-041-2/+2
|
* Remove trailing whitespaceRémi Verschelde2018-11-201-2/+2
| | | | | With `sed -i $(rg -l '[[:blank:]]*$' -g'!thirdparty') -e 's/[[:blank:]]*$//g'` (+ manual revert of some thirdparty code under `platform/android`).
* Fix libwebsockets 32-bits UWP builds.Fabio Alessandrelli2018-09-131-2/+2
| | | | Also fix bogus windows detect.py
* SCons: Disable min/max WinDef.h macros on MSVCRémi Verschelde2018-08-241-0/+1
| | | | Fixes #21370.
* CI: Disable debug_symbols on Travis/AppVeyorRémi Verschelde2018-08-211-6/+0
| | | | | | | | | Also increase AppVeyor cache size to 1024, should match what is available for us in the free plan: https://www.appveyor.com/docs/build-cache/#cache-size-beta And drop obsolete debug_release option for Windows, superseded by target=release and debug_symbols=yes.
* Support debug_symbols in VS optimized buildselasota2018-08-191-0/+6
|
* Merge pull request #20154 from marcelofg55/midi_driverRémi Verschelde2018-07-251-1/+2
|\ | | | | Added a new MIDIDriver class
| * Added a new MIDIDriver classMarcelo Fernandez2018-07-211-1/+2
| |
* | -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