diff options
author | Michal Klocek <michal.klocek@qt.io> | 2017-02-03 16:13:50 +0100 |
---|---|---|
committer | Michal Klocek <michal.klocek@qt.io> | 2017-02-06 19:32:46 +0000 |
commit | abaede7601ea7426242dc29deb964ab3dd543c0a (patch) | |
tree | f90e83c63f80c8ce58c5c75d0a52d3518e53477c /src/buildtools/buildtools.pro | |
parent | 79ad6bad373bb5151ba7c3410609a9fee009be58 (diff) |
Refactor release and debug handling
Fix release and debug builds. Refactor ninja and gn
builds as a sub projects, these are only build as release.
Call core_generator and gn_run separately for debug and
release builds.
Change-Id: I638023214cdc98a5101d190486452cc4a1229486
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/buildtools/buildtools.pro')
-rw-r--r-- | src/buildtools/buildtools.pro | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/buildtools/buildtools.pro b/src/buildtools/buildtools.pro new file mode 100644 index 000000000..4ca21768e --- /dev/null +++ b/src/buildtools/buildtools.pro @@ -0,0 +1,10 @@ +TEMPLATE = subdirs + +ninja.file = ninja.pro +SUBDIRS += ninja + +use?(gn) { + gn.file = gn.pro + gn.depends = ninja + SUBDIRS += gn +} |