Skip to content
This repository was archived by the owner on Mar 30, 2026. It is now read-only.

Commit 5c55b9a

Browse files
authored
Move project to CMake (MCLCE#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
1 parent eb5c14c commit 5c55b9a

106 files changed

Lines changed: 80 additions & 227 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/build.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

.github/workflows/debug-test.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:a21ab72869c691299bb039940f27758f1159b582e6f97f5d56f0fff2d02b73f9
3+
size 2464

.github/workflows/nightly.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:78745490101557210f4b009b0442bcb17974f2d79ce8cfe53f7065fad990eeee
3-
size 2171
2+
oid sha256:6924f15e03527b55db7f00d76fccea73a255920ac8a81059994c9cdba894101e
3+
size 2578

.github/workflows/pull-request.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:efd1d6f3ab3a1b3fa2ee4642f76adcb540e0aa85471959dfa99b30ad31ab99c7
3+
size 627

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:7d0b4f1e789c6606bdd87940f29078d73d8e5588dd8ca7efc18648194f4185be
3-
size 7874
2+
oid sha256:db7084a590e967d6afd8ab27d3a26ce82a986a0e90d40882b2d97f0fb13b27f0
3+
size 7285

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:352a066eec81a993dce3b2bc567df1291bd908feedb4aeea6c2c3a6382f27e3f
3-
size 11706
2+
oid sha256:b772b2f4edc364347754fe42b8bf48ea0c79efa60b18c4be3b8fb7a4b39c5728
3+
size 3209

CMakePresets.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:2735dfd835cc8910f64345a8475b149b1f2f7e1dad7eb084ef21d0e11fe3a86e
3+
size 3754

COMPILE.md

Lines changed: 2 additions & 2 deletions

Minecraft.Client/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:2aae2113ec84c9b2fb6bb1ee8a5b68c38fc7bceb973743ccd1cdd5866923e065
3+
size 3887

0 commit comments

Comments
 (0)