From 02a5961f39673be403fda3edbf6fb1265bd93477 Mon Sep 17 00:00:00 2001 From: rtm516 Date: Tue, 17 Mar 2026 21:39:22 +0000 Subject: Move project to CMake (#781) * Move to cmake * Move sources to source_groups and ditch more old VS files * Add BuildVer.h generation * Break out cmake source lists to platforms * Don't copy swf files * Revert audio changes from merge * Add platform defines * Match MSBuild flags * Move BuildVer.h to common include and fix rebuild issue * Seperate projects properly * Exclude more files and make sure GameHDD exists * Missing line * Remove remaining VS project files * Update readme and actions * Use incremental LTCG * Update workflows * Update build workflows and output folder * Disable vcpkg checks * Force MSVC * Use precompiled headers * Only use PCH for cpp * Exclude compat_shims from PCH * Handle per-platform source includes * Copy only current platform media * Define Iggy libs per platform * Fix EnsureGameHDD check * Only set WIN32_EXECUTABLE on Windows * Correct Iggy libs path * Remove include of terrain_MipmapLevel * Correct path to xsb/xwb * Implement copilot suggestions * Add clang flags (untested) * Fix robocopy error checking * Update documentation * Drop CMakePresets.json version as we dont use v6 features * Always cleanup artifacts in nightly even if some builds fail * Re-work compiler target options * Move newer iggy dll into redist and cleanup * Fix typos * Remove 'Source Files' from all source groups * Remove old ps1 build scripts --- .../Samples/Hook/PS3/HookSample.vcxproj | 72 -------------------- .../Samples/Manual/PS3/ManualSample.vcxproj | 70 -------------------- .../PS3/MultiThreadedHookSample.vcxproj | 76 ---------------------- .../PS3/ReplaceNewDeleteSample.vcxproj | 70 -------------------- 4 files changed, 288 deletions(-) delete mode 100644 Minecraft.Client/PS3/PS3Extras/HeapInspector/Samples/Hook/PS3/HookSample.vcxproj delete mode 100644 Minecraft.Client/PS3/PS3Extras/HeapInspector/Samples/Manual/PS3/ManualSample.vcxproj delete mode 100644 Minecraft.Client/PS3/PS3Extras/HeapInspector/Samples/MultiThreadedHook/PS3/MultiThreadedHookSample.vcxproj delete mode 100644 Minecraft.Client/PS3/PS3Extras/HeapInspector/Samples/ReplaceNewDelete/PS3/ReplaceNewDeleteSample.vcxproj (limited to 'Minecraft.Client/PS3/PS3Extras/HeapInspector') diff --git a/Minecraft.Client/PS3/PS3Extras/HeapInspector/Samples/Hook/PS3/HookSample.vcxproj b/Minecraft.Client/PS3/PS3Extras/HeapInspector/Samples/Hook/PS3/HookSample.vcxproj deleted file mode 100644 index 74c78a6a..00000000 --- a/Minecraft.Client/PS3/PS3Extras/HeapInspector/Samples/Hook/PS3/HookSample.vcxproj +++ /dev/null @@ -1,72 +0,0 @@ - - - - - Debug - PS3 - - - Release - PS3 - - - - - - - - - {F749F5D0-B972-4E99-8B4B-2B865D4A8BC9} - - - - Application - GCC - - - Application - GCC - - - - - - - - - - - - - $(ProjectDir)$(Platform)_$(Configuration)_VS2010\ - $(Platform)_$(Configuration)_VS2010\ - - - $(ProjectDir)$(Platform)_$(Configuration)_VS2010\ - $(Platform)_$(Configuration)_VS2010\ - - - - _DEBUG;__CELL_ASSERT__;%(PreprocessorDefinitions);;HEAPINSPECTOR_PS3=1 - true - - - "$(SCE_PS3_ROOT)\target\ppu\lib\libm.a";"$(SCE_PS3_ROOT)\target\ppu\lib\libio_stub.a";"..\..\..\Server\PS3\Debug\libHeapInspectorServer.a";"$(SCE_PS3_ROOT)\target\ppu\lib\libpthread.a";"$(SCE_PS3_ROOT)\target\ppu\lib\libnet_stub.a";"$(SCE_PS3_ROOT)\target\ppu\lib\libsysmodule_stub.a";%(AdditionalDependencies) - -Wl,--wrap=malloc,--wrap=free,--wrap=calloc,--wrap=memalign,--wrap=realloc,--wrap=reallocalign,--wrap=_malloc_init %(AdditionalOptions) - - - - - NDEBUG;%(PreprocessorDefinitions);;HEAPINSPECTOR_PS3=1 - Level2 - - - "..\..\..\Server\PS3\Release\libHeapInspectorServer.a";"$(SCE_PS3_ROOT)\target\ppu\lib\libpthread.a";"$(SCE_PS3_ROOT)\target\ppu\lib\libnet_stub.a";"$(SCE_PS3_ROOT)\target\ppu\lib\libsysmodule_stub.a";%(AdditionalDependencies) - -Wl,--wrap=malloc,--wrap=free,--wrap=calloc,--wrap=memalign,--wrap=realloc,--wrap=reallocalign,--wrap=_malloc_init %(AdditionalOptions) - - - - - - - \ No newline at end of file diff --git a/Minecraft.Client/PS3/PS3Extras/HeapInspector/Samples/Manual/PS3/ManualSample.vcxproj b/Minecraft.Client/PS3/PS3Extras/HeapInspector/Samples/Manual/PS3/ManualSample.vcxproj deleted file mode 100644 index 9dd6a130..00000000 --- a/Minecraft.Client/PS3/PS3Extras/HeapInspector/Samples/Manual/PS3/ManualSample.vcxproj +++ /dev/null @@ -1,70 +0,0 @@ - - - - - Debug - PS3 - - - Release - PS3 - - - - - - - - - {B6B851C9-DC76-4A5B-9AFE-6CF944BFB502} - - - - Application - GCC - - - Application - GCC - - - - - - - - - - - - - $(ProjectDir)$(Platform)_$(Configuration)_VS2010\ - $(Platform)_$(Configuration)_VS2010\ - - - $(ProjectDir)$(Platform)_$(Configuration)_VS2010\ - $(Platform)_$(Configuration)_VS2010\ - - - - _DEBUG;__CELL_ASSERT__;%(PreprocessorDefinitions);;HEAPINSPECTOR_PS3=1 - true - - - "$(SCE_PS3_ROOT)\target\ppu\lib\libm.a";"$(SCE_PS3_ROOT)\target\ppu\lib\libio_stub.a";"..\..\..\Server\PS3\Debug\libHeapInspectorServer.a";"$(SCE_PS3_ROOT)\target\ppu\lib\libpthread.a";"$(SCE_PS3_ROOT)\target\ppu\lib\libnet_stub.a";"$(SCE_PS3_ROOT)\target\ppu\lib\libsysmodule_stub.a";%(AdditionalDependencies) - - - - - NDEBUG;%(PreprocessorDefinitions);;HEAPINSPECTOR_PS3=1 - Level2 - - - "..\..\..\Server\PS3\Release\libHeapInspectorServer.a";"$(SCE_PS3_ROOT)\target\ppu\lib\libpthread.a";"$(SCE_PS3_ROOT)\target\ppu\lib\libnet_stub.a";"$(SCE_PS3_ROOT)\target\ppu\lib\libsysmodule_stub.a";%(AdditionalDependencies) - - - - - - - \ No newline at end of file diff --git a/Minecraft.Client/PS3/PS3Extras/HeapInspector/Samples/MultiThreadedHook/PS3/MultiThreadedHookSample.vcxproj b/Minecraft.Client/PS3/PS3Extras/HeapInspector/Samples/MultiThreadedHook/PS3/MultiThreadedHookSample.vcxproj deleted file mode 100644 index 69d3882c..00000000 --- a/Minecraft.Client/PS3/PS3Extras/HeapInspector/Samples/MultiThreadedHook/PS3/MultiThreadedHookSample.vcxproj +++ /dev/null @@ -1,76 +0,0 @@ - - - - - Debug - PS3 - - - Release - PS3 - - - - - - - - - - - - - {E9BC25AD-CFFD-43B6-ABEC-CA516CADD296} - - - - Application - GCC - - - Application - GCC - - - - - - - - - - - - - $(ProjectDir)$(Platform)_$(Configuration)_VS2010\ - $(Platform)_$(Configuration)_VS2010\ - - - $(ProjectDir)$(Platform)_$(Configuration)_VS2010\ - $(Platform)_$(Configuration)_VS2010\ - - - - _DEBUG;__CELL_ASSERT__;%(PreprocessorDefinitions);;HEAPINSPECTOR_PS3=1 - true - - - "$(SCE_PS3_ROOT)\target\ppu\lib\libm.a";"$(SCE_PS3_ROOT)\target\ppu\lib\libio_stub.a";"..\..\..\Server\PS3\Debug\libHeapInspectorServer.a";"$(SCE_PS3_ROOT)\target\ppu\lib\libpthread.a";"$(SCE_PS3_ROOT)\target\ppu\lib\libnet_stub.a";"$(SCE_PS3_ROOT)\target\ppu\lib\libsysmodule_stub.a";%(AdditionalDependencies) - -Wl,--wrap=malloc,--wrap=free,--wrap=calloc,--wrap=memalign,--wrap=realloc,--wrap=reallocalign,--wrap=_malloc_init %(AdditionalOptions) - - - - - NDEBUG;%(PreprocessorDefinitions);;HEAPINSPECTOR_PS3=1 - Level2 - - - "..\..\..\Server\PS3\Release\libHeapInspectorServer.a";"$(SCE_PS3_ROOT)\target\ppu\lib\libpthread.a";"$(SCE_PS3_ROOT)\target\ppu\lib\libnet_stub.a";"$(SCE_PS3_ROOT)\target\ppu\lib\libsysmodule_stub.a";%(AdditionalDependencies) - -Wl,--wrap=malloc,--wrap=free,--wrap=calloc,--wrap=memalign,--wrap=realloc,--wrap=reallocalign,--wrap=_malloc_init %(AdditionalOptions) - - - - - - - \ No newline at end of file diff --git a/Minecraft.Client/PS3/PS3Extras/HeapInspector/Samples/ReplaceNewDelete/PS3/ReplaceNewDeleteSample.vcxproj b/Minecraft.Client/PS3/PS3Extras/HeapInspector/Samples/ReplaceNewDelete/PS3/ReplaceNewDeleteSample.vcxproj deleted file mode 100644 index 9515f936..00000000 --- a/Minecraft.Client/PS3/PS3Extras/HeapInspector/Samples/ReplaceNewDelete/PS3/ReplaceNewDeleteSample.vcxproj +++ /dev/null @@ -1,70 +0,0 @@ - - - - - Debug - PS3 - - - Release - PS3 - - - - - - - - - {B0416FCD-A32B-4F91-93D1-4EDFF99F740B} - - - - Application - GCC - - - Application - GCC - - - - - - - - - - - - - $(ProjectDir)$(Platform)_$(Configuration)_VS2010\ - $(Platform)_$(Configuration)_VS2010\ - - - $(ProjectDir)$(Platform)_$(Configuration)_VS2010\ - $(Platform)_$(Configuration)_VS2010\ - - - - _DEBUG;__CELL_ASSERT__;%(PreprocessorDefinitions);;HEAPINSPECTOR_PS3=1 - true - - - "$(SCE_PS3_ROOT)\target\ppu\lib\libm.a";"$(SCE_PS3_ROOT)\target\ppu\lib\libio_stub.a";"..\..\..\Server\PS3\Debug\libHeapInspectorServer.a";"$(SCE_PS3_ROOT)\target\ppu\lib\libpthread.a";"$(SCE_PS3_ROOT)\target\ppu\lib\libnet_stub.a";"$(SCE_PS3_ROOT)\target\ppu\lib\libsysmodule_stub.a";%(AdditionalDependencies) - - - - - NDEBUG;%(PreprocessorDefinitions);;HEAPINSPECTOR_PS3=1 - Level2 - - - "..\..\..\Server\PS3\Release\libHeapInspectorServer.a";"$(SCE_PS3_ROOT)\target\ppu\lib\libpthread.a";"$(SCE_PS3_ROOT)\target\ppu\lib\libnet_stub.a";"$(SCE_PS3_ROOT)\target\ppu\lib\libsysmodule_stub.a";%(AdditionalDependencies) - - - - - - - \ No newline at end of file -- cgit v1.2.3