Warning, /utilities/kfloppy/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",
0214             "displayName": "clazy",
0215             "cacheVariables": {
0216                 "CMAKE_BUILD_TYPE": "Debug"
0217             },
0218             "environment": {
0219                 "CXX": "clazy",
0220                 "CCACHE_DISABLE": "ON"
0221             },
0222             "inherits": [
0223                 "base"
0224             ]
0225         },
0226         {
0227             "name": "pch",
0228             "displayName": "pch",
0229             "cacheVariables": {
0230                 "CMAKE_BUILD_TYPE": "Debug",
0231                 "USE_PRECOMPILED_HEADERS": "ON",
0232                 "BUILD_COVERAGE": "ON"
0233             },
0234             "inherits": [
0235                 "base"
0236             ]
0237         }
0238     ],
0239     "buildPresets": [
0240         {
0241             "name": "dev",
0242             "configurePreset": "dev"
0243         },
0244         {
0245             "name": "dev-clang-qt6-asan",
0246             "configurePreset": "dev-clang-qt6-asan"
0247         },
0248         {
0249             "name": "dev-clang-qt6",
0250             "configurePreset": "dev-clang-qt6"
0251         },
0252         {
0253             "name": "dev-mold",
0254             "configurePreset": "dev-mold"
0255         },
0256         {   
0257             "name": "dev-mold-qt6",
0258             "configurePreset": "dev-mold-qt6"
0259         },
0260         {
0261             "name": "dev-qt6",
0262             "configurePreset": "dev-qt6"
0263         },
0264         {       
0265             "name": "release-qt6",
0266             "configurePreset": "release-qt6"
0267         },
0268         {
0269             "name": "dev-clang",
0270             "configurePreset": "dev-clang"
0271         },
0272         {
0273             "name": "pch",
0274             "configurePreset": "pch"
0275         },
0276         {
0277             "name": "release",
0278             "configurePreset": "release"
0279         },
0280         {
0281             "name": "unity",
0282             "configurePreset": "unity"
0283         },
0284         {
0285             "name": "coverage",
0286             "configurePreset": "coverage"
0287         },
0288         {
0289             "name": "asan",
0290             "configurePreset": "asan"
0291         },
0292         {   
0293             "name": "asan-qt6",
0294             "configurePreset": "asan-qt6"
0295         },
0296         {
0297             "name": "unity-qt6",
0298             "configurePreset": "unity-qt6"
0299         },      
0300         {
0301             "name": "clazy",
0302             "configurePreset": "clazy",
0303             "environment": {
0304                 "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",
0305                 "CCACHE_DISABLE" : "ON"
0306             }
0307         }
0308     ],
0309     "testPresets": [
0310     {
0311       "name": "dev",
0312       "configurePreset": "dev",
0313       "output": {"outputOnFailure": true},
0314       "execution": {"noTestsAction": "error", "stopOnFailure": false}
0315     },
0316     {
0317       "name": "asan",
0318       "configurePreset": "asan",
0319       "output": {"outputOnFailure": true},
0320       "execution": {"noTestsAction": "error", "stopOnFailure": true}
0321     },
0322     {
0323       "name": "unity",
0324       "configurePreset": "unity",
0325       "output": {"outputOnFailure": true},
0326       "execution": {"noTestsAction": "error", "stopOnFailure": true}
0327     },
0328     {
0329       "name": "coverage",
0330       "configurePreset": "coverage",
0331       "output": {"outputOnFailure": true},
0332       "execution": {"noTestsAction": "error", "stopOnFailure": true}
0333     }
0334   ]
0335 }