mirror of
https://github.com/LCEMP/LCEMP.git
synced 2026-08-06 17:32:33 +00:00
Remove unused vendor & add working directory
This commit is contained in:
parent
287a060695
commit
720bc9d170
5
.gitignore
vendored
5
.gitignore
vendored
|
|
@ -54,7 +54,8 @@ Minecraft.Client/music/
|
||||||
*.binka
|
*.binka
|
||||||
|
|
||||||
# Common Media - UI (SWF), Graphics (PNG), Sound (WAV), Fonts
|
# Common Media - UI (SWF), Graphics (PNG), Sound (WAV), Fonts
|
||||||
Minecraft.Client/Common/Media/
|
Assets
|
||||||
|
Assets/Common/Media/
|
||||||
# Game resource textures, art, audio, etc.
|
# Game resource textures, art, audio, etc.
|
||||||
Minecraft.Client/Common/res/
|
Minecraft.Client/Common/res/
|
||||||
Minecraft.Client/Common/DummyTexturePack/
|
Minecraft.Client/Common/DummyTexturePack/
|
||||||
|
|
@ -82,7 +83,7 @@ Minecraft.Client/Windows64/GameHDD/
|
||||||
# Thumbnail / test images
|
# Thumbnail / test images
|
||||||
*.png
|
*.png
|
||||||
# But allow source code PNG references to be noted
|
# 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 UI files (Flash-based UI assets)
|
||||||
*.swf
|
*.swf
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,8 @@
|
||||||
cmake_minimum_required(VERSION 3.10)
|
cmake_minimum_required(VERSION 3.10)
|
||||||
project("LCEMP")
|
project("LCEMP")
|
||||||
|
|
||||||
|
set(LCEMP_WORKING_DIR "${CMAKE_CURRENT_SOURCE_DIR}/Assets" CACHE STRING "The working directory for MinecraftClient")
|
||||||
|
|
||||||
set(CMAKE_CXX_STANDARD 11)
|
set(CMAKE_CXX_STANDARD 11)
|
||||||
add_subdirectory(Vendor)
|
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_library(MinecraftWorld STATIC ${MINECRAFT_WORLD_SOURCES})
|
||||||
add_executable(MinecraftClient WIN32 ${MINECRAFT_CLIENT_SOURCES})
|
add_executable(MinecraftClient WIN32 ${MINECRAFT_CLIENT_SOURCES})
|
||||||
|
|
||||||
|
set_property(TARGET MinecraftClient PROPERTY VS_DEBUGGER_WORKING_DIRECTORY "${LCEMP_WORKING_DIR}")
|
||||||
|
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
# /MT and /MTd options set the CRT version to multi-threaded static mode
|
# /MT and /MTd options set the CRT version to multi-threaded static mode
|
||||||
# which is what the 4J libs were compiled with
|
# which is what the 4J libs were compiled with
|
||||||
|
|
|
||||||
0
Vendor/CMakeLists.txt
vendored
0
Vendor/CMakeLists.txt
vendored
Loading…
Reference in a new issue