aboutsummaryrefslogtreecommitdiff
path: root/examples/graphics/tilesasm/CMakeLists.txt
diff options
context:
space:
mode:
authorspicyjpeg <88942473+spicyjpeg@users.noreply.github.com>2022-01-17 17:55:09 +0100
committerspicyjpeg <88942473+spicyjpeg@users.noreply.github.com>2022-01-17 17:55:09 +0100
commite9475e283a82665fe6c19bebc3318b5084f15a2e (patch)
tree5740f396d10a9580c3a39ca536544436898ff1b6 /examples/graphics/tilesasm/CMakeLists.txt
parentde38196a978548b61c4b45115d24ef743b9eef90 (diff)
parent08de895e8582dbc70b639ae5f511ab9ebfb4d68a (diff)
downloadpsn00bsdk-e9475e283a82665fe6c19bebc3318b5084f15a2e.tar.gz
Merge branch 'master' of github.com:Lameguy64/PSn00bSDK into latest-commit
Diffstat (limited to 'examples/graphics/tilesasm/CMakeLists.txt')
-rw-r--r--examples/graphics/tilesasm/CMakeLists.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/examples/graphics/tilesasm/CMakeLists.txt b/examples/graphics/tilesasm/CMakeLists.txt
new file mode 100644
index 0000000..3384875
--- /dev/null
+++ b/examples/graphics/tilesasm/CMakeLists.txt
@@ -0,0 +1,24 @@
+# PSn00bSDK example CMake script
+# (C) 2021 spicyjpeg - MPL licensed
+
+cmake_minimum_required(VERSION 3.20)
+
+project(
+ tilesasm
+ LANGUAGES C ASM
+ VERSION 1.0.0
+ DESCRIPTION "PSn00bSDK Tiles drawing with assembly example"
+ HOMEPAGE_URL "http://lameguy64.net/?page=psn00bsdk"
+)
+
+configure_file(data.s.template data.s)
+
+file(GLOB _sources *.s *.c)
+psn00bsdk_add_executable(
+ tilesasm STATIC
+ ${_sources}
+ ${PROJECT_BINARY_DIR}/data.s
+)
+#psn00bsdk_add_cd_image(tilesasm_iso tilesasm iso.xml DEPENDS tilesasm)
+
+install(FILES ${PROJECT_BINARY_DIR}/tilesasm.exe TYPE BIN)