aboutsummaryrefslogtreecommitdiff
path: root/template/iso.xml
diff options
context:
space:
mode:
authorJohn "Lameguy" Wilbert Villamor <lameguy64@gmail.com>2021-10-15 09:22:45 +0800
committerGitHub <noreply@github.com>2021-10-15 09:22:45 +0800
commitdd0f088aaa4c6bf013643be2d1d8621dbffdb000 (patch)
treed848d6ce007d8bb9357c8b99d6a0a39ec41d244e /template/iso.xml
parent9e08d1047fa8deeb3ccb3ce9bb11d69e25a52d56 (diff)
parenteb719a424e6a16fb64209139a32c9f8a7235a929 (diff)
downloadpsn00bsdk-dd0f088aaa4c6bf013643be2d1d8621dbffdb000.tar.gz
Merge pull request #38 from spicyjpeg/cmake
Full CMake support (in place of makefiles)
Diffstat (limited to 'template/iso.xml')
-rw-r--r--template/iso.xml23
1 files changed, 15 insertions, 8 deletions
diff --git a/template/iso.xml b/template/iso.xml
index ba2b29d..477c636 100644
--- a/template/iso.xml
+++ b/template/iso.xml
@@ -1,23 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
+<!--
+ This file is processed by CMake and used by mkpsxiso to build the CD image.
+
+ NOTE: all paths are relative to the build directory; if you want to include
+ a file from the source tree, you'll have to prepend its path with
+ ${PROJECT_SOURCE_DIR}.
+-->
<iso_project
- image_name="build/template.bin"
- cue_sheet="build/template.cue"
+ image_name="${CD_IMAGE_NAME}.bin"
+ cue_sheet="${CD_IMAGE_NAME}.cue"
>
<track type="data">
<identifiers
system ="PLAYSTATION"
- volume ="PSN00BSDK"
- volume_set ="PSN00BSDK"
+ volume ="PSN00BSDK_TEMPLATE"
+ volume_set ="PSN00BSDK_TEMPLATE"
publisher ="MEIDOTEK"
- data_preparer ="PSN00BSDK BUILD SCRIPT"
+ data_preparer ="PSN00BSDK ${PSN00BSDK_VERSION}"
application ="PLAYSTATION"
copyright ="README.TXT;1"
/>
<directory_tree>
- <file name="SYSTEM.CNF" type="data" source="system.cnf" />
- <file name="TEMPLATE.EXE" type="data" source="build/template.exe" />
- <file name="TEMPLATE.MAP" type="data" source="build/template.map" />
+ <file name="SYSTEM.CNF" type="data" source="${PROJECT_SOURCE_DIR}/system.cnf" />
+ <file name="TEMPLATE.EXE" type="data" source="template.exe" />
+ <file name="TEMPLATE.MAP" type="data" source="template.map" />
<dummy sectors="1024"/>
</directory_tree>