summaryrefslogtreecommitdiffstats
path: root/configure.json
diff options
context:
space:
mode:
Diffstat (limited to 'configure.json')
-rw-r--r--configure.json17
1 files changed, 17 insertions, 0 deletions
diff --git a/configure.json b/configure.json
index 803178a597..26e1572f32 100644
--- a/configure.json
+++ b/configure.json
@@ -61,6 +61,7 @@
"avx2": "boolean",
"avx512": { "type": "boolean", "name": "avx512f" },
"c++std": "cxxstd",
+ "ccache": { "type": "boolean", "name": "ccache" },
"commercial": "void",
"compile-examples": { "type": "boolean", "name": "compile_examples" },
"confirm-license": "void",
@@ -635,6 +636,11 @@
"label": "IncrediBuild",
"type": "files",
"files": [ "BuildConsole.exe", "xgConsole.exe" ]
+ },
+ "ccache": {
+ "label": "ccache",
+ "type": "files",
+ "files": [ "ccache" ]
}
},
@@ -1246,6 +1252,12 @@
"condition": "tests.incredibuild_xge",
"output": [ "publicConfig" ]
},
+ "ccache": {
+ "label": "Using ccache",
+ "autoDetect": false,
+ "condition": "config.unix && tests.ccache",
+ "output": [ "privateConfig" ]
+ },
"msvc_mp": {
"label": "Use multiple processors when compiling with MSVC",
"emitIf": "config.msvc",
@@ -1353,6 +1365,11 @@ Configure with '-qreal float' to create a build that is binary-compatible with 5
"type": "firstAvailableFeature",
"args": "c++1z c++14 c++11"
},
+ {
+ "type": "feature",
+ "args": "ccache",
+ "condition": "config.unix"
+ },
"use_gold_linker",
{
"type": "feature",