Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
quesnel committed Jul 2, 2024
1 parent 63c8cb9 commit eecfb7e
Showing 1 changed file with 63 additions and 111 deletions.
174 changes: 63 additions & 111 deletions CMakePresets.json
Original file line number Diff line number Diff line change
@@ -1,132 +1,84 @@
{
"version": 3,
"version": 6,
"cmakeMinimumRequired": {
"major": 3,
"minor": 23,
"patch": 0
},
"configurePresets": [
{
"name": "x64-windows",
"hidden": true,
"binaryDir": "${sourceDir}/out/build/${presetName}",
"installDir": "${sourceDir}/out/install/${presetName}",
"cacheVariables": {
"CMAKE_VERBOSE_MAKEFILE": "ON"
},
"architecture": {
"value": "x64",
"strategy": "external"
},
"toolset": {
"value": "v143,host=x64",
"strategy": "external"
},
"vendor": {
"microsoft.com/VisualStudioSettings/CMake/1.0": {
"hostOS": [
"Windows"
]
}
},
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
}
},
{
"name": "x64-linux",
"hidden": true,
"name": "default",
"displayName": "Default Config",
"description": "Default build using Ninja generator",
"generator": "Ninja",
"binaryDir": "${sourceDir}/out/build/${presetName}",
"installDir": "${sourceDir}/out/install/${presetName}",
"cacheVariables": {
"CMAKE_VERBOSE_MAKEFILE": "ON"
},
"vendor": {
"microsoft.com/VisualStudioSettings/CMake/1.0": {
"intelliSenseMode": "linux-gcc-x64"
}
},
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Linux"
}
},
{
"name": "msvc-x64-windows",
"displayName": "MSVC (native)",
"inherits": "x64-windows",
"generator": "Ninja Multi-Config",
"cacheVariables": {
"CMAKE_CXX_COMPILER": "cl"
},
"binaryDir": "${sourceDir}/build/default",
"environment": {
"CXXFLAGS": "/arch:AVX2"
"PATH": "$env{HOME}/ninja/bin:$penv{PATH}"
},
"vendor": {
"microsoft.com/VisualStudioSettings/CMake/1.0": {
"intelliSenseMode": "windows-msvc-x64"
}
}
},
{
"name": "msvc-x64-windows-generic",
"displayName": "MSVC (generic)",
"inherits": "msvc-x64-windows",
"cacheVariables": {
"HI_ARCHITECTURE": "none"
}
"name": "ninja-multi",
"inherits": "default",
"displayName": "Ninja Multi-Config",
"description": "Default build using Ninja Multi-Config generator",
"generator": "Ninja Multi-Config"
},
{
"name": "gcc12-x64-linux",
"displayName": "gcc",
"inherits": "x64-linux",
"generator": "Ninja Multi-Config",
"cacheVariables": {
"CMAKE_CXX_COMPILER": "g++-12"
"name": "windows-only",
"inherits": "default",
"displayName": "Windows-only configuration",
"description": "This build is only available on Windows",
"condition": {
"type": "equals",
"lhs": "${hostSystemName}",
"rhs": "Windows"
}
}
],
"buildPresets": [
{
"name": "msvc-x64-windows-deb",
"displayName": "Debug",
"inherits": "targets",
"configurePreset": "msvc-x64-windows",
"configuration": "Debug"
},
{
"name": "msvc-x64-windows-rel",
"displayName": "Release",
"inherits": "targets",
"configurePreset": "msvc-x64-windows",
"configuration": "Release"
},
{
"name": "msvc-x64-windows-rdi",
"displayName": "RelWithDebInfo",
"inherits": "targets",
"configurePreset": "msvc-x64-windows",
"configuration": "RelWithDebInfo"
},
"name": "default",
"configurePreset": "default"
}
],
"testPresets": [
{
"name": "msvc-x64-windows-generic-deb",
"displayName": "Debug",
"inherits": "targets",
"configurePreset": "msvc-x64-windows-generic",
"configuration": "Debug"
},
"name": "default",
"configurePreset": "default",
"output": {"outputOnFailure": true},
"execution": {"noTestsAction": "error", "stopOnFailure": true}
}
],
"packagePresets": [
{
"name": "msvc-x64-windows-generic-rel",
"displayName": "Release",
"inherits": "targets",
"configurePreset": "msvc-x64-windows-generic",
"configuration": "Release"
},
"name": "default",
"configurePreset": "default",
"generators": [
"TGZ"
]
}
],
"workflowPresets": [
{
"name": "msvc-x64-windows-generic-rdi",
"displayName": "RelWithDebInfo",
"inherits": "targets",
"configurePreset": "msvc-x64-windows-generic",
"configuration": "RelWithDebInfo"
"name": "default",
"steps": [
{
"type": "configure",
"name": "default"
},
{
"type": "build",
"name": "default"
},
{
"type": "test",
"name": "default"
},
{
"type": "package",
"name": "default"
}
]
}
]
}

0 comments on commit eecfb7e

Please sign in to comment.