summary refs log tree commit diff
path: root/misc/ps1/CMakeLists.txt
blob: 1f78b62a4e5a0b82e7a9ff086b8215a56f2d0032 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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(template GPREL ${_sources})

psn00bsdk_add_cd_image(
	iso      # Target name
	template # Output file name (= template.bin + template.cue)
	iso.xml  # Path to config file
	DEPENDS template system.cnf
)