Remove unused vendor & add working directory

This commit is contained in:
BendedWills 2026-03-02 05:17:58 -06:00
parent 287a060695
commit 720bc9d170
3 changed files with 7 additions and 2 deletions

5
.gitignore vendored
View file

@ -54,7 +54,8 @@ Minecraft.Client/music/
*.binka
# Common Media - UI (SWF), Graphics (PNG), Sound (WAV), Fonts
Minecraft.Client/Common/Media/
Assets
Assets/Common/Media/
# Game resource textures, art, audio, etc.
Minecraft.Client/Common/res/
Minecraft.Client/Common/DummyTexturePack/
@ -82,7 +83,7 @@ Minecraft.Client/Windows64/GameHDD/
# Thumbnail / test images
*.png
# But allow source code PNG references to be noted
!Minecraft.Client/Common/Media/Graphics/.gitkeep
!Assets/Common/Media/Graphics/.gitkeep
# SWF UI files (Flash-based UI assets)
*.swf

View file

@ -1,6 +1,8 @@
cmake_minimum_required(VERSION 3.10)
project("LCEMP")
set(LCEMP_WORKING_DIR "${CMAKE_CURRENT_SOURCE_DIR}/Assets" CACHE STRING "The working directory for MinecraftClient")
set(CMAKE_CXX_STANDARD 11)
add_subdirectory(Vendor)
@ -19,6 +21,8 @@ list(TRANSFORM MINECRAFT_CLIENT_SOURCES PREPEND "${CMAKE_CURRENT_SOURCE_DIR}/Min
add_library(MinecraftWorld STATIC ${MINECRAFT_WORLD_SOURCES})
add_executable(MinecraftClient WIN32 ${MINECRAFT_CLIENT_SOURCES})
set_property(TARGET MinecraftClient PROPERTY VS_DEBUGGER_WORKING_DIRECTORY "${LCEMP_WORKING_DIR}")
if(MSVC)
# /MT and /MTd options set the CRT version to multi-threaded static mode
# which is what the 4J libs were compiled with

View file