diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..443f2e5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +cmake-* +build/ +.idea/ +!.idea/cmake.xml \ No newline at end of file diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..9e87c24 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,6 @@ +[submodule "extern/glfw"] + path = external/glfw + url = https://github.com/glfw/glfw.git +[submodule "extern/spdlog"] + path = external/spdlog + url = https://github.com/gabime/spdlog.git diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..cde0bea --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,11 @@ +cmake_minimum_required(VERSION 3.19 FATAL_ERROR) +project(BillySheet) + +add_executable(BillySheet src/main.cpp) + +set_target_properties(BillySheet PROPERTIES + CXX_STANDARD 17 + CXX_STANDARD_REQUIRED ON + CXX_EXTENSIONS OFF + INTERPROCEDURAL_OPTIMIZATION ON + UNITY_BUILD ON) diff --git a/README.md b/README.md index 112c975..48b338e 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ -# BillySheet +# Billy sheet control +This project is about to digitally control your character sheet from the book "La Forteresse du Chaudron Noir" from Bob Lennon. -Character sheet for Billy from "La Forteresse du Chaudron Noir" from Bob Lennon \ No newline at end of file +## External dependencies +All dependencies are inside the "external" directory. The followings are inside: +- GLFW: windowing +- Spdlog: logging the app. diff --git a/external/glfw b/external/glfw new file mode 160000 index 0000000..7d5a16c --- /dev/null +++ b/external/glfw @@ -0,0 +1 @@ +Subproject commit 7d5a16ce714f0b5f4efa3262de22e4d948851525 diff --git a/external/spdlog b/external/spdlog new file mode 160000 index 0000000..eb32206 --- /dev/null +++ b/external/spdlog @@ -0,0 +1 @@ +Subproject commit eb3220622e73a4889eee355ffa37972b3cac3df5 diff --git a/src/main.cpp b/src/main.cpp new file mode 100644 index 0000000..ec3351e --- /dev/null +++ b/src/main.cpp @@ -0,0 +1,6 @@ +#include + +int main() { + std::cout << "Hello, World!" << std::endl; + return EXIT_SUCCESS; +}