diff options
author | Zoltan Arvai <zarvai@inf.u-szeged.hu> | 2013-11-19 15:06:16 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-11-19 18:54:41 +0100 |
commit | e56db54f628d788b73100bf0a3ec22ce91d3a82f (patch) | |
tree | f31c6ee82f8d0e3aa27328054e01cccc15e9a0cc /build/qmake/mkspecs/features/gyp_generator.prf | |
parent | e8f3b904205a8863c2fe9b0d1b020b27feb0c834 (diff) |
Add guards to project files to prevent unnecessarily processing on Windows.
On Windows with default debug_and_release configuration project
files parsed tree times while generating Makefile, Makefile.Debug
and Makefile.Release. Some operation needs only one time processing.
Change-Id: I02d04076cbb70c705916703526444585e83a24ff
Reviewed-by: Andras Becsi <andras.becsi@digia.com>
Diffstat (limited to 'build/qmake/mkspecs/features/gyp_generator.prf')
-rw-r--r-- | build/qmake/mkspecs/features/gyp_generator.prf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/qmake/mkspecs/features/gyp_generator.prf b/build/qmake/mkspecs/features/gyp_generator.prf index 6ad3e476c..d15b864c9 100644 --- a/build/qmake/mkspecs/features/gyp_generator.prf +++ b/build/qmake/mkspecs/features/gyp_generator.prf @@ -196,7 +196,7 @@ GYP_CONTENTS += " ]," \ GYP_CONTENTS += " ]," \ "}" -write_file($$GYPI_FILE, GYP_CONTENTS) +!build_pass: write_file($$GYPI_FILE, GYP_CONTENTS) # Overwriting the generated gyp file seems like a good reason to re-gyp unix: phony_variable_name_for_qmake_to_be_happy=$$system("touch $$QTWEBENGINE_ROOT/build/build.pro") |