Sergio Martins
89f50769b6
cmake: Remove unneeded build presets
...
The default/implicit one is enough for those cases
2021-05-01 19:59:14 +01:00
Sergio Martins
5aa3ba25cc
cmake: Add a Gammaray friendly preset
...
ASAN doesn't like Gammaray injection
2021-04-23 19:01:10 +01:00
Sergio Martins
26f7557834
cmake: Disable CCACHE when running the clazy preset
2021-04-23 09:50:51 +01:00
Sergio Martins
e6c2f29532
cmake: Specify which clazy checks to use
...
Trivial now with cmake presets
2021-04-22 15:44:16 +01:00
Sergio Martins
714ef2adb8
cmake: Fix a preset name
...
We don't have dev-qtquick6.
Should probably be added.
2021-04-20 20:22:24 +01:00
Sergio Martins
3846b638fb
cmake: Add build presets too
...
This is new in cmake 3.20 and makes the vscode experience much better
2021-04-20 20:16:44 +01:00
Sergio Martins
fff6c004e0
Pass -warn-uninitialized to cmake
2021-03-26 13:46:02 +00:00
Sergio Martins
3d191da07e
Remove the unity build option, there's already a CMake way
...
-DCMAKE_UNITY_BUILD should do the same thing.
Disabling it by default since the project is too small for the gains,
and because it screws up the compile_commands.json which I need
for vscode
2021-02-14 23:28:46 +00:00
Sergio Martins
aeb61993a4
Use QT6_DIR in the presets file
...
Removes the hardcoded "gcc"
2021-02-14 23:08:06 +00:00
Sergio Martins
146478eb5e
cmake: No need to build the fuzzer during development
2021-02-09 10:52:28 +00:00
Sergio Martins
8dfad1c910
vscode: Update the workspace files
...
Now autogenerated from CMakePresets.json.
Added the Qt6 one too.
2021-01-16 19:40:36 +00:00
Sergio Martins
69c88919c0
cmake: Export a compile_commands.json which helps vscode
...
Need to disable unity build otherwise intellisense can't find
our source files in the compile_commands.json. Only for the dev-*
presets anyway
2021-01-12 14:25:11 +00:00
Sergio Martins
e563ffb673
Add presets for Qt6 dev build
2021-01-03 22:12:56 +00:00
Sergio Martins
67a3270324
cmake: Add a setting to enable -Werror without developer build
...
Enabled for clazy, for example
2020-12-22 18:16:35 +00:00
Sergio Martins
092b4afe4a
Add a clazy preset
2020-12-22 16:05:10 +00:00
Sergio Martins
9275f852d6
CMakePresets: Enable sanitizers for our developer builds
2020-12-21 20:06:40 +00:00
Sergio Martins
cd9e16398c
qtquick: Fix the build for Qt6
...
And added cmake presets for Qt6
2020-12-19 18:59:33 +00:00
Sergio Martins
8dad079df5
Add a CMakePresets.json
...
Contains the configrations we support:
QtWidgets, QtQuick, static, Python and developer-build
2020-12-19 16:07:49 +00:00