aboutsummaryrefslogtreecommitdiff
path: root/template/CMakePresets.json
blob: d08b334003f1f103f7fcdc82859a8c8c84f572c6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
	"version": 2,
	"cmakeMinimumRequired": {
		"major": 3,
		"minor": 20,
		"patch": 0
	},
	"configurePresets": [
		{
			"name":        "default",
			"displayName": "Default configuration",
			"description": "Use this preset to build the project using PSn00bSDK.",
			"generator":   "Ninja",
			"binaryDir":   "${sourceDir}/build",
			"cacheVariables": {
				"CMAKE_BUILD_TYPE":     "Debug",
				"CMAKE_TOOLCHAIN_FILE": "$env{PSN00BSDK_LIBS}/cmake/sdk.cmake",
				"PSN00BSDK_TC":         "",
				"PSN00BSDK_TARGET":     "mipsel-none-elf"
			}
		}
	]
}