DrangPlatform/CMakePresets.json

117 lines
No EOL
2.7 KiB
JSON

{
"version": 3,
"configurePresets": [
{
"name": "windows-base",
"hidden": true,
"generator": "Ninja",
"binaryDir": "${sourceDir}/build-${presetName}",
"cacheVariables": {
"CMAKE_C_COMPILER": "clang-cl.exe",
"CMAKE_CXX_COMPILER": false,
"CMAKE_EXPORT_COMPILE_COMMANDS": true
},
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
}
},
{
"name": "linux-base",
"hidden": true,
"generator": "Ninja",
"binaryDir": "${sourceDir}/build-${presetName}",
"cacheVariables": {
"CMAKE_C_COMPILER": "clang",
"CMAKE_CXX_COMPILER": false,
"CMAKE_EXPORT_COMPILE_COMMANDS": true
},
"condition": {
"type": "notEquals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
}
},
{
"name": "win64-debug",
"displayName": "x64 Debug",
"inherits": "windows-base",
"architecture": {
"value": "x64",
"strategy": "external"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "win64-debug-shared",
"displayName": "x64 Debug Shared",
"inherits": "win64-debug",
"cacheVariables": {
"DRANG_PLATFORM_BUILD_SHARED": "ON"
}
},
{
"name": "win64-release",
"displayName": "x64 Release",
"inherits": "windows-base",
"architecture": {
"value": "x64",
"strategy": "external"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "win64-release-shared",
"displayName": "x64 Release Shared",
"inherits": "win64-release",
"cacheVariables": {
"DRANG_PLATFORM_BUILD_SHARED": "ON"
}
},
{
"name": "linux64-debug",
"displayName": "x64 Debug",
"inherits": "linux-base",
"architecture": {
"value": "x64",
"strategy": "external"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Debug"
}
},
{
"name": "linux64-debug-shared",
"displayName": "x64 Debug Shared",
"inherits": "linux64-debug",
"cacheVariables": {
"DRANG_PLATFORM_BUILD_SHARED": "ON"
}
},
{
"name": "linux64-release",
"displayName": "x64 Release",
"inherits": "linux-base",
"architecture": {
"value": "x64",
"strategy": "external"
},
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
}
},
{
"name": "linux64-release-shared",
"displayName": "x64 Release Shared",
"inherits": "linux64-release",
"cacheVariables": {
"DRANG_PLATFORM_BUILD_SHARED": "ON"
}
}
]
}