diff options
Diffstat (limited to 'configure.json')
-rw-r--r-- | configure.json | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/configure.json b/configure.json index 2a717daf9a..9fce6d039e 100644 --- a/configure.json +++ b/configure.json @@ -324,7 +324,21 @@ "precompile_header": { "label": "precompiled header support", "type": "compile", - "test": "common/pch" + "test": { + "files": { + "header.h": "#define HEADER_H" + }, + "tail": [ + "#ifndef HEADER_H", + "#error no go", + "#endif" + ], + "qmake": [ + "CONFIG += precompile_header", + "PRECOMPILED_DIR = .pch", + "PRECOMPILED_HEADER = header.h" + ] + } }, "use_gold_linker": { "label": "gold linker", |