diff options
| author | spicyjpeg <88942473+spicyjpeg@users.noreply.github.com> | 2022-03-20 14:02:42 +0100 |
|---|---|---|
| committer | spicyjpeg <88942473+spicyjpeg@users.noreply.github.com> | 2022-03-20 14:02:42 +0100 |
| commit | 6c19e712e2588b52791f604feb31273acb074d41 (patch) | |
| tree | f864f22e4eb10b15e8c247d9eccf0113f54a62aa /examples/mdec/mdecimage/CMakeLists.txt | |
| parent | 4bbfe640a8c357137524e797a8d2bd0a94d3abfa (diff) | |
| download | psn00bsdk-6c19e712e2588b52791f604feb31273acb074d41.tar.gz | |
Add mdec/mdecimage example, psxpress fixes
Diffstat (limited to 'examples/mdec/mdecimage/CMakeLists.txt')
| -rw-r--r-- | examples/mdec/mdecimage/CMakeLists.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/examples/mdec/mdecimage/CMakeLists.txt b/examples/mdec/mdecimage/CMakeLists.txt new file mode 100644 index 0000000..b76adb4 --- /dev/null +++ b/examples/mdec/mdecimage/CMakeLists.txt @@ -0,0 +1,20 @@ +# PSn00bSDK example CMake script +# (C) 2021 spicyjpeg - MPL licensed + +cmake_minimum_required(VERSION 3.20) + +project( + mdecimage + LANGUAGES C ASM + VERSION 1.0.0 + DESCRIPTION "PSn00bSDK MDEC static image example" + HOMEPAGE_URL "http://lameguy64.net/?page=psn00bsdk" +) + +file(GLOB _sources *.c) +psn00bsdk_add_executable(mdecimage STATIC ${_sources}) +#psn00bsdk_add_cd_image(mdecimage_iso mdecimage iso.xml DEPENDS mdecimage) + +psn00bsdk_target_incbin(mdecimage PRIVATE mdec_image image.bin) + +install(FILES ${PROJECT_BINARY_DIR}/mdecimage.exe TYPE BIN) |
