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