Warning, /libraries/ktextaddons/CMakePresets.json is written in an unsupported language. File is not indexed.

0001 {
0002     "version": 3,
0003     "configurePresets": [
0004         {
0005             "name": "base",
0006             "displayName": "base preset",
0007             "generator": "Ninja",
0008             "binaryDir": "${sourceDir}/build-${presetName}",
0009             "installDir": "$env{KF5}",
0010             "hidden": true
0011         },
0012         {
0013             "name": "base-qt6",
0014             "displayName": "base preset",
0015             "generator": "Ninja",
0016             "binaryDir": "${sourceDir}/build-${presetName}",
0017             "installDir": "$env{KF6}",
0018             "hidden": true
0019         },      
0020         {
0021             "name": "dev-mold",
0022             "displayName": "Build as debug + using mold linker",
0023             "cacheVariables": {
0024                 "CMAKE_BUILD_TYPE": "Debug",
0025                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
0026                 "CMAKE_SHARED_LINKER_FLAGS": "-fuse-ld=mold"
0027             },
0028             "inherits": [
0029                 "base"
0030             ]
0031         },
0032         {
0033             "name": "dev",
0034             "displayName": "Build as debug",
0035             "cacheVariables": {
0036                 "CMAKE_BUILD_TYPE": "Debug",
0037                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
0038             },
0039             "inherits": [
0040                 "base"
0041             ]
0042 
0043         },
0044         {
0045             "name": "coverage",
0046             "displayName": "Build as debug",
0047             "cacheVariables": {
0048                 "CMAKE_BUILD_TYPE": "Debug",
0049                 "BUILD_COVERAGE": "ON",
0050                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
0051             },
0052             "inherits": [
0053                 "base"
0054             ]
0055         },
0056         {
0057             "name": "dev-qt6",
0058             "displayName": "Build against qt6",
0059             "binaryDir": "${sourceDir}/build-qt6",
0060             "cacheVariables": {
0061                 "CMAKE_BUILD_TYPE": "Debug",
0062                 "BUILD_WITH_QT6": "ON",
0063                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
0064             },
0065             "inherits": [
0066                 "base-qt6"
0067             ]
0068         },
0069         {
0070             "name": "dev-bergamot-plugins-qt6",
0071             "displayName": "Build against qt6 + bergamot plugins",
0072             "binaryDir": "${sourceDir}/build-qt6-bergamot",
0073             "cacheVariables": {
0074                 "CMAKE_BUILD_TYPE": "Debug",
0075                 "BUILD_WITH_QT6": "ON",
0076                 "BERGAMOT_TRANSLATOR_PLUGIN": "ON",
0077                 "BLA_PREFER_PKGCONFIG": "ON",
0078                 "BLA_PKGCONFIG_BLAS": "openblas",
0079                 "cblas_cblas_LIBRARY": "cblas",
0080                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
0081             },
0082             "inherits": [
0083                 "base-qt6"
0084             ]
0085         },      
0086         {
0087             "name": "dev-disable-deprecated",
0088             "displayName": "Build as without deprecated methods",
0089             "cacheVariables": {
0090                 "CMAKE_BUILD_TYPE": "Debug",
0091                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
0092                 "CMAKE_CXX_FLAGS_INIT": "-DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x060000"
0093             },
0094             "inherits": [
0095                 "base"
0096             ]
0097         },
0098         {
0099             "name": "asan",
0100             "displayName": "Build with Asan support.",
0101             "cacheVariables": {
0102                 "CMAKE_BUILD_TYPE": "Debug",
0103                 "ECM_ENABLE_SANITIZERS" : "'address;undefined'",
0104                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
0105             },
0106             "inherits": [
0107                 "base"
0108             ]
0109         },
0110         {
0111             "name": "pch",
0112             "displayName": "Build with PCH support.",
0113             "cacheVariables": {
0114                 "CMAKE_BUILD_TYPE": "Debug",
0115                 "COMPILE_WITH_CMAKE_PCH_SUPPORT": "ON",
0116                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
0117             },
0118             "inherits": [
0119                 "base"
0120             ]
0121         },
0122         {
0123             "name": "dev-clang",
0124             "displayName": "dev-clang",
0125             "cacheVariables": {
0126                 "CMAKE_BUILD_TYPE": "Debug",
0127                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
0128             },
0129             "environment": {
0130                 "CXX": "clang++",
0131                 "CCACHE_DISABLE": "ON"
0132             },
0133             "inherits": [
0134                 "base"
0135             ]
0136         },
0137         {
0138             "name": "unity",
0139             "displayName": "Build with CMake unity support.",
0140             "cacheVariables": {
0141                 "CMAKE_BUILD_TYPE": "Debug",
0142                 "USE_UNITY_CMAKE_SUPPORT": "ON",
0143                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
0144             },
0145             "inherits": [
0146                 "base"
0147             ]
0148         },
0149         {
0150             "name": "unity-qt6",
0151             "displayName": "Build with CMake unity support.",
0152             "cacheVariables": {
0153                 "CMAKE_BUILD_TYPE": "Debug",
0154                 "USE_UNITY_CMAKE_SUPPORT": "ON",
0155                 "BUILD_WITH_QT6": "ON",
0156                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
0157             },
0158             "inherits": [
0159                 "base-qt6"
0160             ]
0161         },
0162         {
0163             "name": "release",
0164             "displayName": "Build as release mode.",
0165             "cacheVariables": {
0166                 "CMAKE_BUILD_TYPE": "Release"
0167             },
0168             "inherits": [
0169                 "base"
0170             ]
0171         },
0172         {   
0173             "name": "release-qt6",
0174             "displayName": "Build as release mode.",
0175             "cacheVariables": {
0176                 "CMAKE_BUILD_TYPE": "Release",
0177                 "BUILD_WITH_QT6": "ON",
0178                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
0179             },
0180             "inherits": [
0181                 "base-qt6"
0182             ]
0183         },      
0184         {
0185             "name": "profile",
0186             "displayName": "profile",
0187             "cacheVariables": {
0188                 "CMAKE_BUILD_TYPE": "RelWithDebInfo",
0189                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
0190             },
0191             "inherits": [
0192                 "base"
0193             ]
0194         },
0195         {
0196             "name": "clazy",
0197             "displayName": "clazy",
0198             "cacheVariables": {
0199                 "CMAKE_BUILD_TYPE": "Debug"
0200             },
0201             "environment": {
0202                 "CXX": "clazy",
0203                 "CCACHE_DISABLE": "ON"
0204             },
0205             "inherits": [
0206                 "base"
0207             ]
0208         }
0209 
0210     ],
0211     "buildPresets": [
0212         {
0213             "name": "dev",
0214             "configurePreset": "dev"
0215         },
0216         {
0217             "name": "dev-bergamot-plugins-qt6",
0218             "configurePreset": "dev-bergamot-plugins-qt6"
0219         },
0220         {
0221             "name": "dev-mold",
0222             "configurePreset": "dev-mold"
0223         },
0224         {
0225             "name": "dev-qt6",
0226             "configurePreset": "dev-qt6"
0227         },
0228         {
0229             "name": "dev-disable-deprecated",
0230             "configurePreset": "dev-disable-deprecated"
0231         },
0232         {
0233             "name": "pch",
0234             "configurePreset": "pch"
0235         },
0236         {
0237             "name": "release",
0238             "configurePreset": "release"
0239         },
0240         {
0241             "name": "release-qt6",
0242             "configurePreset": "release-qt6"
0243         },      
0244         {
0245             "name": "coverage",
0246             "configurePreset": "coverage"
0247         },
0248         {
0249             "name": "dev-clang",
0250             "configurePreset": "dev-clang"
0251         },
0252         {
0253             "name": "asan",
0254             "configurePreset": "asan"
0255         },
0256         {
0257             "name": "unity",
0258             "configurePreset": "unity"
0259         },
0260         {
0261             "name": "unity-qt6",
0262             "configurePreset": "unity-qt6"
0263         },
0264         {
0265             "name": "clazy",
0266             "configurePreset": "clazy",
0267             "environment": {
0268                 "CLAZY_CHECKS" : "level0,level1,detaching-member,ifndef-define-typo,isempty-vs-count,qrequiredresult-candidates,reserve-candidates,signal-with-return-value,unneeded-cast,function-args-by-ref,function-args-by-value,returning-void-expression,no-ctor-missing-parent-argument,isempty-vs-count,qhash-with-char-pointer-key,raw-environment-function,qproperty-type-mismatch,old-style-connect,qstring-allocations,container-inside-loop,heap-allocated-small-trivial-type,inefficient-qlist,qstring-varargs,level2,detaching-member,heap-allocated-small-trivial-type,isempty-vs-count,qstring-varargs,qvariant-template-instantiation,raw-environment-function,reserve-candidates,signal-with-return-value,thread-with-slots,no-ctor-missing-parent-argument,no-missing-typeinfo",
0269                 "CCACHE_DISABLE" : "ON"
0270             }
0271         }
0272     ],
0273     "testPresets": [
0274     { 
0275       "name": "dev",
0276       "configurePreset": "dev",
0277       "output": {"outputOnFailure": true},
0278       "execution": {"noTestsAction": "error", "stopOnFailure": false}
0279     },
0280     { 
0281       "name": "asan",
0282       "configurePreset": "asan",
0283       "output": {"outputOnFailure": true},
0284       "execution": {"noTestsAction": "error", "stopOnFailure": true}
0285     }
0286     ]
0287 }