Quake BSP renderer for PS1
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.
 
 

25 lines
627 B

# PSn00bSDK example CMake script
# (C) 2021 spicyjpeg - MPL licensed
cmake_minimum_required(VERSION 3.20)
project(
PSn00bSDK-ps1bsp
LANGUAGES C CXX ASM
VERSION 1.0.0
DESCRIPTION "PS1 BSP Viewer"
HOMEPAGE_URL "http://lameguy64.net/?page=psn00bsdk"
)
file(GLOB _sources *.c)
psn00bsdk_add_executable(ps1bsp STATIC ${_sources})
psn00bsdk_target_incbin(ps1bsp PRIVATE tim_e1m1 atlas-e1m1.tim)
psn00bsdk_target_incbin(ps1bsp PRIVATE tim_e2m2 atlas-e2m2.tim)
psn00bsdk_add_cd_image(
iso # Target name
ps1bsp # Output file name (= ps1bsp.bin + ps1bsp.cue)
iso.xml # Path to config file
DEPENDS ps1bsp
)