Skip to content

Commit

Permalink
build: default preset enables tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alandefreitas committed Feb 29, 2024
1 parent 9c20b9d commit b615e97
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
"CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
"LLVM_ROOT": "$env{LLVM_ROOT}",
"Clang_ROOT": "$env{LLVM_ROOT}",
"MRDOCS_BUILD_TESTS": "ON"
"MRDOCS_BUILD_TESTS": "ON",
"VCPKG_MANIFEST_FEATURES": "tests"
},
"vendor": {
"microsoft.com/VisualStudioSettings/CMake/1.0": {
Expand Down Expand Up @@ -56,7 +57,8 @@
"description": "Release Config without Tests.",
"binaryDir": "${sourceDir}/build/${presetName}",
"cacheVariables": {
"MRDOCS_BUILD_TESTS": "OFF"
"MRDOCS_BUILD_TESTS": "OFF",
"VCPKG_MANIFEST_FEATURES": ""
}
}
]
Expand Down

0 comments on commit b615e97

Please sign in to comment.