From 03aea832aa0bc2edba2cc5ab4d9f8eba42d355be Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Fri, 20 Dec 2024 11:36:36 +0100 Subject: add game folder --- game/.gitignore | 1 + game/CMakeLists.txt | 16 ++++++++++++++++ game/main.cpp | 3 +++ 3 files changed, 20 insertions(+) create mode 100644 game/.gitignore create mode 100644 game/CMakeLists.txt create mode 100644 game/main.cpp (limited to 'game') diff --git a/game/.gitignore b/game/.gitignore new file mode 100644 index 0000000..2bd69c0 --- /dev/null +++ b/game/.gitignore @@ -0,0 +1 @@ +asset diff --git a/game/CMakeLists.txt b/game/CMakeLists.txt new file mode 100644 index 0000000..26d937a --- /dev/null +++ b/game/CMakeLists.txt @@ -0,0 +1,16 @@ +cmake_minimum_required(VERSION 3.28) + +set(CMAKE_C_STANDARD 11) +set(CMAKE_CXX_STANDARD 20) +set(CMAKE_EXPORT_COMPILE_COMMANDS 1) +set(CMAKE_BUILD_TYPE Debug) + +project(game C CXX) + +add_subdirectory(../src crepe) +add_executable(main + main.cpp +) + +target_link_libraries(main PUBLIC crepe) + diff --git a/game/main.cpp b/game/main.cpp new file mode 100644 index 0000000..af14ed5 --- /dev/null +++ b/game/main.cpp @@ -0,0 +1,3 @@ +int main() { + +} -- cgit v1.2.3