commit
8b26492b78
4
.gitignore
vendored
4
.gitignore
vendored
@ -409,4 +409,6 @@ FodyWeavers.xsd
|
|||||||
# JetBrains Rider
|
# JetBrains Rider
|
||||||
*.sln.iml
|
*.sln.iml
|
||||||
|
|
||||||
imgui.ini
|
imgui.ini
|
||||||
|
|
||||||
|
build/
|
||||||
|
9
ScuffedMinecraft/CMakeLists.txt
Normal file
9
ScuffedMinecraft/CMakeLists.txt
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
cmake_minimum_required(VERSION 3.10)
|
||||||
|
set(CMAKE_CXX_STANDARD 20)
|
||||||
|
|
||||||
|
project(ScuffedMinecraft)
|
||||||
|
|
||||||
|
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||||
|
|
||||||
|
add_subdirectory(vendor/imgui)
|
||||||
|
add_subdirectory(src)
|
9
ScuffedMinecraft/src/CMakeLists.txt
Normal file
9
ScuffedMinecraft/src/CMakeLists.txt
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
add_executable(scuffed_mc
|
||||||
|
Application.cpp Chunk.cpp Shader.cpp
|
||||||
|
Block.cpp NoiseSettings.cpp SurfaceFeature.cpp
|
||||||
|
Camera.cpp Planet.cpp WorldGen.cpp ../vendor/glad.c
|
||||||
|
)
|
||||||
|
|
||||||
|
include_directories(../../Dependencies/include/)
|
||||||
|
|
||||||
|
target_link_libraries(scuffed_mc imgui glfw)
|
11
ScuffedMinecraft/vendor/imgui/CMakeLists.txt
vendored
Normal file
11
ScuffedMinecraft/vendor/imgui/CMakeLists.txt
vendored
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
add_library(imgui
|
||||||
|
imgui.cpp
|
||||||
|
imgui_demo.cpp
|
||||||
|
imgui_draw.cpp
|
||||||
|
imgui_impl_glfw.cpp
|
||||||
|
imgui_impl_opengl3.cpp
|
||||||
|
imgui_tables.cpp
|
||||||
|
imgui_widgets.cpp
|
||||||
|
)
|
||||||
|
|
||||||
|
target_include_directories(imgui PUBLIC ./)
|
Loading…
Reference in New Issue
Block a user