-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakeLists.txt
27 lines (22 loc) · 1.39 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
cmake_minimum_required(VERSION 3.16)
project(mine++)
set(CMAKE_CXX_STANDARD 20)
#set(CMAKE_BUILD_TYPE Debug)
INCLUDE_DIRECTORIES(
${GL_INCLUDE_DIR}
${GLFW_INCLUDE_DIR})
include_directories(../MineNet)
include_directories(lib/asio-1.18.2/include)
add_subdirectory(lib/imgui)
add_executable(mine++ src/main.cpp src/Window/Window.cpp src/Window/Window.hpp src/Logger.hpp
src/Model/Mesh.cpp src/Model/Mesh.hpp
src/Shader/Shader.cpp src/Shader/Shader.hpp
src/Texture/Texture.cpp src/Texture/Texture.hpp
src/stb_image.h
src/Camera/Camera.cpp src/Camera/Camera.h
src/Voxels/Block.cpp src/Voxels/Block.hpp
src/Voxels/Chunk.cpp src/Voxels/Chunk.hpp
src/BlockRenderer/BlockRenderer.cpp src/BlockRenderer/BlockRenderer.hpp
src/ChunkManager/ChunkManager.cpp src/ChunkManager/ChunkManager.hpp
src/Controls/Controls.cpp src/Controls/Controls.h src/State.hpp src/GUI/GUIRenderer.cpp src/GUI/GUIRenderer.hpp src/Shadows/ShadowMap.cpp src/Shadows/ShadowMap.hpp src/Player/Player.cpp src/Player/Player.hpp src/PlayerRenderer/PlayerRenderer.cpp src/PlayerRenderer/PlayerRenderer.hpp src/MineNetClient/MineNetClient.cpp src/MineNetClient/MineNetClient.hpp src/Player/NetPlayer.cpp src/Player/NetPlayer.hpp src/Player/LocalPlayer.cpp src/Player/LocalPlayer.hpp)
target_link_libraries(mine++ imgui opengl32 glfw3 glew32 -lwsock32 ws2_32.lib)