Warning, /games/granatier/CMakePresets.json is written in an unsupported language. File is not indexed.
0001 {
0002 "version": 3,
0003 "configurePresets": [
0004 {
0005 "name": "dev",
0006 "displayName": "Build as debug",
0007 "generator": "Ninja",
0008 "binaryDir": "${sourceDir}/build",
0009 "cacheVariables": {
0010 "CMAKE_BUILD_TYPE": "Debug",
0011 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
0012 },
0013 "installDir": "$env{KF5}"
0014 },
0015 {
0016 "name": "dev-disable-deprecated",
0017 "displayName": "Build as without deprecated methods",
0018 "generator": "Ninja",
0019 "binaryDir": "${sourceDir}/build-disable-deprecated",
0020 "cacheVariables": {
0021 "CMAKE_BUILD_TYPE": "Debug",
0022 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON",
0023 "CMAKE_CXX_FLAGS_INIT": "-DQT_DISABLE_DEPRECATED_BEFORE=0x060000 -DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x060000"
0024 },
0025 "installDir": "$env{KF5}"
0026 },
0027 {
0028 "name": "asan",
0029 "displayName": "Build with Asan support.",
0030 "generator": "Ninja",
0031 "binaryDir": "${sourceDir}/build-asan",
0032 "cacheVariables": {
0033 "CMAKE_BUILD_TYPE": "Debug",
0034 "ECM_ENABLE_SANITIZERS" : "'address;undefined'",
0035 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
0036 },
0037 "installDir": "$env{KF5}"
0038 },
0039 {
0040 "name": "pch",
0041 "displayName": "Build with PCH support.",
0042 "generator": "Ninja",
0043 "binaryDir": "${sourceDir}/build-pch",
0044 "cacheVariables": {
0045 "CMAKE_BUILD_TYPE": "Debug",
0046 "COMPILE_WITH_CMAKE_PCH_SUPPORT": "ON",
0047 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
0048 },
0049 "installDir": "$env{KF5}"
0050 },
0051 {
0052 "name": "dev-clang",
0053 "displayName": "dev-clang",
0054 "generator": "Ninja",
0055 "binaryDir": "${sourceDir}/build-clang",
0056 "cacheVariables": {
0057 "CMAKE_BUILD_TYPE": "Debug",
0058 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
0059 },
0060 "environment": {
0061 "CXX": "clang++",
0062 "CCACHE_DISABLE": "ON"
0063 },
0064 "installDir": "$env{KF5}"
0065 },
0066 {
0067 "name": "unity",
0068 "displayName": "Build with CMake unity support.",
0069 "generator": "Ninja",
0070 "binaryDir": "${sourceDir}/build-unity",
0071 "cacheVariables": {
0072 "CMAKE_BUILD_TYPE": "Debug",
0073 "USE_UNITY_CMAKE_SUPPORT": "ON",
0074 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
0075 },
0076 "installDir": "$env{KF5}"
0077 },
0078 {
0079 "name": "release",
0080 "displayName": "Build as release mode.",
0081 "generator": "Ninja",
0082 "binaryDir": "${sourceDir}/build-release",
0083 "cacheVariables": {
0084 "CMAKE_BUILD_TYPE": "Release"
0085 },
0086 "installDir": "$env{KF5}"
0087 },
0088 {
0089 "name": "profile",
0090 "displayName": "profile",
0091 "generator": "Ninja",
0092 "binaryDir": "${sourceDir}/build-profile",
0093 "cacheVariables": {
0094 "CMAKE_BUILD_TYPE": "RelWithDebInfo",
0095 "CMAKE_EXPORT_COMPILE_COMMANDS": "ON"
0096 },
0097 "installDir": "$env{KF5}"
0098 },
0099 {
0100 "name": "clazy",
0101 "displayName": "clazy",
0102 "generator": "Ninja",
0103 "binaryDir": "${sourceDir}/build-clazy",
0104 "cacheVariables": {
0105 "CMAKE_BUILD_TYPE": "Debug"
0106 },
0107 "environment": {
0108 "CXX": "clazy",
0109 "CCACHE_DISABLE": "ON"
0110 },
0111 "installDir": "$env{KF5}"
0112 }
0113
0114 ],
0115 "buildPresets": [
0116 {
0117 "name": "dev",
0118 "configurePreset": "dev"
0119 },
0120 {
0121 "name": "dev-disable-deprecated",
0122 "configurePreset": "dev-disable-deprecated"
0123 },
0124 {
0125 "name": "pch",
0126 "configurePreset": "pch"
0127 },
0128 {
0129 "name": "release",
0130 "configurePreset": "release"
0131 },
0132 {
0133 "name": "dev-clang",
0134 "configurePreset": "dev-clang"
0135 },
0136 {
0137 "name": "asan",
0138 "configurePreset": "asan"
0139 },
0140 {
0141 "name": "unity",
0142 "configurePreset": "unity"
0143 },
0144 {
0145 "name": "clazy",
0146 "configurePreset": "clazy",
0147 "environment": {
0148 "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",
0149 "CCACHE_DISABLE" : "ON"
0150 }
0151 }
0152 ],
0153 "testPresets": [
0154 {
0155 "name": "dev",
0156 "configurePreset": "dev",
0157 "output": {"outputOnFailure": true},
0158 "execution": {"noTestsAction": "error", "stopOnFailure": false}
0159 },
0160 {
0161 "name": "asan",
0162 "configurePreset": "asan",
0163 "output": {"outputOnFailure": true},
0164 "execution": {"noTestsAction": "error", "stopOnFailure": true}
0165 }
0166 ]
0167 }