From 6e6ee64bb4cf10a98c7bd92e06090502eb67e402 Mon Sep 17 00:00:00 2001 From: Felix Morgner Date: Tue, 17 Feb 2026 21:54:18 +0100 Subject: initial commit --- CMakeLists.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 CMakeLists.txt (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt new file mode 100644 index 0000000..90d304a --- /dev/null +++ b/CMakeLists.txt @@ -0,0 +1,19 @@ +cmake_minimum_required(VERSION "4.2.0") + +project("snake.s" + DESCRIPTION "The assembly snake!" + VERSION "1.0.0" + LANGUAGES ASM +) + +find_package("SDL2" REQUIRED) + +add_executable("snake.s" + "src/main.S" +) + +target_link_libraries("snake.s" PRIVATE + "SDL2::SDL2" +) + +install(TARGETS "snake.s") -- cgit v1.2.3