commit d43806895e8805db2e841b1c91b0f1265555110e Author: Pcornat Date: Sat Jan 8 20:02:04 2022 +0100 Init 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..7f53cf3 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,6 @@ +[submodule "extern/glfw"] + path = extern/glfw + url = https://github.com/glfw/glfw.git +[submodule "extern/spdlog"] + path = extern/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/extern/glfw b/extern/glfw new file mode 160000 index 0000000..df8d7bc --- /dev/null +++ b/extern/glfw @@ -0,0 +1 @@ +Subproject commit df8d7bc892937a8b0f7c604c92a9f64f383cf48c diff --git a/extern/spdlog b/extern/spdlog new file mode 160000 index 0000000..729d7f6 --- /dev/null +++ b/extern/spdlog @@ -0,0 +1 @@ +Subproject commit 729d7f6d8837b6693e7b378408518ea1710f80cb 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; +}