Warning, /libraries/kpublictransport/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": "dev-mold", 0014 "displayName": "Build as debug + using mold linker", 0015 "cacheVariables": { 0016 "CMAKE_BUILD_TYPE": "Debug", 0017 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON", 0018 "CMAKE_SHARED_LINKER_FLAGS": "-fuse-ld=mold" 0019 }, 0020 "inherits": [ 0021 "base" 0022 ] 0023 }, 0024 { 0025 "name": "dev", 0026 "displayName": "Build as debug", 0027 "cacheVariables": { 0028 "CMAKE_BUILD_TYPE": "Debug", 0029 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON" 0030 }, 0031 "inherits": [ 0032 "base" 0033 ] 0034 0035 }, 0036 { 0037 "name": "coverage", 0038 "displayName": "Build as debug", 0039 "cacheVariables": { 0040 "CMAKE_BUILD_TYPE": "Debug", 0041 "BUILD_COVERAGE": "ON", 0042 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON" 0043 }, 0044 "inherits": [ 0045 "base" 0046 ] 0047 }, 0048 { 0049 "name": "dev-qt6", 0050 "displayName": "Build against qt6", 0051 "binaryDir": "${sourceDir}/build-qt6", 0052 "cacheVariables": { 0053 "CMAKE_BUILD_TYPE": "Debug", 0054 "BUILD_WITH_QT6": "ON", 0055 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON" 0056 }, 0057 "inherits": [ 0058 "base" 0059 ] 0060 }, 0061 { 0062 "name": "dev-disable-deprecated", 0063 "displayName": "Build as without deprecated methods", 0064 "cacheVariables": { 0065 "CMAKE_BUILD_TYPE": "Debug", 0066 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON", 0067 "CMAKE_CXX_FLAGS_INIT": "-DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x060000" 0068 }, 0069 "inherits": [ 0070 "base" 0071 ] 0072 }, 0073 { 0074 "name": "asan", 0075 "displayName": "Build with Asan support.", 0076 "cacheVariables": { 0077 "CMAKE_BUILD_TYPE": "Debug", 0078 "ECM_ENABLE_SANITIZERS" : "'address;undefined'", 0079 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON" 0080 }, 0081 "inherits": [ 0082 "base" 0083 ] 0084 }, 0085 { 0086 "name": "pch", 0087 "displayName": "Build with PCH support.", 0088 "cacheVariables": { 0089 "CMAKE_BUILD_TYPE": "Debug", 0090 "COMPILE_WITH_CMAKE_PCH_SUPPORT": "ON", 0091 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON" 0092 }, 0093 "inherits": [ 0094 "base" 0095 ] 0096 }, 0097 { 0098 "name": "dev-clang", 0099 "displayName": "dev-clang", 0100 "cacheVariables": { 0101 "CMAKE_BUILD_TYPE": "Debug", 0102 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON" 0103 }, 0104 "environment": { 0105 "CXX": "clang++", 0106 "CCACHE_DISABLE": "ON" 0107 }, 0108 "inherits": [ 0109 "base" 0110 ] 0111 }, 0112 { 0113 "name": "unity", 0114 "displayName": "Build with CMake unity support.", 0115 "cacheVariables": { 0116 "CMAKE_BUILD_TYPE": "Debug", 0117 "USE_UNITY_CMAKE_SUPPORT": "ON", 0118 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON" 0119 }, 0120 "inherits": [ 0121 "base" 0122 ] 0123 }, 0124 { 0125 "name": "release", 0126 "displayName": "Build as release mode.", 0127 "cacheVariables": { 0128 "CMAKE_BUILD_TYPE": "Release" 0129 }, 0130 "inherits": [ 0131 "base" 0132 ] 0133 }, 0134 { 0135 "name": "profile", 0136 "displayName": "profile", 0137 "cacheVariables": { 0138 "CMAKE_BUILD_TYPE": "RelWithDebInfo", 0139 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON" 0140 }, 0141 "inherits": [ 0142 "base" 0143 ] 0144 }, 0145 { 0146 "name": "clazy", 0147 "displayName": "clazy", 0148 "cacheVariables": { 0149 "CMAKE_BUILD_TYPE": "Debug" 0150 }, 0151 "environment": { 0152 "CXX": "clazy", 0153 "CCACHE_DISABLE": "ON" 0154 }, 0155 "inherits": [ 0156 "base" 0157 ] 0158 } 0159 0160 ], 0161 "buildPresets": [ 0162 { 0163 "name": "dev", 0164 "configurePreset": "dev" 0165 }, 0166 { 0167 "name": "dev-mold", 0168 "configurePreset": "dev-mold" 0169 }, 0170 { 0171 "name": "dev-qt6", 0172 "configurePreset": "dev-qt6" 0173 }, 0174 { 0175 "name": "dev-disable-deprecated", 0176 "configurePreset": "dev-disable-deprecated" 0177 }, 0178 { 0179 "name": "pch", 0180 "configurePreset": "pch" 0181 }, 0182 { 0183 "name": "release", 0184 "configurePreset": "release" 0185 }, 0186 { 0187 "name": "coverage", 0188 "configurePreset": "coverage" 0189 }, 0190 { 0191 "name": "dev-clang", 0192 "configurePreset": "dev-clang" 0193 }, 0194 { 0195 "name": "asan", 0196 "configurePreset": "asan" 0197 }, 0198 { 0199 "name": "unity", 0200 "configurePreset": "unity" 0201 }, 0202 { 0203 "name": "clazy", 0204 "configurePreset": "clazy", 0205 "environment": { 0206 "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", 0207 "CCACHE_DISABLE" : "ON" 0208 } 0209 } 0210 ], 0211 "testPresets": [ 0212 { 0213 "name": "dev", 0214 "configurePreset": "dev", 0215 "output": {"outputOnFailure": true}, 0216 "execution": {"noTestsAction": "error", "stopOnFailure": false} 0217 }, 0218 { 0219 "name": "asan", 0220 "configurePreset": "asan", 0221 "output": {"outputOnFailure": true}, 0222 "execution": {"noTestsAction": "error", "stopOnFailure": true} 0223 } 0224 ] 0225 }