mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-07 22:34:43 -04:00
22 lines
500 B
CMake
22 lines
500 B
CMake
cmake_minimum_required(VERSION 3.21)
|
|
|
|
project(
|
|
ClassiCube
|
|
LANGUAGES C ASM
|
|
VERSION 1.0.0
|
|
DESCRIPTION "ClassiCube PS1 port"
|
|
HOMEPAGE_URL "https://classicube.net"
|
|
)
|
|
|
|
add_definitions(-DPLAT_PS1)
|
|
file(GLOB _sources ../../src/*.c)
|
|
|
|
psn00bsdk_add_executable(ClassiCube-PS1 GPREL ${_sources})
|
|
|
|
psn00bsdk_add_cd_image(
|
|
iso # Target name
|
|
ClassiCube-PS1 # Output file name (= ClassiCube-PS1.bin + ClassiCube-PS1.cue)
|
|
iso.xml # Path to config file
|
|
DEPENDS ClassiCube-PS1 system.cnf
|
|
)
|