🎉 begin project
This commit is contained in:
commit
8da6ddc689
29 changed files with 1261 additions and 0 deletions
112
CMakePresets.json
Normal file
112
CMakePresets.json
Normal file
|
|
@ -0,0 +1,112 @@
|
|||
{
|
||||
"version": 6,
|
||||
"cmakeMinimumRequired": {
|
||||
"major": 3,
|
||||
"minor": 21,
|
||||
"patch": 0
|
||||
},
|
||||
"configurePresets": [
|
||||
{
|
||||
"name": "ninja-multi-vcpkg",
|
||||
"displayName": "Ninja Multi-Config",
|
||||
"description": "Configure with vcpkg toolchain and generate Ninja project files for all configurations",
|
||||
"binaryDir": "${sourceDir}/builds/${presetName}",
|
||||
"generator": "Ninja Multi-Config",
|
||||
"toolchainFile": "${sourceDir}/vcpkg/scripts/buildsystems/vcpkg.cmake"
|
||||
}
|
||||
],
|
||||
"buildPresets": [
|
||||
{
|
||||
"name": "ninja-vcpkg-debug",
|
||||
"configurePreset": "ninja-multi-vcpkg",
|
||||
"displayName": "Build (Debug)",
|
||||
"description": "Build with Ninja/vcpkg (Debug)",
|
||||
"configuration": "Debug"
|
||||
},
|
||||
{
|
||||
"name": "ninja-vcpkg-release",
|
||||
"configurePreset": "ninja-multi-vcpkg",
|
||||
"displayName": "Build (Release)",
|
||||
"description": "Build with Ninja/vcpkg (Release)",
|
||||
"configuration": "Release"
|
||||
},
|
||||
{
|
||||
"name": "ninja-vcpkg",
|
||||
"configurePreset": "ninja-multi-vcpkg",
|
||||
"displayName": "Build",
|
||||
"description": "Build with Ninja/vcpkg",
|
||||
"hidden": true
|
||||
},
|
||||
{
|
||||
"name": "ninja-vcpkg-check-format",
|
||||
"configurePreset": "ninja-multi-vcpkg",
|
||||
"displayName": "Build",
|
||||
"targets": [
|
||||
"check-format"
|
||||
],
|
||||
"description": "Build with Ninja/vcpkg check-format"
|
||||
},
|
||||
{
|
||||
"name": "ninja-vcpkg-format",
|
||||
"configurePreset": "ninja-multi-vcpkg",
|
||||
"displayName": "Build",
|
||||
"targets": [
|
||||
"format"
|
||||
],
|
||||
"description": "Build with Ninja/vcpkg format"
|
||||
}
|
||||
],
|
||||
"workflowPresets": [
|
||||
{
|
||||
"name": "format",
|
||||
"steps": [
|
||||
{
|
||||
"name": "ninja-multi-vcpkg",
|
||||
"type": "configure"
|
||||
},
|
||||
{
|
||||
"name": "ninja-vcpkg-format",
|
||||
"type": "build"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "check-format",
|
||||
"steps": [
|
||||
{
|
||||
"name": "ninja-multi-vcpkg",
|
||||
"type": "configure"
|
||||
},
|
||||
{
|
||||
"name": "ninja-vcpkg-check-format",
|
||||
"type": "build"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"testPresets": [
|
||||
{
|
||||
"name": "test-ninja-vcpkg",
|
||||
"configurePreset": "ninja-multi-vcpkg",
|
||||
"hidden": true
|
||||
},
|
||||
{
|
||||
"name": "test-debug",
|
||||
"description": "Test (Debug)",
|
||||
"displayName": "Test (Debug)",
|
||||
"configuration": "Debug",
|
||||
"inherits": [
|
||||
"test-ninja-vcpkg"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "test-release",
|
||||
"description": "Test (Release)",
|
||||
"displayName": "Test (Release)",
|
||||
"configuration": "Release",
|
||||
"inherits": [
|
||||
"test-ninja-vcpkg"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue