From 2cd1d4c0bf010f2cefc9d55f46b4c02b96a64441 Mon Sep 17 00:00:00 2001 From: Derek Christ Date: Sat, 24 May 2025 12:58:19 +0200 Subject: [PATCH] Minimal executable --- CMakeLists.txt | 13 +++++++++++++ main.cpp | 7 +++++++ 2 files changed, 20 insertions(+) create mode 100644 CMakeLists.txt create mode 100644 main.cpp diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..9e1ea9b --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,13 @@ +cmake_minimum_required(VERSION 3.24) + +project(HansTheGatherer) + +# Option to switch real platform vs. SDL implementation... + +find_package(SDL3 REQUIRED) + +add_executable(HansTheGatherer main.cpp) + +target_link_libraries(HansTheGatherer SDL3::SDL3) + +set_property(TARGET HansTheGatherer PROPERTY CXX_STANDARD 23) diff --git a/main.cpp b/main.cpp new file mode 100644 index 0000000..1c35fee --- /dev/null +++ b/main.cpp @@ -0,0 +1,7 @@ +#include +#include + +auto main() -> int { + std::println("Hello World!"); + return 0; +}