this is the main cwtch gui with the pretty interface https://cwtch.im
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

34 lines
837 B

  1. .PHONY: all clean linux windows android
  2. DEFAULT_GOAL: linux
  3. SHELL := env QT_BUILD_VERSION=$(QT_BUILD_VERSION) $(SHELL)
  4. QT_BUILD_VERSION ?= "5.13.4"
  5. all: clean linux windows android
  6. clean:
  7. rm -r vendor || true
  8. find -type f -iname "moc*" | xargs rm
  9. find -iname "rcc*" | xargs rm
  10. linux:
  11. date
  12. qtdeploy -qt_version $(QT_BUILD_VERSION) build linux 2>&1 | tee qtdeploy.log | pv
  13. date
  14. cp -R assets deploy/linux/
  15. windows:
  16. date
  17. qtdeploy -qt_version $(QT_BUILD_VERSION) build windows 2>&1 | tee qtdeploy.log | pv
  18. date
  19. cp -R assets deploy/windows/
  20. android:
  21. cp -R assets android/
  22. date
  23. ## TODO have this also include AndroidExtras (see ANDROID_DEBUGGING) for full notes.
  24. env ANDROID_MODULES_INCLUDE="Core,Gui,Svg,QuickWidgets,Xml" qtdeploy -debug -qt_version $(QT_BUILD_VERSION) build android 2>&1 | tee qtdeploy.log | pv
  25. date