2023-03-13 23:33:18 +03:00
{
2023-05-15 21:35:10 +03:00
"version" : 3 ,
2023-03-13 23:33:18 +03:00
"cmakeMinimumRequired" : {
"major" : 3 ,
"minor" : 13 ,
"patch" : 0
} ,
"configurePresets" : [
{
"name" : "windows-default" ,
2023-06-10 04:08:13 +03:00
"displayName" : "Windows" ,
2023-03-13 23:33:18 +03:00
"description" : "Sets Ninja generator, and compilers. Configures vcpkg in manifest mode." ,
"generator" : "Ninja" ,
"binaryDir" : "${sourceDir}/out/build/${presetName}" ,
"hidden" : true ,
"cacheVariables" : {
"VCPKG_MANIFEST_MODE" : true
} ,
"vendor" : {
"microsoft.com/VisualStudioSettings/CMake/1.0" : {
2023-10-24 20:45:43 +03:00
"hostOS" : [
"Windows"
]
2023-03-13 23:33:18 +03:00
}
2023-05-15 21:35:10 +03:00
} ,
"condition" : {
"type" : "equals" ,
"lhs" : "${hostSystemName}" ,
"rhs" : "Windows"
2023-03-13 23:33:18 +03:00
}
} ,
2023-07-20 22:07:26 +03:00
{
"name" : "msvc-windows-default" ,
"displayName" : "MSVC Windows" ,
"description" : "Sets MSVC generator, and compilers. Configures vcpkg in manifest mode." ,
"generator" : "Visual Studio 17 2022" ,
"binaryDir" : "${sourceDir}/out/build/${presetName}" ,
"hidden" : true ,
"cacheVariables" : {
"VCPKG_MANIFEST_MODE" : true
} ,
"vendor" : {
"microsoft.com/VisualStudioSettings/CMake/1.0" : {
2023-10-24 20:45:43 +03:00
"hostOS" : [
"Windows"
]
2023-07-20 22:07:26 +03:00
}
} ,
"condition" : {
"type" : "equals" ,
"lhs" : "${hostSystemName}" ,
"rhs" : "Windows"
}
} ,
2023-03-13 23:33:18 +03:00
{
"name" : "x64-static" ,
"displayName" : "Windows x64 Static" ,
2023-06-06 19:10:39 +03:00
"description" : "Windows Default, x64 architecture, static CRT." ,
2023-03-13 23:33:18 +03:00
"inherits" : "windows-default" ,
"hidden" : true ,
"cacheVariables" : {
"VCPKG_TARGET_TRIPLET" : "x64-windows-static" ,
"MSVC_USE_STATIC_CRT" : true
} ,
"architecture" : {
"value" : "x64" ,
"strategy" : "external"
}
} ,
{
"name" : "x86-static" ,
"displayName" : "Windows x86 Static" ,
2023-06-06 19:10:39 +03:00
"description" : "Windows Default, x86 architecture." ,
2023-03-13 23:33:18 +03:00
"inherits" : "windows-default" ,
"hidden" : true ,
"cacheVariables" : {
"VCPKG_TARGET_TRIPLET" : "x86-windows-static" ,
"MSVC_USE_STATIC_CRT" : true
} ,
"architecture" : {
"value" : "x86" ,
"strategy" : "external"
}
} ,
2023-07-20 22:07:26 +03:00
{
"name" : "x86-msvc-static" ,
"displayName" : "Windows x86 MSVC Static" ,
"description" : "Windows Default, MSVC, x86 architecture." ,
"inherits" : "msvc-windows-default" ,
"hidden" : true ,
"cacheVariables" : {
"VCPKG_TARGET_TRIPLET" : "x86-windows-static" ,
"MSVC_USE_STATIC_CRT" : true
} ,
"architecture" : "win32"
} ,
2023-09-22 18:06:58 +03:00
{
"name" : "x64-msvc-static" ,
"displayName" : "Windows x64 MSVC Static" ,
"description" : "Windows Default, MSVC, x64 architecture." ,
"inherits" : "msvc-windows-default" ,
"hidden" : true ,
"cacheVariables" : {
"VCPKG_TARGET_TRIPLET" : "x64-windows-static" ,
"MSVC_USE_STATIC_CRT" : true
} ,
"architecture" : {
"value" : "x64" ,
"strategy" : "external"
}
} ,
2023-03-13 23:33:18 +03:00
{
"name" : "x64" ,
"displayName" : "Windows x64" ,
2023-06-06 19:10:39 +03:00
"description" : "x64 architecture." ,
2023-03-13 23:33:18 +03:00
"inherits" : "windows-default" ,
"hidden" : true ,
"cacheVariables" : {
2023-05-10 23:58:39 +03:00
"VCPKG_TARGET_TRIPLET" : "x64-windows" ,
"BUILD_SHARED_LIBS" : true
2023-03-13 23:33:18 +03:00
} ,
"architecture" : {
"value" : "x64" ,
"strategy" : "external"
}
} ,
{
"name" : "x86" ,
"displayName" : "Windows x86" ,
"description" : "Ninja Generator, x86 architecture." ,
"inherits" : "windows-default" ,
"hidden" : true ,
"cacheVariables" : {
2023-05-10 23:58:39 +03:00
"VCPKG_TARGET_TRIPLET" : "x86-windows" ,
"BUILD_SHARED_LIBS" : true
2023-03-13 23:33:18 +03:00
} ,
"architecture" : {
"value" : "x86" ,
"strategy" : "external"
}
} ,
{
2023-07-20 22:07:26 +03:00
"name" : "debug-build" ,
"displayName" : "Debug Build" ,
"description" : "Debug Build (Hidden)" ,
2023-03-13 23:33:18 +03:00
"hidden" : true ,
"cacheVariables" : {
"CMAKE_BUILD_TYPE" : "Debug"
}
} ,
{
2023-07-20 22:07:26 +03:00
"name" : "release-build" ,
"displayName" : "Release Build" ,
"description" : "Release Build (Hidden)" ,
2023-03-13 23:33:18 +03:00
"hidden" : true ,
"cacheVariables" : {
"CMAKE_BUILD_TYPE" : "RelWithDebInfo"
}
} ,
{
2023-07-20 22:07:26 +03:00
"name" : "enable-tests" ,
"displayName" : "Enable Tests" ,
"description" : "Enable Tests (Hidden)" ,
2023-03-13 23:33:18 +03:00
"hidden" : true ,
"cacheVariables" : {
2023-07-20 22:07:26 +03:00
"BUILD_TESTING" : true ,
"ENABLE_PROXY_TESTS" : false
2023-03-13 23:33:18 +03:00
}
} ,
{
2023-07-20 22:07:26 +03:00
"name" : "enable-samples" ,
"displayName" : "Enable Samples" ,
"description" : "Enable Samples (Hidden)" ,
2023-03-13 23:33:18 +03:00
"hidden" : true ,
"cacheVariables" : {
2023-07-20 22:07:26 +03:00
"BUILD_SAMPLES" : true
2023-03-13 23:33:18 +03:00
}
} ,
{
2023-07-20 22:07:26 +03:00
"name" : "enable-perf" ,
"displayName" : "Enable Perf" ,
"description" : "Enable Perf (Hidden)" ,
2023-03-13 23:33:18 +03:00
"hidden" : true ,
"cacheVariables" : {
2023-07-20 22:07:26 +03:00
"BUILD_PERFORMANCE_TESTS" : true
2023-03-13 23:33:18 +03:00
}
} ,
2023-09-13 21:12:46 +03:00
{
"name" : "winhttp-transport" ,
"displayName" : "Enable WinHTTP Transport" ,
"description" : "Enable WinHTTP Transport (Hidden)" ,
"hidden" : true ,
"cacheVariables" : {
"BUILD_TRANSPORT_WINHTTP" : true
} ,
"condition" : {
"type" : "equals" ,
"lhs" : "${hostSystemName}" ,
"rhs" : "Windows"
}
} ,
{
"name" : "curl-transport" ,
"displayName" : "Enable CURL Transport" ,
"description" : "Enable CURL Transport (Hidden)" ,
"hidden" : true ,
"cacheVariables" : {
"BUILD_TRANSPORT_CURL" : true
}
} ,
{
"name" : "enable-address-sanitizer" ,
"displayName" : "Enable Address Sanitizer" ,
"description" : "Enable Address Sanitizer (Hidden). Note: ASAN can be extremely disruptive, when enabling ASAN, make sure you run your application under the debugger." ,
"hidden" : true ,
"environment" : {
2023-10-24 20:45:43 +03:00
"CXXFLAGS" : "-fsanitize=address" ,
"CFLAGS" : "-fsanitize=address"
2023-09-13 21:12:46 +03:00
}
} ,
2023-03-13 23:33:18 +03:00
{
"name" : "x86-static-debug-tests" ,
"displayName" : "x86 Debug With Tests, static" ,
"description" : "Windows x86 Debug build with Tests configured" ,
2023-10-24 20:45:43 +03:00
"inherits" : [
"x86-static" ,
"debug-build" ,
"enable-tests"
]
2023-03-13 23:33:18 +03:00
} ,
{
"name" : "x86-static-release-tests" ,
"displayName" : "x86 Release With Tests, static, libcurl" ,
"description" : "Windows x86 Release build with Tests configured" ,
2023-10-24 20:45:43 +03:00
"inherits" : [
"x86-static" ,
"release-build" ,
"enable-tests"
] ,
2023-03-13 23:33:18 +03:00
"cacheVariables" : {
2023-07-20 22:07:26 +03:00
"RUN_LONG_UNIT_TESTS" : true
2023-03-13 23:33:18 +03:00
}
} ,
2023-05-10 23:58:39 +03:00
{
"name" : "x64-debug-tests" ,
2023-07-20 22:07:26 +03:00
"displayName" : "x64 Debug With Tests" ,
2023-06-10 04:08:13 +03:00
"description" : "Windows x64 Debug build with Tests configured" ,
2023-10-24 20:45:43 +03:00
"inherits" : [
"x64" ,
"debug-build" ,
"enable-tests"
]
2023-07-20 22:07:26 +03:00
} ,
{
"name" : "x86-msvc-static-debug-tests" ,
"displayName" : "x86 MSVC Debug With Tests, static" ,
"description" : "Windows x86 MSVC Debug build with Tests configured" ,
2023-10-24 20:45:43 +03:00
"inherits" : [
"x86-msvc-static" ,
"debug-build" ,
"enable-tests"
]
2023-05-10 23:58:39 +03:00
} ,
2023-03-13 23:33:18 +03:00
{
"name" : "x64-static-debug-tests" ,
2023-06-10 04:08:13 +03:00
"displayName" : "x64 Debug With Tests, static" ,
"description" : "Windows x64 Debug build with Tests configured" ,
2023-10-24 20:45:43 +03:00
"inherits" : [
"x64-static" ,
"debug-build" ,
"enable-tests"
]
2023-03-13 23:33:18 +03:00
} ,
{
"name" : "x64-static-debug-tests-curl" ,
2023-06-10 04:08:13 +03:00
"displayName" : "x64 Debug With Tests, static, libcurl" ,
"description" : "Windows x64 Debug build with Tests configured" ,
2023-10-24 20:45:43 +03:00
"inherits" : [
"x64-static" ,
"debug-build" ,
"enable-tests" ,
"curl-transport"
]
2023-03-13 23:33:18 +03:00
} ,
{
"name" : "x64-static-debug-tests-winhttp" ,
2023-06-10 04:08:13 +03:00
"displayName" : "x64 Debug With Tests, static, winhttp" ,
"description" : "Windows x64 Debug build with Tests configured" ,
2023-10-24 20:45:43 +03:00
"inherits" : [
"x64-static" ,
"debug-build" ,
"enable-tests" ,
"winhttp-transport"
]
2023-03-13 23:33:18 +03:00
} ,
{
"name" : "x64-static-debug-tests-OpenSSL111" ,
2023-06-10 04:08:13 +03:00
"displayName" : "x64 Debug With Tests, static, OpenSSL 1.1.1, libcurl" ,
"description" : "Windows x64 Debug build with Tests configured on OpenSSL 1.1.1" ,
2023-10-24 20:45:43 +03:00
"inherits" : [
"x64-static" ,
"debug-build" ,
"enable-tests"
] ,
2023-03-13 23:33:18 +03:00
"cacheVariables" : {
"VCPKG_OVERLAY_PORTS" : "${sourceDir}\\vcpkg-custom-ports"
}
} ,
{
"name" : "x86-static-release-tests-curl" ,
"displayName" : "x86 Release With Tests, static, libcurl" ,
"description" : "Windows x86 Release build with Tests configured" ,
2023-07-20 22:07:26 +03:00
"inherits" : [
"x86-static" ,
"release-build" ,
2023-09-13 21:12:46 +03:00
"enable-tests" ,
"curl-transport"
]
2023-03-13 23:33:18 +03:00
} ,
{
"name" : "x86-release-tests" ,
"displayName" : "x86 Release With Tests (Note: Does not link because it sets BUILD_TRANSPORT_CUSTOM)" ,
2023-10-24 20:45:43 +03:00
"inherits" : [
"x86" ,
"release-build" ,
"enable-tests" ,
"curl-transport" ,
"winhttp-transport"
] ,
2023-03-13 23:33:18 +03:00
"cacheVariables" : {
2023-09-13 21:12:46 +03:00
"BUILD_TRANSPORT_CUSTOM" : true
2023-03-13 23:33:18 +03:00
}
} ,
{
"name" : "x64-release-tests" ,
2023-06-10 04:08:13 +03:00
"displayName" : "x64 Release With Tests (Note: Does not link because it sets BUILD_TRANSPORT_CUSTOM)" ,
2023-10-24 20:45:43 +03:00
"inherits" : [
"x64" ,
"release-build" ,
"enable-tests" ,
"curl-transport" ,
"winhttp-transport"
] ,
2023-03-13 23:33:18 +03:00
"cacheVariables" : {
2023-09-13 21:12:46 +03:00
"BUILD_TRANSPORT_CUSTOM" : true
2023-03-13 23:33:18 +03:00
}
} ,
{
"name" : "x64-static-debug-perftests" ,
2023-07-20 22:07:26 +03:00
"displayName" : "x64 Debug static With Perf Tests and samples, libcurl+winhttp" ,
"inherits" : [
"x64-static" ,
"debug-build" ,
"enable-tests" ,
"enable-samples" ,
2023-09-13 21:12:46 +03:00
"enable-perf" ,
"winhttp-transport" ,
"curl-transport"
]
2023-03-13 23:33:18 +03:00
} ,
{
2023-07-20 22:07:26 +03:00
"name" : "x86-msvc-static-debug-perftests" ,
"displayName" : "x86 MSVC Debug static With Perf Tests and samples" ,
2023-10-24 20:45:43 +03:00
"inherits" : [
"x86-msvc-static" ,
"debug-build" ,
"enable-tests" ,
"enable-perf" ,
"enable-samples" ,
"curl-transport" ,
"winhttp-transport"
]
2023-05-15 21:35:10 +03:00
} ,
2023-09-22 18:06:58 +03:00
{
"name" : "x64-msvc-static-debug-perftests" ,
"displayName" : "x64 MSVC Debug static With Perf Tests and samples" ,
2023-10-24 20:45:43 +03:00
"inherits" : [
"x64-msvc-static" ,
"debug-build" ,
"enable-tests" ,
"enable-perf" ,
"enable-samples" ,
"curl-transport" ,
"winhttp-transport"
]
2023-09-22 18:06:58 +03:00
} ,
{
"name" : "x64-msvc-static-release-perftests" ,
"displayName" : "x64 MSVC Release static With Perf Tests and samples" ,
2023-10-24 20:45:43 +03:00
"inherits" : [
"x64-msvc-static" ,
"release-build" ,
"enable-tests" ,
"enable-perf" ,
"enable-samples" ,
"curl-transport" ,
"winhttp-transport"
]
2023-09-22 18:06:58 +03:00
} ,
2023-07-20 22:07:26 +03:00
{
"name" : "x64-static-release-perftests" ,
"displayName" : "x64 Release With Perf Tests, static" ,
2023-10-24 20:45:43 +03:00
"inherits" : [
"x64-static" ,
"release-build" ,
"enable-perf"
]
2023-07-20 22:07:26 +03:00
} ,
2023-05-15 21:35:10 +03:00
{
"name" : "linux-basic-gcc9" ,
2023-06-10 04:08:13 +03:00
"displayName" : "Linux GCC 9" ,
2023-05-15 21:35:10 +03:00
"description" : "Using compilers: C = /usr/bin/gcc-9, CXX = /usr/bin/g++-9" ,
"binaryDir" : "${sourceDir}/out/build/${presetName}" ,
"generator" : "Ninja" ,
2023-10-24 20:45:43 +03:00
"hidden" : true ,
2023-05-15 21:35:10 +03:00
"cacheVariables" : {
"CMAKE_INSTALL_PREFIX" : "${sourceDir}/out/install/${presetName}" ,
"CMAKE_C_COMPILER" : "/usr/bin/gcc-9" ,
"CMAKE_CXX_COMPILER" : "/usr/bin/g++-9"
} ,
"condition" : {
"type" : "equals" ,
"lhs" : "${hostSystemName}" ,
"rhs" : "Linux"
}
} ,
2023-06-23 04:26:07 +03:00
{
"name" : "linux-basic-clang-11" ,
"displayName" : "Linux clang-11" ,
"description" : "Using compilers: C = /usr/bin/clang-11, CXX = /usr/bin/clang++-11" ,
"binaryDir" : "${sourceDir}/out/build/${presetName}" ,
"generator" : "Ninja" ,
2023-10-24 20:45:43 +03:00
"hidden" : true ,
2023-06-23 04:26:07 +03:00
"cacheVariables" : {
"CMAKE_INSTALL_PREFIX" : "${sourceDir}/out/install/${presetName}" ,
"CMAKE_C_COMPILER" : "/usr/bin/clang-11" ,
"CMAKE_CXX_COMPILER" : "/usr/bin/clang++-11"
} ,
"condition" : {
"type" : "equals" ,
"lhs" : "${hostSystemName}" ,
"rhs" : "Linux"
}
} ,
2023-10-17 21:55:54 +03:00
{
"name" : "linux-basic-clang-13" ,
"displayName" : "Linux clang-13" ,
"description" : "Using compilers: C = /usr/bin/clang-13, CXX = /usr/bin/clang++-13" ,
"binaryDir" : "${sourceDir}/out/build/${presetName}" ,
"generator" : "Ninja" ,
"hidden" : true ,
"cacheVariables" : {
"CMAKE_INSTALL_PREFIX" : "${sourceDir}/out/install/${presetName}" ,
"CMAKE_C_COMPILER" : "/usr/bin/clang-13" ,
"CMAKE_CXX_COMPILER" : "/usr/bin/clang++-13"
} ,
"condition" : {
"type" : "equals" ,
"lhs" : "${hostSystemName}" ,
"rhs" : "Linux"
}
} ,
2023-06-23 04:26:07 +03:00
{
"name" : "linux-basic-g++" ,
"displayName" : "Linux G++" ,
"description" : "Using compilers: C = /usr/bin/cc, CXX = /usr/bin/c++" ,
"binaryDir" : "${sourceDir}/out/build/${presetName}" ,
"generator" : "Ninja" ,
2023-10-24 20:45:43 +03:00
"hidden" : true ,
2023-06-23 04:26:07 +03:00
"cacheVariables" : {
"CMAKE_INSTALL_PREFIX" : "${sourceDir}/out/install/${presetName}" ,
"CMAKE_C_COMPILER" : "/usr/bin/cc" ,
"CMAKE_CXX_COMPILER" : "/usr/bin/c++"
} ,
"condition" : {
"type" : "equals" ,
"lhs" : "${hostSystemName}" ,
"rhs" : "Linux"
}
} ,
2023-10-24 20:45:43 +03:00
{
"name" : "linux-basic-g++-11" ,
"displayName" : "Linux G++ 11" ,
"description" : "Using compilers: C = /usr/bin/gcc-11, CXX = /usr/bin/g++-11" ,
"binaryDir" : "${sourceDir}/out/build/${presetName}" ,
"generator" : "Ninja" ,
"hidden" : true ,
"cacheVariables" : {
"CMAKE_INSTALL_PREFIX" : "${sourceDir}/out/install/${presetName}" ,
"CMAKE_C_COMPILER" : "/usr/bin/gcc-11" ,
"CMAKE_CXX_COMPILER" : "/usr/bin/g++-11"
} ,
"condition" : {
"type" : "equals" ,
"lhs" : "${hostSystemName}" ,
"rhs" : "Linux"
}
} ,
2023-07-20 22:07:26 +03:00
{
"name" : "linux-gcc9-debug" ,
"displayName" : "Linux GCC 9 Debug" ,
2023-10-24 20:45:43 +03:00
"inherits" : [
"linux-basic-gcc9" ,
"debug-build"
]
2023-07-20 22:07:26 +03:00
} ,
{
"name" : "linux-gcc9-debug-tests" ,
2023-10-24 20:45:43 +03:00
"inherits" : [
"linux-basic-gcc9" ,
"debug-build" ,
"enable-tests"
] ,
2023-07-20 22:07:26 +03:00
"displayName" : "Linux GCC 9 Debug+Tests"
} ,
{
"name" : "linux-clang-11-debug" ,
"displayName" : "Linux clang 11 Debug" ,
"inherits" : [ "linux-basic-clang-11" , "debug-build" ]
} ,
{
2023-10-19 01:58:47 +03:00
"name" : "linux-clang-11-debug-tests" ,
"displayName" : "Linux clang 11 Debug+tests" ,
"inherits" : [ "linux-basic-clang-11" , "debug-build" , "enable-tests" ]
2023-10-17 21:55:54 +03:00
} ,
{
2023-10-19 01:58:47 +03:00
"name" : "linux-clang-13-debug" ,
"inherits" : [ "linux-basic-clang-13" , "debug-build" ] ,
"displayName" : "Linux clang 13 Debug+Tests"
2023-10-17 21:55:54 +03:00
} ,
{
"name" : "linux-clang-13-debug-tests" ,
2023-10-24 20:45:43 +03:00
"inherits" : [
"linux-basic-clang-13" ,
"debug-build" ,
"enable-tests"
] ,
2023-10-17 21:55:54 +03:00
"displayName" : "Linux clang 13 Debug+Tests"
2023-07-20 22:07:26 +03:00
} ,
2023-06-23 04:26:07 +03:00
{
"name" : "linux-g++-debug" ,
"displayName" : "Linux c++ Debug" ,
2023-10-24 20:45:43 +03:00
"inherits" : [
"linux-basic-g++" ,
"debug-build"
]
2023-06-23 04:26:07 +03:00
} ,
{
"name" : "linux-g++-debug-tests" ,
2023-10-24 20:45:43 +03:00
"inherits" : [
"linux-basic-g++" ,
"debug-build" ,
"enable-tests"
] ,
"displayName" : "Linux g++, Debug+Tests"
} ,
{
"name" : "g++-debug-asan-tests" ,
"inherits" : [
"linux-g++-debug-tests" ,
"enable-address-sanitizer"
] ,
"displayName" : "Linux g++, ASAN+Debug+Tests"
2023-06-23 04:26:07 +03:00
} ,
2023-08-17 19:52:54 +03:00
{
"name" : "linux-g++-debug-tests-samples" ,
2023-10-24 20:45:43 +03:00
"inherits" : [
"linux-basic-g++" ,
"debug-build" ,
"enable-tests" ,
"enable-samples"
] ,
"displayName" : "Linux c++ Debug+Tests, samples"
} ,
{
"name" : "linux-g++-11-debug" ,
"displayName" : "Linux g++-11 Debug" ,
"inherits" : [
"linux-basic-g++-11" ,
"debug-build"
]
} ,
{
"name" : "linux-g++-11-debug-tests" ,
"inherits" : [
"linux-basic-g++-11" ,
"debug-build" ,
"enable-tests"
] ,
"displayName" : "Linux g++-11 Debug+Tests"
} ,
{
"name" : "linux-g++-11-debug-tests-samples" ,
"inherits" : [
"linux-basic-g++-11" ,
"debug-build" ,
"enable-tests" ,
"enable-samples"
] ,
2023-08-17 19:52:54 +03:00
"displayName" : "Linux c++ Debug+Tests, samples"
} ,
2023-06-06 19:10:39 +03:00
{
"name" : "generate-doxygen" ,
"displayName" : "zz-Generate Doxygen" ,
"inherits" : "x64-static" ,
2023-06-23 04:26:07 +03:00
"cacheVariables" : {
"BUILD_DOCUMENTATION" : true
}
2023-03-13 23:33:18 +03:00
}
]
}