summaryrefslogtreecommitdiffstats
path: root/platform/x11/detect.py
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* SCons: Allow unbundling libwebsockets and miniupnpcRémi Verschelde2018-06-071-12/+18
|
* Merge pull request #14622 from bruvzg/non-rectangular-windowsHein-Pieter van Braam2018-05-081-0/+6
|\ | | | | Experimental support for windows with per-pixel transparency.
| * Experimental support for windows with per-pixel transparency (macOS, X11 and ↵bruvzg2018-04-071-0/+6
| | | | | | | | Windows).
* | Added new audio device functions to set/get the audio deviceMarcelo Fernandez2018-03-261-2/+2
|/
* X11: Link libgcc statically with use_static_cpp optionRémi Verschelde2018-02-161-3/+3
| | | | | | | | | We were already linking libstdc++ statically for official binaries, protecting us against most portability issues. But apparently since we started using GCC 7 for official builds, we also need to link libgcc statically for at least 32-bit builds to be portable. Fixes #16409.
* Allow building with system wide mbedtls on X11Fabio Alessandrelli2018-02-141-0/+4
| | | | | Using builtin_mbedtls=yes is still the default as many distributions do not ship with mbedtls included.
* Deleting OpenSSL module and libraryFabio Alessandrelli2018-02-141-4/+0
|
* 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.
* Bullet: allow unbundling only if > 2.87Rémi Verschelde2018-01-261-3/+3
| | | | | Looks like we are using cutting edge methods which are not even if the current stable 2.87.
* SCons: Allow unbundling bullet on Linux (only 2.87+)Rémi Verschelde2018-01-131-0/+10
|
* 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.
* -Removed OpenMP support, replaced by a custom class.Juan Linietsky2017-12-241-4/+0
| | | | -Disabled Opus, implementation is wrong.
* Do not require OpenMP for non-tools builds (export templates)Rémi Verschelde2017-12-221-1/+1
|
* openmp: Simplify linking on X11, fixing clang buildRémi Verschelde2017-12-141-2/+1
|
* openmp: Don't try to link GCC's implementation on ClangRémi Verschelde2017-12-141-2/+3
| | | | | Also disable openmp build on Travis, breaks on Trusty's Clang. Group deps more naturally.
* Added indent_style to editorconfig, fixed inconsistent use of tabs and ↵Colin Kinloch2017-12-141-2/+2
| | | | spaces in indentation.
* -Add lightmapperJuan Linietsky2017-12-141-0/+6
| | | | | | -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)
* Implement multitouch on X11Pedro J. Estébanez2017-12-061-0/+9
|
* Cleanup old references to GLES2 rendererRémi Verschelde2017-11-191-1/+1
| | | | | | | | | There are still some left in the Android Java code, even stuff to swap between GLES1 and GLES2 support from early Godot days... would be good to see some cleanup there too one day. The "graphics/api" option for Android exports is removed, as only GLES 3.0 is supported. It can be readded when GLES 2.0 support comes back. Fixes #13004.
* SCons: make use_lto a global option and opt-in for iphoneRémi Verschelde2017-11-021-1/+0
| | | | Supersedes #12553, see discussion in #12552.
* Travis: Simplify matrix, disable iphone and add X11 tools=no/clangRémi Verschelde2017-10-271-0/+4
| | | | | | | Travis always has massive backlog of macOS builds, so we can't rely on them too much. The iphone build was mostly useful to spot tools=no or target=release_debug issues, so replacing it by an appropriate X11 build.
* Fix BSD compile issuesMarcelo Fernandez2017-10-171-0/+3
|
* 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-16/+16
|
* Use BoolVariable for third-party options.Elliott Sales de Andrade2017-09-251-27/+27
|
* Use BoolVariable in target/component/advanced options.Elliott Sales de Andrade2017-09-251-1/+1
|
* Use EnumVariable for choice-based build options.Elliott Sales de Andrade2017-09-251-1/+2
|
* Merge pull request #11519 from hpvb/fix-gcc-ltoRémi Verschelde2017-09-241-0/+3
|\ | | | | | | | | Fix gcc lto [ci skip]
| * Fix gcc ltoHein-Pieter van Braam2017-09-231-0/+3
| | | | | | | | | | 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.
* | Merge pull request #11527 from QuLogic/system-zstdRémi Verschelde2017-09-241-0/+3
|\ \ | | | | | | Enable building against system zstd.
| * | Enable building against system zstd.Elliott Sales de Andrade2017-09-231-0/+3
| |/
* / Add support for OpenSSL 1.1.0.Elliott Sales de Andrade2017-09-241-9/+0
|/ | | | | | | | This release hides many struct members which provides easier forward compatibility but is a break from previous releases. A few small macros provide compatibility between both 1.1.0 and 1.0.x. Fixes #8624.
* Create separate debug info files by defaultHein-Pieter van Braam2017-09-161-5/+8
| | | | | | | | | | | | | | | | | | | | | | 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.
* Added a crash handler to dump the backtrace on Windows, Linux and OS XMarcelo Fernandez2017-09-131-0/+1
|
* Merge pull request #10148 from leezh/pcre2Rémi Verschelde2017-08-311-0/+5
|\ | | | | Replacement of internal RegEx with PCRE2
| * Replacement of internal RegEx with PCRE2Zher Huei Lee2017-08-191-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Disable -ffast-math for etc2compHein-Pieter van Braam2017-08-301-1/+3
|/ | | | | | | | | | | Apparently -ffast-math generates incorrect code with recent versions of GCC and Clang. The manual page for GCC warns about this possibility. In my tests it doesn't actually appear to be measurably slower in this case, and this is used in a batch process so it seems safe to disable this. This fixes #10758 and fixes #10070
* Buildsystem: Improve detect.py readability and fix issuesRémi Verschelde2017-07-011-86/+65
| | | | | | | | | | | | | | | | | | | 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
* X11: Abort build if using OpenSSL 1.1.0+Rémi Verschelde2017-05-061-0/+9
| | | | Workaround until #8624 is fixed.
* SCons: Add option to toggle warnings (on by default)Rémi Verschelde2017-03-261-2/+2
| | | | | | | | 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)
* Use -Ofast on x11. Also introduced use_lto option.Ferenc Arn2017-01-261-9/+16
| | | | | | | | debug_release doesn't turn off optimizations for release target now. Ensure that sanitizer options apply to both C and C++ files. Built-in optimization/debug flags are prepended such that user-specified flags can override them. Based on and around the discussion in PR #5194.
* x11: Improve logic for cross-dependencies between freetype, zlib and libpngRémi Verschelde2017-01-081-2/+13
| | | | Fixes #7373.
* Remove bundled glew, obsoleted by gladRémi Verschelde2017-01-061-3/+0
| | | | | Also make Haiku load the glad header for GLES3 too, though I haven't test it.
* Merge remote-tracking branch 'origin/gles3' into gles3-on-masterRémi Verschelde2017-01-021-3/+4
|\ | | | | | | | | Various merge conflicts have been fixed manually and some mistakes might have been made - time will tell :)
| * Begining of GLES3 renderer:Juan Linietsky2016-10-031-3/+3
| | | | | | | | | | | | | | | | -Most 2D drawing is implemented -Missing shaders -Missing all 3D -Editor needs to be set on update always to be used, otherwise it does not refresh -Large parts of editor not working
* | png: Allow building shared freetype with bundled libpngRémi Verschelde2016-11-191-1/+0
| | | | | | | | | | | | This was the behaviour when building Godot 2.1, which allows to build against Ubuntu 12.04 and its freetype that links old libpng12, while still bundling libpng16.
* | Revert "libpng: Fix erroneously linking against libpng12 on old distros"Rémi Verschelde2016-11-191-1/+1
| | | | | | | | | | | | | | | | | | This reverts commits 5fa1bb331ad9be31dbfc752c7d19ccf7caeb8fa and ec4be71fade1ee5c6171e323d09197f3bf528499. Looks like Debian/Ubuntu are not even shipping libpng16 nowadays in their stable releases, we'll have to go back to statically linking our own libpng16 to wait for them to stop being 5 years behind everybody.
* | libpng: Fix erroneously linking against libpng12 on old distrosRémi Verschelde2016-11-191-1/+1
| | | | | | | | | | This bit us for 2.1.1 binaries built on Ubuntu 12.04 LTS where libpng.pc apparently prioritizes libpng12.
* | scons: Reorder options for clarityRémi Verschelde2016-11-031-20/+21
| | | | | | | | Also prefix all thirdparty-related toggles with `builtin`.