diff options
author | Christian Kandeler <christian.kandeler@digia.com> | 2014-07-18 11:10:22 +0200 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@digia.com> | 2014-07-18 16:09:57 +0200 |
commit | 0ebf1bfa336b8d1fdf864925cd0cb45f0f56c572 (patch) | |
tree | 954348e80efa2d3110c79342729bf6fe2967d4d3 /tests/auto/api/api.pro | |
parent | cc864b59e10358aa9470a0e03b16bd507bf02033 (diff) |
API: Make the ability to update project files optional.
This is the functionality that allows callers to add files to groups
etc. Unfortunately, the QML/JS rewriter we use for this purpose pulls in
the Qt GUI module, which results in unnecessary library dependencies if
one only wants to use the command-line frontend. Therefore, allow this
feature to be compiled out.
Task-number: QBS-565
Change-Id: Ic134ff9cf37bd552ad493b388c05bcece983fd65
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'tests/auto/api/api.pro')
-rw-r--r-- | tests/auto/api/api.pro | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/api/api.pro b/tests/auto/api/api.pro index 672947144..0adfa22db 100644 --- a/tests/auto/api/api.pro +++ b/tests/auto/api/api.pro @@ -3,4 +3,6 @@ TARGET = tst_api HEADERS = tst_api.h SOURCES = tst_api.cpp +qbs_enable_project_file_updates:DEFINES += QBS_ENABLE_PROJECT_FILE_UPDATES + include(../auto.pri) |