aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt19
1 files changed, 19 insertions, 0 deletions
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")