summaryrefslogtreecommitdiff
path: root/boost.pri
diff options
context:
space:
mode:
authorDon Bright <hugh.m.bright@gmail.com>2011-10-26 00:10:28 (GMT)
committerDon Bright <hugh.m.bright@gmail.com>2011-10-26 00:10:28 (GMT)
commit5f58255bcf0602b40317d5236bad2e4473b5111b (patch)
tree5ffa64e21cbcdadaa44cca85e5e7e071a567e81a /boost.pri
parente575aaaad8523d9117d6893a7c9bffe16791f7c1 (diff)
integrate Brad Pitcher's cross compile linux->win32-mingw qmake stuff
Diffstat (limited to 'boost.pri')
-rw-r--r--boost.pri14
1 files changed, 11 insertions, 3 deletions
diff --git a/boost.pri b/boost.pri
index 34a9dd2..078a17f 100644
--- a/boost.pri
+++ b/boost.pri
@@ -1,4 +1,5 @@
boost {
+
isEmpty(DEPLOYDIR) {
# Optionally specify location of boost using the
# BOOSTDIR env. variable
@@ -10,9 +11,16 @@ boost {
}
}
- win32 {
- LIBS += -llibboost_thread-vc90-mt-s-1_46_1 -llibboost_program_options-vc90-mt-s-1_46_1
+ CONFIG(mingw-cross-env) {
+ DEFINES += BOOST_STATIC
+ DEFINES += BOOST_THREAD_USE_LIB
+ DEFINES += Boost_USE_STATIC_LIBS
+ LIBS += -lboost_thread_win32-mt -lboost_program_options-mt
} else {
- LIBS += -lboost_thread -lboost_program_options
+ win32 {
+ LIBS += -llibboost_thread-vc90-mt-s-1_46_1 -llibboost_program_options-vc90-mt-s-1_46_1
+ } else {
+ LIBS += -lboost_thread -lboost_program_options
+ }
}
}
contact: Jan Huwald // Impressum