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