-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
176 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
{ | ||
"version": 3, | ||
"cmakeMinimumRequired": { | ||
"major": 3, | ||
"minor": 19, | ||
"patch": 0 | ||
}, | ||
"configurePresets": [ | ||
{ | ||
"name": "release", | ||
"displayName": "Release Configuration", | ||
"description": "Configure the project with Release build type, travel tracking disabled, and tests disabled.", | ||
"generator": "Unix Makefiles", | ||
"binaryDir": "${sourceDir}/build", | ||
"cacheVariables": { | ||
"CMAKE_BUILD_TYPE": "Release", | ||
"ENABLE_TRAVEL_TRACKING": "OFF", | ||
"BUILD_TESTS": "OFF", | ||
"CMAKE_TOOLCHAIN_FILE": "${env.VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake", | ||
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON" | ||
} | ||
}, | ||
{ | ||
"name": "debug", | ||
"displayName": "Debug Configuration", | ||
"description": "Configure the project with Debug build type, travel tracking enabled, and tests enabled.", | ||
"generator": "Unix Makefiles", | ||
"binaryDir": "${sourceDir}/build-debug", | ||
"cacheVariables": { | ||
"CMAKE_BUILD_TYPE": "Debug", | ||
"ENABLE_TRAVEL_TRACKING": "ON", | ||
"BUILD_TESTS": "ON", | ||
"CMAKE_TOOLCHAIN_FILE": "${env.VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake", | ||
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON" | ||
} | ||
}, | ||
{ | ||
"name": "ninja-release", | ||
"displayName": "Ninja Release Configuration", | ||
"description": "Configure the project with Release build type using Ninja generator.", | ||
"generator": "Ninja", | ||
"binaryDir": "${sourceDir}/build-ninja", | ||
"cacheVariables": { | ||
"CMAKE_BUILD_TYPE": "Release", | ||
"ENABLE_TRAVEL_TRACKING": "OFF", | ||
"BUILD_TESTS": "OFF", | ||
"CMAKE_TOOLCHAIN_FILE": "${env.VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake", | ||
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON" | ||
} | ||
}, | ||
{ | ||
"name": "ninja-debug", | ||
"displayName": "Ninja Debug Configuration", | ||
"description": "Configure the project with Debug build type using Ninja generator.", | ||
"generator": "Ninja", | ||
"binaryDir": "${sourceDir}/build-ninja-debug", | ||
"cacheVariables": { | ||
"CMAKE_BUILD_TYPE": "Debug", | ||
"ENABLE_TRAVEL_TRACKING": "ON", | ||
"BUILD_TESTS": "ON", | ||
"CMAKE_TOOLCHAIN_FILE": "${env.VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake", | ||
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON" | ||
} | ||
} | ||
], | ||
"buildPresets": [ | ||
{ | ||
"name": "build-release", | ||
"configurePreset": "release", | ||
"description": "Build the project using the Release configuration.", | ||
"jobs": 6 | ||
}, | ||
{ | ||
"name": "build-debug", | ||
"configurePreset": "debug", | ||
"description": "Build the project using the Debug configuration.", | ||
"jobs": 6 | ||
}, | ||
{ | ||
"name": "build-ninja-release", | ||
"configurePreset": "ninja-release", | ||
"description": "Build the project using the Ninja Release configuration.", | ||
"jobs": 6 | ||
}, | ||
{ | ||
"name": "build-ninja-debug", | ||
"configurePreset": "ninja-debug", | ||
"description": "Build the project using the Ninja Debug configuration.", | ||
"jobs": 6 | ||
} | ||
], | ||
"testPresets": [ | ||
{ | ||
"name": "test-release", | ||
"configurePreset": "release", | ||
"description": "Run tests for the Release configuration." | ||
}, | ||
{ | ||
"name": "test-debug", | ||
"configurePreset": "debug", | ||
"description": "Run tests for the Debug configuration." | ||
}, | ||
{ | ||
"name": "test-ninja-release", | ||
"configurePreset": "ninja-release", | ||
"description": "Run tests for the Ninja Release configuration." | ||
}, | ||
{ | ||
"name": "test-ninja-debug", | ||
"configurePreset": "ninja-debug", | ||
"description": "Run tests for the Ninja Debug configuration." | ||
} | ||
], | ||
"exportPresets": [] | ||
} |