Minimal executable

This commit is contained in:
2025-05-24 12:58:19 +02:00
parent e960e09796
commit 16664312e9
2 changed files with 20 additions and 0 deletions

13
CMakeLists.txt Normal file
View File

@@ -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)

7
main.cpp Normal file
View File

@@ -0,0 +1,7 @@
#include <print>
#include <SDL3/SDL.h>
auto main() -> int {
std::println("Hello World!");
return 0;
}