[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [torbrowser/maint-2.3] W32: add build-qt target
commit 1dbc415d0676fe64cbde7f6532f79b20dfd88e37
Author: Sebastian Hahn <sebastian@xxxxxxxxxxxxxx>
Date: Thu Feb 9 06:17:27 2012 +0100
W32: add build-qt target
---
build-scripts/windows.mk | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/build-scripts/windows.mk b/build-scripts/windows.mk
index 9f382f5..d58203d 100644
--- a/build-scripts/windows.mk
+++ b/build-scripts/windows.mk
@@ -86,6 +86,14 @@ build-openssl: build-zlib $(OPENSSL_DIR)
cd $(OPENSSL_DIR) && make install_sw
touch build-openssl
+QT_BUILD_PREFS=-system-zlib -confirm-license -opensource -openssl-linked -no-qt3support -fast -release -nomake demos -nomake examples
+QT_OPTS=$(QT_BUILD_PREFS) -prefix $(BUILT_DIR) -I $(BUILT_DIR)/include -I $(BUILT_DIR)/include/openssl/ -L$(BUILT_DIR)/lib
+build-qt: build-zlib build-openssl $(QT_DIR)
+ cd $(QT_DIR) && ./configure $(QT_OPTS)
+ cd $(QT_DIR) && make -j $(NUM_CORES)
+ cd $(QT_DIR) && make install
+ touch build-qt
+
VIDALIA_OPTS=-DCMAKE_EXE_LINKER_FLAGS="-static-libstdc++ -Wl,--nxcompat -Wl,--dynamicbase" -DWIN2K=1 -DQT_MAKE_EXECUTABLE=/c/Qt/$(QT_VER)/bin/qmake -DCMAKE_BUILD_TYPE=minsizerel -DMINGW_BINARY_DIR=$(MING) -DOPENSSL_BINARY_DIR=$(OPENSSL) -DWIX_BINARY_DIR=$(WIX_LIB)
# XXX Once we build qt on windows, we'll want to add build-qt here
build-vidalia: build-openssl $(VIDALIA_DIR)
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits