fresh startup

This commit is contained in:
zxvfxwing
2022-07-08 22:44:39 +02:00
parent eda7cd08d6
commit 8db60d993b
70 changed files with 99 additions and 8470 deletions

View File

@@ -1,16 +0,0 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.23
# Relative path conversion top directories.
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/spoken/Git/MHache")
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/spoken/Git/MHache")
# Force unix paths in dependencies.
set(CMAKE_FORCE_UNIX_PATHS 1)
# The C and CXX include file regular expressions for this directory.
set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})

View File

@@ -1 +0,0 @@
83

View File

@@ -1,28 +1,20 @@
include (FetchContent)
include(FetchContent)
set(GLFW_BUILD_DOCS OFF CACHE BOOL "" FORCE)
set(GLFW_BUILD_TESTS OFF CACHE BOOL "" FORCE)
set(GLFW_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE)
# SFML
FetchContent_Declare(
sfml
GIT_REPOSITORY "https://github.com/SFML/SFML"
GIT_TAG "2f11710abc5aa478503a7ff3f9e654bd2078ebab" # 2.5.1
glfw
GIT_REPOSITORY "https://github.com/glfw/glfw.git"
GIT_TAG "45ce5ddd197d5c58f50fdd3296a5131c894e5527" # 3.37
)
add_subdirectory(sfml)
# ImGui
FetchContent_Declare(
imgui
GIT_REPOSITORY "https://github.com/ocornut/imgui.git"
GIT_TAG "9aae45eb4a05a5a1f96be1ef37eb503a12ceb889" # 1.88
)
FetchContent_MakeAvailable(imgui)
# ImGui-SFML
FetchContent_Declare(
imgui-sfml
GIT_REPOSITORY "https://github.com/eliasdaler/imgui-sfml"
GIT_TAG "15753d56403a7aeb1cae12fd930cfb1d2eac5e74"
)
add_subdirectory(imgui-sfml)
FetchContent_MakeAvailable(glfw imgui)
add_subdirectory(imgui)

View File

@@ -1,16 +0,0 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.23
# Relative path conversion top directories.
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/spoken/Git/MHache")
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/spoken/Git/MHache")
# Force unix paths in dependencies.
set(CMAKE_FORCE_UNIX_PATHS 1)
# The C and CXX include file regular expressions for this directory.
set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})

View File

@@ -1 +0,0 @@
83

View File

@@ -1,6 +0,0 @@
set(IMGUI_DIR ${imgui_SOURCE_DIR})
set(IMGUI_SFML_FIND_SFML OFF)
set(IMGUI_SFML_IMGUI_DEMO ON)
FetchContent_MakeAvailable(imgui-sfml)

15
dependencies/imgui/CMakeLists.txt vendored Normal file
View File

@@ -0,0 +1,15 @@
add_library(
imgui STATIC
"${imgui_SOURCE_DIR}/imgui.cpp"
"${imgui_SOURCE_DIR}/imgui_draw.cpp"
"${imgui_SOURCE_DIR}/imgui_widgets.cpp"
"${imgui_SOURCE_DIR}/imgui_tables.cpp"
"${imgui_SOURCE_DIR}/backends/imgui_impl_glfw.cpp"
"${imgui_SOURCE_DIR}/backends/imgui_impl_opengl3.cpp"
)
target_include_directories(
imgui PUBLIC
"${imgui_SOURCE_DIR}"
"${imgui_SOURCE_DIR}/backends"
)

View File

@@ -1,16 +0,0 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.23
# Relative path conversion top directories.
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/spoken/Git/MHache")
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/spoken/Git/MHache")
# Force unix paths in dependencies.
set(CMAKE_FORCE_UNIX_PATHS 1)
# The C and CXX include file regular expressions for this directory.
set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})

View File

@@ -1 +0,0 @@
75

View File

@@ -1,4 +0,0 @@
set (SFML_BUILD_AUDIO FALSE)
set (SFML_BUILD_NETWORK FALSE)
FetchContent_MakeAvailable(sfml)