It was copying to 'net7.0', the correct dir in development branch, which makes sense as that was the branch from which this change was originally cherry-picked.
180 lines
6.3 KiB
JSON
180 lines
6.3 KiB
JSON
{
|
|
"version": 3,
|
|
"configurePresets": [
|
|
{
|
|
"name": "spark",
|
|
"condition": {
|
|
"type": "equals",
|
|
"lhs": "${hostSystemName}",
|
|
"rhs": "Windows"
|
|
},
|
|
"generator": "Visual Studio 17 2022",
|
|
"binaryDir": "${sourceDir}/build",
|
|
"environment": {
|
|
"SPARK_CMAKE_CXX_FLAGS": "/MP /WX /wd4250 /wd4251 /wd4244 /wd4267 /wd4355 /wd4275 /wd4345 /bigobj /EHsc /DCURL_STATICLIB /D_WINSOCK_DEPRECATED_NO_WARNINGS /D__TBB_NO_IMPLICIT_LINKAGE /DBOOST_ALL_NO_LIB /std:c++17 /D_SCL_SECURE_NO_WARNINGS /D_CRT_SECURE_NO_WARNINGS /D_WIN32_WINNT=0x0600",
|
|
"DOTNET_TARGET_FRAMEWORK": "net471"
|
|
},
|
|
"cacheVariables": {
|
|
"CMAKE_CXX_FLAGS": "$env{SPARK_CMAKE_CXX_FLAGS}",
|
|
"CMAKE_CXX_FLAGS_DEBUG": "$env{SPARK_CMAKE_CXX_FLAGS} /MTd",
|
|
"CMAKE_CXX_FLAGS_RELEASE": "$env{SPARK_CMAKE_CXX_FLAGS} /MT",
|
|
"CMAKE_CXX_STANDARD": "17",
|
|
"CMAKE_SHARED_LINKER_FLAGS_DEBUG": "/DEBUG",
|
|
"CMAKE_SHARED_LINKER_FLAGS_RELEASE": "/OPT:REF /OPT:ICF /LTCG",
|
|
"DOTNET_BINARY_DIR": "${sourceDir}/build/$<CONFIG>/bin/$env{DOTNET_TARGET_FRAMEWORK}",
|
|
"EXTERNALS_ROOT": "${sourceDir}/externals/windows",
|
|
"SPARK_BIN": "${sourceDir}/externals/windows/bin",
|
|
"SPARK_INCLUDE": "${sourceDir}/externals/windows/include",
|
|
"SPARK_LIB": "${sourceDir}/externals/windows/lib/$<CONFIG>"
|
|
}
|
|
},
|
|
{
|
|
"name": "sparkd",
|
|
"hidden": true,
|
|
"description": "Sparkd common config",
|
|
"binaryDir": "${sourceDir}/build/${presetName}",
|
|
"generator": "Ninja",
|
|
"condition": {
|
|
"type": "equals",
|
|
"lhs": "${hostSystemName}",
|
|
"rhs": "Linux"
|
|
},
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_WITH_INSTALL_RPATH": {
|
|
"type": "BOOL",
|
|
"value": true
|
|
},
|
|
"CMAKE_CXX_STANDARD": "17",
|
|
"CMAKE_EXE_LINKER_FLAGS": "-Wno-undef",
|
|
"CMAKE_INSTALL_PREFIX": "${sourceDir}/install/${presetName}",
|
|
"CMAKE_INSTALL_RPATH": ".",
|
|
"EXTERNALS_ROOT": "${sourceDir}/externals/linux",
|
|
"SPARK_BIN": "${sourceDir}/externals/linux/bin",
|
|
"SPARK_INCLUDE": "${sourceDir}/externals/linux/include"
|
|
}
|
|
},
|
|
{
|
|
"name": "sparkd-debug-clang",
|
|
"displayName": "Debug (clang)",
|
|
"description": "Debug build compiled w/ clang",
|
|
"inherits": "sparkd",
|
|
"binaryDir": "${sourceDir}/build/clang/debug",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug",
|
|
"CMAKE_C_COMPILER": "clang",
|
|
"CMAKE_CXX_COMPILER": "clang++",
|
|
"CMAKE_CXX_FLAGS_DEBUG": "-g -fPIC -Wall -pedantic -Wextra -Werror -Wno-missing-braces -Wno-ignored-qualifiers -Wno-deprecated-copy -Wno-unused-but-set-variable -Wno-c++17-extensions --std=c++17 -fdiagnostics-color -DDEBUG",
|
|
"CMAKE_EXPORT_COMPILE_COMMANDS": {
|
|
"type": "BOOL",
|
|
"value": true
|
|
},
|
|
"SPARK_LIB": "${sourceDir}/externals/linux/lib/Debug"
|
|
}
|
|
},
|
|
{
|
|
"name": "sparkd-release-clang",
|
|
"displayName": "Release (clang)",
|
|
"description": "Release build compiled w/ clang",
|
|
"binaryDir": "${sourceDir}/build/clang/release",
|
|
"inherits": "sparkd",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release",
|
|
"CMAKE_C_COMPILER": "clang",
|
|
"CMAKE_CXX_COMPILER": "clang++",
|
|
"CMAKE_CXX_FLAGS_RELEASE": "-fPIC -Wall -pedantic -Wextra -Werror -Wno-missing-braces -Wno-ignored-qualifiers -Wno-deprecated-copy -Wno-c++17-extensions --std=c++17 -fdiagnostics-color -fno-omit-frame-pointer -DNDEBUG -O3",
|
|
"SPARK_LIB": "${sourceDir}/externals/linux/lib/Release"
|
|
}
|
|
},
|
|
{
|
|
"name": "sparkd-debug-gcc",
|
|
"displayName": "Debug (gcc)",
|
|
"description": "Debug build compiled w/ gcc",
|
|
"inherits": "sparkd",
|
|
"binaryDir": "${sourceDir}/build/gcc/debug",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug",
|
|
"CMAKE_C_COMPILER": "gcc",
|
|
"CMAKE_CXX_COMPILER": "g++",
|
|
"CMAKE_CXX_FLAGS_DEBUG": "-g -fPIC -Wall -pedantic -Wextra -Werror -Wno-missing-braces -Wno-ignored-qualifiers -Wno-deprecated-copy -Wno-catch-value --std=c++17 -fdiagnostics-color -DDEBUG",
|
|
"CMAKE_EXPORT_COMPILE_COMMANDS": {
|
|
"type": "BOOL",
|
|
"value": true
|
|
},
|
|
"SPARK_LIB": "${sourceDir}/externals/linux/lib/Debug"
|
|
}
|
|
},
|
|
{
|
|
"name": "sparkd-release-gcc",
|
|
"displayName": "Release (gcc)",
|
|
"description": "Release build compiled w/ gcc",
|
|
"inherits": "sparkd",
|
|
"binaryDir": "${sourceDir}/build/gcc/release",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Release",
|
|
"CMAKE_C_COMPILER": "/usr/local/bin/gcc",
|
|
"CMAKE_CXX_COMPILER": "/usr/local/bin/g++",
|
|
"CMAKE_CXX_FLAGS_RELEASE": "-fPIC -Wall -pedantic -Wextra -Werror -Wno-missing-braces -Wno-ignored-qualifiers -Wno-deprecated-copy -Wno-catch-value --std=c++17 -fdiagnostics-color -fno-omit-frame-pointer -DNDEBUG -O3",
|
|
"SPARK_LIB": "${sourceDir}/externals/linux/lib/Release"
|
|
}
|
|
}
|
|
],
|
|
"buildPresets": [
|
|
{
|
|
"name": "spark",
|
|
"condition": {
|
|
"type": "equals",
|
|
"lhs": "${hostSystemName}",
|
|
"rhs": "Windows"
|
|
},
|
|
"hidden": true
|
|
},
|
|
{
|
|
"name": "spark-debug",
|
|
"displayName": "Debug",
|
|
"inherits": "spark",
|
|
"configurePreset": "spark",
|
|
"configuration": "Debug"
|
|
},
|
|
{
|
|
"name": "spark-release",
|
|
"displayName": "Release",
|
|
"inherits": "spark",
|
|
"configurePreset": "spark",
|
|
"configuration": "Release"
|
|
},
|
|
{
|
|
"name": "sparkd",
|
|
"condition": {
|
|
"type": "equals",
|
|
"lhs": "${hostSystemName}",
|
|
"rhs": "Linux"
|
|
},
|
|
"hidden": true
|
|
},
|
|
{
|
|
"name": "sparkd-debug-clang",
|
|
"configurePreset": "sparkd-debug-clang",
|
|
"displayName": "Debug (clang)",
|
|
"inherits": "sparkd"
|
|
},
|
|
{
|
|
"name": "sparkd-debug-gcc",
|
|
"configurePreset": "sparkd-debug-gcc",
|
|
"displayName": "Debug (gcc)",
|
|
"inherits": "sparkd"
|
|
},
|
|
{
|
|
"name": "sparkd-release-clang",
|
|
"configurePreset": "sparkd-release-clang",
|
|
"displayName": "Release (clang)",
|
|
"inherits": "sparkd"
|
|
},
|
|
{
|
|
"name": "sparkd-release-gcc",
|
|
"configurePreset": "sparkd-release-gcc",
|
|
"displayName": "Release (gcc)",
|
|
"inherits": "sparkd"
|
|
}
|
|
]
|
|
}
|