summary refs log tree commit diff
path: root/misc/ps1/CMakePresets.json
diff options
context:
space:
mode:
authorWlodekM <[email protected]>2024-06-16 10:35:45 +0300
committerWlodekM <[email protected]>2024-06-16 10:35:45 +0300
commitabef6da56913f1c55528103e60a50451a39628b1 (patch)
treeb3c8092471ecbb73e568cd0d336efa0e7871ee8d /misc/ps1/CMakePresets.json
initial commit
Diffstat (limited to 'misc/ps1/CMakePresets.json')
-rw-r--r--misc/ps1/CMakePresets.json26
1 files changed, 26 insertions, 0 deletions
diff --git a/misc/ps1/CMakePresets.json b/misc/ps1/CMakePresets.json
new file mode 100644
index 0000000..97d8428
--- /dev/null
+++ b/misc/ps1/CMakePresets.json
@@ -0,0 +1,26 @@
+{
+	"version": 3,
+	"cmakeMinimumRequired": {
+		"major": 3,
+		"minor": 21,
+		"patch": 0
+	},
+	"configurePresets": [
+		{
+			"name":          "default",
+			"displayName":   "Default configuration",
+			"description":   "Use this preset to build the project using PSn00bSDK.",
+			"generator":     "Ninja",
+			"toolchainFile": "$env{PSN00BSDK_LIBS}/cmake/sdk.cmake",
+			"binaryDir":     "${sourceDir}/build",
+			"cacheVariables": {
+				"CMAKE_BUILD_TYPE": "Debug",
+				"PSN00BSDK_TC":     "",
+				"PSN00BSDK_TARGET": "mipsel-none-elf"
+			},
+			"warnings": {
+				"dev": false
+			}
+		}
+	]
+}