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