6 Commits

Author SHA1 Message Date
cheezwiz7899 203b2a0135 update BUILDING-CLANGTRON-WINDOWS.md
fix the order of the quick start steps
2026-05-08 22:00:59 +12:00
cheezwiz7899 172d746d02 build: initial cpm implementation for clangtron-windows (#173) 2026-04-28 13:37:42 +10:00
cheezwiz7899 0d1dbf51b1 add --relwithdebinfo flag to make building with debug symbols intact very simple 2026-04-19 18:04:52 +12:00
cheezwiz7899 694425740e deleted obsolete thing 2026-04-18 14:25:32 +10:00
cheezwiz7899 f5920920c9 llvm-mingw for windows on linux cross-compile and MSYS2 compatibility
New files:
- build-clangtron-windows.sh - a build script for llvm-mingw
- build-clangtron-windows.bat - a helper for finding and opening a clang msys2 envitronment prompt on windows
- /docs/BUILDING-CLANGTRON-WINDOWS.md - user guide for the new build script

Changes:
- vfs_real.cpp: extend _stat64 guard to __MINGW32__ so _wstat64 gets the  right struct type under llvm-mingw and MSYS2
- src/citron/CMakeLists.txt: restrict -fuse-ld=bfd to GNU compiler only;
  Clang does not accept this flag
- CMakeModules/PGO.cmake: add CITRON_PGO_FLAGS_MANAGED_BY_SCRIPT guard so
  external build scripts can supply PGO flags without conflicting with
  CMake's own injection
- CMakeModules/CopyMinGWDeps.cmake: fall back to Qt6_DIR/../../../plugins
  for plugin deployment when the MSYS2 share path doesn't exist (fixes Qt
  plugin and TLS deployment on Linux cross-compile hosts)
- src/common/logging.cpp, src/hid_core/resources/npad/npad.cpp: add   [[clang::no_profile_instrument_function]] on FmtLogMessageImpl and
  NPad::OnUpdate to suppress ~87M discarded CS-PGO counter hits
- vcpkg.json: add opus and openssl as top-level Windows dependencies
2026-04-18 13:50:13 +10:00
Mythrax 5a75694ff1 build: add automated MinGW (MSYS2) build scripts and guide
Signed-off-by: Mythrax <mythrax@mythrax-rs.org>
2026-03-28 16:15:23 +10:00