You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.3 KiB
38 lines
1.3 KiB
# PSn00bSDK example CMake script
|
|
# (C) 2021 spicyjpeg - MPL licensed
|
|
|
|
cmake_minimum_required(VERSION 3.20)
|
|
|
|
project(
|
|
PSn00bSDK-template
|
|
LANGUAGES C CXX ASM
|
|
VERSION 1.0.0
|
|
DESCRIPTION "PSn00bSDK template"
|
|
HOMEPAGE_URL "http://lameguy64.net/?page=psn00bsdk"
|
|
)
|
|
|
|
file(GLOB _sources *.c)
|
|
psn00bsdk_add_executable(template STATIC ${_sources})
|
|
|
|
psn00bsdk_target_incbin(template PRIVATE mdl_player player.ps1mdl)
|
|
psn00bsdk_target_incbin(template PRIVATE tim_player_f player_f.tim)
|
|
psn00bsdk_target_incbin(template PRIVATE tim_player_b player_b.tim)
|
|
|
|
psn00bsdk_target_incbin(template PRIVATE mdl_shambler shambler.ps1mdl)
|
|
psn00bsdk_target_incbin(template PRIVATE tim_shambler_f shambler_f.tim)
|
|
psn00bsdk_target_incbin(template PRIVATE tim_shambler_b shambler_b.tim)
|
|
|
|
psn00bsdk_target_incbin(template PRIVATE mdl_ogre ogre.ps1mdl)
|
|
psn00bsdk_target_incbin(template PRIVATE tim_ogre_f ogre_f.tim)
|
|
psn00bsdk_target_incbin(template PRIVATE tim_ogre_b ogre_b.tim)
|
|
|
|
psn00bsdk_target_incbin(template PRIVATE mdl_quaddama quaddama.ps1mdl)
|
|
psn00bsdk_target_incbin(template PRIVATE tim_quaddama_f quaddama_f.tim)
|
|
psn00bsdk_target_incbin(template PRIVATE tim_quaddama_b quaddama_b.tim)
|
|
|
|
psn00bsdk_add_cd_image(
|
|
iso # Target name
|
|
template # Output file name (= template.bin + template.cue)
|
|
iso.xml # Path to config file
|
|
DEPENDS template
|
|
)
|