20.04.2017, 11:34, "Patrick Stinson" <patrickk...@gmail.com>:
> Hello!
>
> Running “make clean” in the root qt src dir calls xcodebuild a whole bunch of 
> times and takes a really, really long time. Is there any faster way to do 
> this?

Yes, use out-of-tree build and remove contents of build directory.

>I am already excluding a lot of unnecessary builds in my configure line:
>
> ./configure -static -debug-and-release -nomake examples -xplatform 
> macx-ios-clang -sdk iphoneos -nomake tests -skip qt3d -skip qtactiveqt -skip 
> qtandroidextras -skip qtcanvas3d -skip qtcharts -skip qtconnectivity -skip 
> qtdatavis3d -skip qtdeclarative -skip qtdoc -skip qtdocgallery -skip 
> qtenginio -skip qtfeedback -skip qtgamepad -skip qtgraphicaleffects -skip 
> qtimageformats -skip qtlocation -skip qtmacextras -skip qtmultimedia -skip 
> qtnetworkauth -skip qtpim -skip qtqa -skip qtquick1 -skip qtquickcontrols 
> -skip qtquickcontrols2 -skip qtrepotools -skip qtscript -skip qtscxml -skip 
> qtserialbus -skip qtserialport -skip qtspeech -skip qtsvg -skip qtsystems 
> -skip qttools -skip qttranslations -skip qtvirtualkeyboard -skip qtwayland 
> -skip qtwebchannel -skip qtwebengine -skip qtwebkit -skip qtwebkit-examples 
> -skip qtwebsockets -skip qtwebview -skip qtwinextras -skip qtx11extras 
> -developer-build -opensource -confirm-license
>
> and it still runs a bunch of xcodebuild calls like this:
>
> rm -f .obj/tst_qpixelformat_plugin_import.o
> rm -f *~ core *.core
> cd qopenglwindow/ && ( test -e Makefile || 
> /Users/patrick/dev/vendor/pyqt-sysroot-ios-64/src/qt5/qtbase/bin/qmake -o 
> Makefile 
> /Users/patrick/dev/vendor/pyqt-sysroot-ios-64/src/qt5/qtbase/tests/auto/gui/kernel/qopenglwindow/qopenglwindow.pro
>  ) && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile 
> clean
> xcodebuild clean  -project tst_qopenglwindow.xcodeproj -scheme 
> tst_qopenglwindow   -configuration Debug  -destination generic/platform=iOS 
> -destination-timeout 1
> === CLEAN AGGREGATE TARGET Qt Preprocess OF PROJECT tst_qopenglwindow WITH 
> CONFIGURATION Debug ===
>
> Check dependencies
>
> Clean.Remove clean .obj/tst_qopenglwindow.build/Debug-iphoneos/Qt\ 
> Preprocess.build
>     builtin-rm -rf 
> /Users/patrick/dev/vendor/pyqt-sysroot-ios-64/src/qt5/qtbase/tests/auto/gui/kernel/qopenglwindow/.obj/tst_qopenglwindow.build/Debug-iphoneos/Qt\
>  Preprocess.build
>
> === CLEAN TARGET tst_qopenglwindow OF PROJECT tst_qopenglwindow WITH 
> CONFIGURATION Debug ===
>
> Check dependencies
>
> Create product structure
> /bin/mkdir -p 
> /Users/patrick/dev/vendor/pyqt-sysroot-ios-64/src/qt5/qtbase/tests/auto/gui/kernel/qopenglwindow/Debug-iphoneos/tst_qopenglwindow.app
>
> Clean.Remove clean Debug-iphoneos/tst_qopenglwindow.app
>     builtin-rm -rf 
> /Users/patrick/dev/vendor/pyqt-sysroot-ios-64/src/qt5/qtbase/tests/auto/gui/kernel/qopenglwindow/Debug-iphoneos/tst_qopenglwindow.app
>
> Clean.Remove clean 
> .obj/tst_qopenglwindow.build/Debug-iphoneos/tst_qopenglwindow.build
>     builtin-rm -rf 
> /Users/patrick/dev/vendor/pyqt-sysroot-ios-64/src/qt5/qtbase/tests/auto/gui/kernel/qopenglwindow/.obj/tst_qopenglwindow.build/Debug-iphoneos/tst_qopenglwindow.build
>
> ** CLEAN SUCCEEDED **
>
> Thanks!
> -P
> ,
>
> _______________________________________________
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest


-- 
Regards,
Konstantin
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to