Commit Graph

26 Commits

Author SHA1 Message Date
Martchus 0c652a774e Fix definition of GOROOT in presets
It needs to be an env variable; not a CMake variable.
2024-05-01 23:20:19 +02:00
Martchus 957c044e63 Enable targets for mingw-w64 cross-packaging in mingw-w64 CMake presets 2024-04-13 17:02:54 +02:00
Martchus a4c18017b7 Avoid duplications in mingw-w64 CMake presets 2024-04-13 17:00:04 +02:00
Martchus 73a837962d Adapt the `arch-…-w64-mingw32-static` presets
Not sure what has changed but it seems that these extra variables are now
required to avoid linking against certain shared libraries.
2024-04-12 00:43:41 +02:00
Martchus 8502d1bc2a Add `arch-…-w64-mingw32…-devel-qt6` presets 2024-04-11 23:35:33 +02:00
Martchus afc3413e9c Add `arch-i686-w64-mingw32…`-presets 2024-04-11 23:28:19 +02:00
Martchus 57579f0164 Add preset for unity builds
This is not working for most of my projects due to conflicting macros.
2024-01-30 22:38:39 +01:00
Martchus c17c8e7815 Set `GOROOT` for `x64-windows-static` preset in accordance with `GO_BIN`
Unfortunately the final linking still doesn't work due to conflicting
symbols (and using the ucrt64 version doesn't change that).
2023-12-30 19:34:22 +01:00
Martchus 456bbfc54e Avoid hardcoding the versioned subdirectory within `WIN_KITS_ROOT` 2023-12-25 00:56:50 +01:00
Martchus 9d8f897972 Add presets for compiling with clang++ and libc++ 2023-11-25 23:18:50 +01:00
Martchus cded82a00b Move use of `KDE_INSTALL_DIR` from `debug-kde` into new preset `debug-kde-custom` 2023-11-14 00:02:50 +01:00
Martchus b2d4d0be01 Enable _FORTIFY_SOURCE=3 in mingw-w64 preset
In accordance with the mingw-w64-environment package
2023-10-30 20:22:02 +01:00
Martchus ff33454bf1 Skip rpath in arch-static-compat presets
It should not be required to load dynamic libraries that
are not already in standard paths with these builds and
loading libraries from the static-compat prefix should be
avoided.
2023-10-27 20:46:19 +02:00
Martchus aa298772c9 Adjust arch-static-compat preset for PianoBooster 2023-10-27 20:20:45 +02:00
Martchus 053ac7e1ad Disable KDE integrations in `devel-qt6` preset, enable then only in `debug-kde`
Since the required KDE packages haven't been released yet it makes sense to
avoid enabling them for now in the generic preset for Qt 6.
2023-09-04 20:29:10 +02:00
Martchus c111d9f374 Clear Vulkan path in MSVC preset
I don't need it currently for my projects and it gets accidentally set to
the mingw-w64 include path which is wrong for a MSVC build.
2023-06-08 14:24:05 +02:00
Martchus 5d5ccb7729 Add further debugging presets and set KF6 prefix for Qt 6 presets 2023-05-21 20:08:31 +02:00
Martchus b9097a3750 Add GO_BIN to MSVC preset for libsyncthing 2023-05-16 21:50:14 +02:00
Martchus 5425488421 Fix preset for debug build with MSVC
* The preset must inherit from "debug" first so the build type is
  not overridden
* Use the debug library of cppunit
* Avoid configuring ccache which is not generally used under
  Windows
2023-05-01 19:25:18 +02:00
Martchus 48aa1f54e0 Add `FFMPEG_BIN` to Windows preset 2023-03-30 21:33:42 +02:00
Martchus b426443aaf Workaround issues with `win-x64-msvc-static` preset
* Set CXX flags manually to specify the `/MT` flag explicitly; this is
  needed as compilations of moc objects apparently don't pick-up the
  variable `CMAKE_MSVC_RUNTIME_LIBRARY` and instead use what the Qt build
  had used (which breaks the compilation when using a shared Qt build with
  this setup which otherwise prefers static libraries)
* Set build type explicitly to release as otherwise a debug build would be
  made (but we have `win-x64-msvc-static-debug` for that)
* Specify the VCPKG target triplet to prefer static libs
* Disable the Qt Quick GUI for now; otherwise passwordmanager is trying to
  pull-in kirigami
* Remove most hardcoded paths for dependencies; with the correct VCPKG
  target triplet those paths can be auto-detected (except for CppUnit)
2023-03-29 23:40:57 +02:00
Martchus d94e49620d Add paths for Doxygen and clang-format to Windows preset 2023-03-23 21:51:57 +01:00
Martchus 6e28bec4c5 Add REALPATH_BIN to Windows-preset for CMake bug workaround 2023-03-16 01:02:49 +01:00
Martchus 283c416a59 Add preset for building on Windows with MSVC 2023-03-06 22:17:37 +01:00
Martchus 4aea7f5a57 Set `KF_PACKAGE_PREFIX` as well when building against Qt 6 2023-03-05 12:26:33 +01:00
Martchus 7f782cdb28 Add CMake presets 2022-10-30 21:36:08 +01:00