Mat Sutcliffe
621f4c5add
Generate minimal debug symbols on Linux and Mac
2021-07-13 17:56:32 +01:00
Mat Sutcliffe
39d6100c87
[qmake] Inhibit noisy false warning on MinGW
2021-07-13 17:56:31 +01:00
Mat Sutcliffe
7955d0a06e
Remove workarounds for fixed bugs
2021-07-13 17:56:23 +01:00
Mat Sutcliffe
093138972a
Enable C++17
2021-07-13 17:52:01 +01:00
Roland Rossgotterer
308081cfcc
Enable MSFS 64 bit build
2021-07-13 17:51:59 +01:00
Mat Sutcliffe
9f67e1bbc2
Workaround for GCC 7 ignoring RPATH for transitive dependencies
2021-04-06 18:08:09 +01:00
Mat Sutcliffe
18286ccdb1
Fix qmake warning
2020-12-19 18:50:30 +00:00
Roland Rossgotterer
3baab2ae4d
Add initial simulator plugin support for FS2020
...
This adds simulator plugin support for FS2020. It still pretends to be FSX until full integration is completed.
2020-09-16 22:59:58 +01:00
Mat Sutcliffe
bb8aeaa3d0
Fix build with Clang on Windows
2020-08-29 14:16:17 +01:00
Mat Sutcliffe
bfa82affb9
Issue #17 Disable building xswiftbus for 32bits
2020-08-02 23:00:21 +01:00
Mat Sutcliffe
93181869ef
[CI] Refactoring
2020-06-29 18:34:15 +01:00
Mat Sutcliffe
d97bf94287
Allow embedding qmake variable expansion syntax in JSON config values
2020-06-29 18:34:14 +01:00
Mat Sutcliffe
88f8e8130f
Remove references to ccache and clcache
2020-06-29 18:34:14 +01:00
Mat Sutcliffe
ca7ae8f622
Fix "unknown warning option" warning
2020-06-29 18:34:14 +01:00
Mat Sutcliffe
78987a678f
Suppress Qt 5.15 deprecation warnings
2020-06-29 18:34:14 +01:00
Mat Sutcliffe
a7c696d385
Enable GCC and Clang warnings for zero being used as a null pointer
2020-06-12 18:42:53 +01:00
Roland Rossgotterer
77138f7788
Disable crashpad on Linux until the segfault is investigated
2020-06-12 18:42:40 +01:00
Mat Sutcliffe
c3fb91e165
[qmake] skip some steps during QtCreator initial parse phase
2020-06-12 18:42:30 +01:00
Mat Sutcliffe
8da9561e91
[qmake] Added warning when 4th version part schema logic fails
2020-06-12 18:42:30 +01:00
Roland Rossgotterer
23c41a408b
Separate debug info for MinGW builds
2020-06-12 18:42:29 +01:00
Roland Rossgotterer
6f55d8cb8a
MinGW no longer uses the debug suffix. MSVC is the only one > Qt 5.14
2020-06-12 18:42:29 +01:00
Mat Sutcliffe
dc6382d1bd
[qmake] Support for Clang on MinGW
2020-01-25 16:55:51 +00:00
Mat Sutcliffe
bb65506d22
Fix version number embedding in Windows EXE and DLL files
...
Remove our Windows resource files (*.rc)
and let qmake generate them instead.
2020-01-07 19:57:27 +00:00
Mat Sutcliffe
f056d4fcd6
New schema for the 4th segment of the swift version number
...
Based on a count of the number of commits since
any of the first 3 segments were changed.
2020-01-07 19:57:26 +00:00
Mat Sutcliffe
010aaf58b5
Enable deprecation warnings on MSVC
...
So we get these warnings when compiling on Windows.
They are already enabled on Unix.
2020-01-07 19:57:25 +00:00
Mat Sutcliffe
af9c1852cc
Enable ISO C++ conformance mode for MSVC compiler
...
This avoids triggering a regression in compiler version 19.24.28314
(VS 2019 16.4.2 / VS 2019 C++ component v14.24)
2020-01-07 19:57:25 +00:00
Mat Sutcliffe
1105fff696
Workaround for bug in Qt 5.12.5
2019-10-23 00:38:25 +02:00
Mat Sutcliffe
2a76cddc35
Fix to enable compiling with Clang on Linux.
2019-10-23 00:38:25 +02:00
Mat Sutcliffe
a93e7982b5
Define BLACK_USE_CRASHPAD in qmake, to avoid relying on fragile include order.
2019-10-23 00:38:25 +02:00
Mat Sutcliffe
531a443bc3
Fixed allowNoisyWarnings for clang-cl.
2019-10-23 00:38:25 +02:00
Roland Rossgotterer
8656131eb1
Remove all obsolete vatlib voice classes
2019-10-11 19:00:31 +01:00
Mat Sutcliffe
db146435fd
Added a new clazy warning.
2019-09-16 22:41:15 +01:00
Mat Sutcliffe
6f9f6ccc9d
Extra ccache options to allow sharing caches between different Jenkins jobs.
2019-09-16 22:40:05 +01:00
Roland Rossgotterer
fec6f3b0ad
Improve binary symbolification
...
Summary:
Backtrace accepts a wide range of native debugging formats, e.g. PDB, dSYM, ELF files. Instead of converting to an intermediate format being breakpad sym files, package and upload the native formats directly.
Also reduce the list of debugging symbols to a reasonable minimum. Sample and test symbols are not required.
Reviewers: #gatekeepers, msutcliffe
Reviewed By: #gatekeepers, msutcliffe
Subscribers: msutcliffe
Maniphest Tasks: T588
Differential Revision: https://dev.swift-project.org/D102
2019-05-13 11:20:46 +02:00
Mat Sutcliffe
bb59007656
D99 Enable compiler caches
2019-04-12 13:30:48 +01:00
Mat Sutcliffe
08b1141072
D98 Split up releaseWithDebugInfo and profileRelease as 2 separate configs
2019-04-12 13:30:48 +01:00
Mat Sutcliffe
5de96382bc
[qmake] Removed MSVC 2015 workaround.
2019-02-22 20:36:32 +00:00
Roland Rossgotterer
e0d04e7b92
Use optimize_debug configuration as default for MinGW build
...
Without that configuration set, linking time is super long.
2019-02-22 20:35:49 +00:00
Mat Sutcliffe
e374573536
Update externals flags.
2019-02-22 20:35:21 +00:00
Mat Sutcliffe
8b48c05809
Update templight support.
2019-02-22 20:35:20 +00:00
Roland Rossgotterer
d639187f91
Convert static common simulator plugins to shared ones
...
Test Plan:
- Check that the new shared libraries are packaged in all platform installers.
- check that plugins are loaded properly on all platforms.
Reviewers: #swift_pilot_client, msutcliffe
Reviewed By: #swift_pilot_client, msutcliffe
Maniphest Tasks: T471
Differential Revision: https://dev.swift-project.org/D79
2019-02-22 20:34:50 +00:00
Mat Sutcliffe
9f7e5bba5a
Fixed bugs in config.pri
2019-02-22 20:23:49 +00:00
Mat Sutcliffe
036d608a74
Update to new clazy warnings.
2019-02-22 20:23:29 +00:00
Mat Sutcliffe
b82ab1e3c2
Added support for using address sanitizer with clang-cl.
2019-02-22 20:23:28 +00:00
Mat Sutcliffe
4c3aba20dd
With clang-cl use /W4 instead of -Wall -Wextra.
...
This is due to a change in the behaviour of clang-cl in LLVM 6.0
where `-Wall` became a synonym for `-Weverything` to be more like
the behaviour of `/Wall` in the Microsoft compiler. `/W4` is the
new way to spell `-Wall -Wextra`.
2019-02-22 20:23:27 +00:00
Mat Sutcliffe
4c0bbbae25
Fixed warnings reported by Clang on Windows.
2019-02-22 20:23:27 +00:00
Mat Sutcliffe
9d7af08f3d
Removed workarounds no longer needed.
2019-02-22 20:23:26 +00:00
Mat Sutcliffe
307e170d5f
Integrate swift version numbering into the json config system.
2019-02-22 20:23:26 +00:00
Mat Sutcliffe
82679a3010
Replace qmake variable BLACK_CONFIG with a system based on json files.
...
The config is loaded from json files by qmake, and we define the qmake
function `swiftConfig` for checking whether a feature is enabled.
This function can be directly used in `buildconfig_gen.cpp.in`,
so the trick with C++ comment tokens in variables is not needed.
2019-02-22 20:23:25 +00:00
Mat Sutcliffe
188d3d914e
Added constexpr specifier where possible in CBuildConfig.
...
This necessitated moving some function definitions into a .inc file
that is included by buildconfig.h, as constexpr functions must be defined
in the header. This new file is added to the list of QMAKE_SUBSTITUTES.
2019-02-22 20:23:23 +00:00