mirror of
https://git.citron-emu.org/Citron/Citron.git
synced 2025-12-06 05:52:39 -08:00
Adds support for Profile-Guided Optimization builds on both Windows (MSVC) and Linux (GCC/Clang) platforms. This allows for performance optimizations based on real usage patterns. For MSVC: - Adds /GL and /LTCG:PGINSTRUMENT flags for instrumentation - Adds /GL and /LTCG:PGOPTIMIZE flags for optimization For GCC: - Adds -fprofile-generate flags for instrumentation - Adds -fprofile-use flags for optimization For Clang: - Adds -fprofile-instr-generate flags for instrumentation - Adds -fprofile-instr-use flags for optimization Controlled by two new CMake options: - CITRON_ENABLE_PGO_INSTRUMENT: Enable instrumentation build - CITRON_ENABLE_PGO_OPTIMIZE: Enable optimization build Updated submodules: - Vulkan-Headers to 0f0cfd8 - Vulkan-Utility-Libraries to 50563f4 - vcpkg to cd1099f