aboutsummaryrefslogtreecommitdiff
path: root/doc/cmake_reference.md
diff options
context:
space:
mode:
authorspicyjpeg <88942473+spicyjpeg@users.noreply.github.com>2021-12-29 17:30:56 +0100
committerspicyjpeg <88942473+spicyjpeg@users.noreply.github.com>2021-12-29 17:30:56 +0100
commitfe42ce7f1c98947baa49427835deb5ce70470afb (patch)
treee8943ac969ccf626cdb4dc543fe1fcca3783c664 /doc/cmake_reference.md
parentd60b046bf362fcc9332f463823e8d02147d516de (diff)
downloadpsn00bsdk-fe42ce7f1c98947baa49427835deb5ce70470afb.tar.gz
Fix CMake and CI bugs, set version number, update docs
Diffstat (limited to 'doc/cmake_reference.md')
-rw-r--r--doc/cmake_reference.md10
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/cmake_reference.md b/doc/cmake_reference.md
index 9e134d9..3c89da3 100644
--- a/doc/cmake_reference.md
+++ b/doc/cmake_reference.md
@@ -207,9 +207,13 @@ the build script.
## Read-only variables
-- `PSN00BSDK_VERSION`
+- `PSN00BSDK_VERSION`, `PSN00BSDK_BUILD_DATE`, `PSN00BSDK_GIT_TAG`,
+ `PSN00BSDK_GIT_COMMIT`
- The SDK's version number (`major.minor.patch`).
+ These variables are loaded from `lib/libpsn00b/build.json` and contain
+ information about the SDK's version. Note that `PSN00BSDK_GIT_TAG` and
+ `PSN00BSDK_GIT_COMMIT` are not populated by default when building PSn00bSDK
+ manually from source, so they might be empty strings.
- `PSN00BSDK_TOOLS`, `PSN00BSDK_INCLUDE`, `PSN00BSDK_LDSCRIPTS`
@@ -229,4 +233,4 @@ the build script.
LZP archives as part of the build pipeline.
-----------------------------------------
-_Last updated on 2021-11-24 by spicyjpeg_
+_Last updated on 2021-12-29 by spicyjpeg_