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-clang-qt6",
0022             "displayName": "dev-clang-qt6",
0023             "cacheVariables": {
0024                 "CMAKE_BUILD_TYPE": "Debug",
0025                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
0026                 "CMAKE_SHARED_LINKER_FLAGS": "-fuse-ld=mold",
0027                 "BUILD_WITH_QT6": "ON"
0028             },  
0029             "environment": {
0030                 "CXX": "clang++",
0031                 "CCACHE_DISABLE": "ON"
0032             },
0033             "inherits": [
0034                 "base-qt6"
0035             ]
0036         },
0037         {
0038             "name": "dev-mold",
0039             "displayName": "Build as debug + using mold linker",
0040             "cacheVariables": {
0041                 "CMAKE_BUILD_TYPE": "Debug",
0042                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
0043                 "CMAKE_SHARED_LINKER_FLAGS": "-fuse-ld=mold"
0044             },
0045             "inherits": [
0046                 "base"
0047             ]
0048         },
0049         {
0050             "name": "dev-mold-qt6",
0051             "displayName": "Build qt6 as debug + using mold linker",
0052             "cacheVariables": {
0053                 "CMAKE_BUILD_TYPE": "Debug",
0054                 "BUILD_WITH_QT6": "ON",
0055                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
0056                 "CMAKE_SHARED_LINKER_FLAGS": "-fuse-ld=mold"
0057             },
0058             "inherits": [
0059                 "base-qt6"
0060             ]
0061         },      
0062         {
0063             "name": "dev",
0064             "displayName": "Build as debug",
0065             "cacheVariables": {
0066                 "CMAKE_BUILD_TYPE": "Debug",
0067                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
0068             },
0069             "inherits": [
0070                 "base"
0071             ]
0072 
0073         },
0074         {
0075             "name": "coverage",
0076             "displayName": "Build as debug",
0077             "cacheVariables": {
0078                 "CMAKE_BUILD_TYPE": "Debug",
0079                 "BUILD_COVERAGE": "ON",
0080                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
0081             },
0082             "inherits": [
0083                 "base"
0084             ]
0085         },
0086         {
0087             "name": "dev-qt6",
0088             "displayName": "Build against qt6",
0089             "binaryDir": "${sourceDir}/build-qt6",
0090             "cacheVariables": {
0091                 "CMAKE_BUILD_TYPE": "Debug",
0092                 "BUILD_WITH_QT6": "ON",
0093                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
0094             },
0095             "inherits": [
0096                 "base-qt6"
0097             ]
0098         },
0099         {
0100             "name": "dev-bergamot-plugins-qt6",
0101             "displayName": "Build against qt6 + bergamot plugins",
0102             "binaryDir": "${sourceDir}/build-qt6-bergamot",
0103             "cacheVariables": {
0104                 "CMAKE_BUILD_TYPE": "Debug",
0105                 "BUILD_WITH_QT6": "ON",
0106                 "BERGAMOT_TRANSLATOR_PLUGIN": "ON",
0107                 "BLA_PREFER_PKGCONFIG": "ON",
0108                 "BLA_PKGCONFIG_BLAS": "openblas",
0109                 "cblas_cblas_LIBRARY": "cblas",
0110                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
0111             },
0112             "inherits": [
0113                 "base-qt6"
0114             ]
0115         },
0116         {
0117             "name": "asan-qt6",
0118             "displayName": "Build with Asan support (qt6).",
0119             "cacheVariables": {
0120                 "CMAKE_BUILD_TYPE": "Debug",
0121                 "ECM_ENABLE_SANITIZERS" : "'address;undefined'",
0122                 "CMAKE_SHARED_LINKER_FLAGS": "-fuse-ld=mold",
0123                 "BUILD_WITH_QT6": "ON"
0124             },
0125             "inherits": [
0126                 "base-qt6"
0127             ]
0128         },      
0129         {
0130             "name": "dev-disable-deprecated",
0131             "displayName": "Build as without deprecated methods",
0132             "cacheVariables": {
0133                 "CMAKE_BUILD_TYPE": "Debug",
0134                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
0135                 "CMAKE_CXX_FLAGS_INIT": "-DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x060000"
0136             },
0137             "inherits": [
0138                 "base"
0139             ]
0140         },
0141         {
0142             "name": "asan",
0143             "displayName": "Build with Asan support.",
0144             "cacheVariables": {
0145                 "CMAKE_BUILD_TYPE": "Debug",
0146                 "ECM_ENABLE_SANITIZERS" : "'address;undefined'",
0147                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
0148             },
0149             "inherits": [
0150                 "base"
0151             ]
0152         },
0153         {
0154             "name": "pch",
0155             "displayName": "Build with PCH support.",
0156             "cacheVariables": {
0157                 "CMAKE_BUILD_TYPE": "Debug",
0158                 "COMPILE_WITH_CMAKE_PCH_SUPPORT": "ON",
0159                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
0160             },
0161             "inherits": [
0162                 "base"
0163             ]
0164         },
0165         {
0166             "name": "dev-clang",
0167             "displayName": "dev-clang",
0168             "cacheVariables": {
0169                 "CMAKE_BUILD_TYPE": "Debug",
0170                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
0171             },
0172             "environment": {
0173                 "CXX": "clang++",
0174                 "CCACHE_DISABLE": "ON"
0175             },
0176             "inherits": [
0177                 "base"
0178             ]
0179         },
0180         {
0181             "name": "unity",
0182             "displayName": "Build with CMake unity support.",
0183             "cacheVariables": {
0184                 "CMAKE_BUILD_TYPE": "Debug",
0185                 "USE_UNITY_CMAKE_SUPPORT": "ON",
0186                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
0187             },
0188             "inherits": [
0189                 "base"
0190             ]
0191         },
0192         {
0193             "name": "unity-qt6",
0194             "displayName": "Build with CMake unity support.",
0195             "cacheVariables": {
0196                 "CMAKE_BUILD_TYPE": "Debug",
0197                 "USE_UNITY_CMAKE_SUPPORT": "ON",
0198                 "BUILD_WITH_QT6": "ON",
0199                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
0200             },
0201             "inherits": [
0202                 "base-qt6"
0203             ]
0204         },
0205         {
0206             "name": "release",
0207             "displayName": "Build as release mode.",
0208             "cacheVariables": {
0209                 "CMAKE_BUILD_TYPE": "Release"
0210             },
0211             "inherits": [
0212                 "base"
0213             ]
0214         },
0215         {   
0216             "name": "release-qt6",
0217             "displayName": "Build as release mode.",
0218             "cacheVariables": {
0219                 "CMAKE_BUILD_TYPE": "Release",
0220                 "BUILD_WITH_QT6": "ON",
0221                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
0222             },
0223             "inherits": [
0224                 "base-qt6"
0225             ]
0226         },      
0227         {
0228             "name": "profile",
0229             "displayName": "profile",
0230             "cacheVariables": {
0231                 "CMAKE_BUILD_TYPE": "RelWithDebInfo",
0232                 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
0233             },
0234             "inherits": [
0235                 "base"
0236             ]
0237         },
0238         {
0239             "name": "clazy",
0240             "displayName": "clazy",
0241             "cacheVariables": {
0242                 "CMAKE_BUILD_TYPE": "Debug"
0243             },
0244             "environment": {
0245                 "CXX": "clazy",
0246                 "CCACHE_DISABLE": "ON"
0247             },
0248             "inherits": [
0249                 "base"
0250             ]
0251         }
0252 
0253     ],
0254     "buildPresets": [
0255         {
0256             "name": "dev",
0257             "configurePreset": "dev"
0258         },
0259 
0260         {
0261             "name": "dev-clang-qt6",
0262             "configurePreset": "dev-clang-qt6"
0263         },
0264         {
0265             "name": "dev-mold-qt6",
0266             "configurePreset": "dev-mold-qt6"
0267         },
0268         {
0269             "name": "asan-qt6",
0270             "configurePreset": "asan-qt6"
0271         },      
0272         {
0273             "name": "dev-bergamot-plugins-qt6",
0274             "configurePreset": "dev-bergamot-plugins-qt6"
0275         },
0276         {
0277             "name": "dev-mold",
0278             "configurePreset": "dev-mold"
0279         },
0280         {
0281             "name": "dev-qt6",
0282             "configurePreset": "dev-qt6"
0283         },
0284         {
0285             "name": "dev-disable-deprecated",
0286             "configurePreset": "dev-disable-deprecated"
0287         },
0288         {
0289             "name": "pch",
0290             "configurePreset": "pch"
0291         },
0292         {
0293             "name": "release",
0294             "configurePreset": "release"
0295         },
0296         {
0297             "name": "release-qt6",
0298             "configurePreset": "release-qt6"
0299         },      
0300         {
0301             "name": "coverage",
0302             "configurePreset": "coverage"
0303         },
0304         {
0305             "name": "dev-clang",
0306             "configurePreset": "dev-clang"
0307         },
0308         {
0309             "name": "asan",
0310             "configurePreset": "asan"
0311         },
0312         {
0313             "name": "unity",
0314             "configurePreset": "unity"
0315         },
0316         {
0317             "name": "unity-qt6",
0318             "configurePreset": "unity-qt6"
0319         },
0320         {
0321             "name": "clazy",
0322             "configurePreset": "clazy",
0323             "environment": {
0324                 "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",
0325                 "CCACHE_DISABLE" : "ON"
0326             }
0327         }
0328     ],
0329     "testPresets": [
0330     { 
0331       "name": "dev",
0332       "configurePreset": "dev",
0333       "output": {"outputOnFailure": true},
0334       "execution": {"noTestsAction": "error", "stopOnFailure": false}
0335     },
0336     { 
0337       "name": "asan",
0338       "configurePreset": "asan",
0339       "output": {"outputOnFailure": true},
0340       "execution": {"noTestsAction": "error", "stopOnFailure": true}
0341     }
0342     ]
0343 }