Browse Source

fix ci, speedup qmake

pull/2/head
Skycoder42 7 years ago
parent
commit
5371ec870e
No known key found for this signature in database GPG Key ID: 8E01AD9EF0578D2B
  1. 1
      .travis.yml
  2. 8
      examples/examples.pro
  3. 3
      examples/mvvmdatasyncquick/mvvmdatasyncquick.pro
  4. 1
      src/imports/imports.pro
  5. 15
      src/src.pro

1
.travis.yml

@ -58,6 +58,7 @@ before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
- rm -fr $QPMX_CACHE_DIR/locks
- rm -rf $QPMX_CACHE_DIR/tmp
cache:
directories:
- $HOME/.gradle/caches/

8
examples/examples.pro

@ -4,10 +4,14 @@ SUBDIRS = mvvmcore \
mvvmwidgets \
mvvmquick
mvvmwidgets.depends += mvvmcore
mvvmquick.depends += mvvmcore
qtHaveModule(datasync) {
SUBDIRS += mvvmdatasynccore \
mvvmdatasyncwidgets \
mvvmdatasyncquick
}
CONFIG += ordered
mvvmdatasyncwidgets.depends += mvvmdatasynccore
mvvmdatasyncquick.depends += mvvmdatasynccore
}

3
examples/mvvmdatasyncquick/mvvmdatasyncquick.pro

@ -1,4 +1,5 @@
TEMPLATE = subdirs
QT_FOR_CONFIG += quick
SUBDIRS += \
DataSyncSampleQuick
DataSyncSampleQuick

1
src/imports/imports.pro

@ -1,5 +1,4 @@
TEMPLATE = subdirs
CONFIG += ordered
SUBDIRS += \
mvvmcore \

15
src/src.pro

@ -1,17 +1,24 @@
TEMPLATE = subdirs
CONFIG += ordered
SUBDIRS += mvvmcore \
mvvmwidgets \
mvvmquick
mvvmquick \
imports
mvvmwidgets.depends += mvvmcore
mvvmquick.depends += mvvmcore
imports.depends += mvvmcore mvvmquick
qtHaveModule(datasync) {
SUBDIRS += mvvmdatasynccore \
mvvmdatasyncwidgets \
mvvmdatasyncquick
}
SUBDIRS += imports
mvvmdatasynccore.depends += mvvmcore
mvvmdatasyncwidgets.depends += mvvmdatasynccore mvvmwidgets
mvvmdatasyncquick.depends += mvvmdatasynccore mvvmquick
imports.depends += mvvmdatasynccore mvvmdatasyncquick
}
imports.CONFIG += no_lrelease_target

Loading…
Cancel
Save