diff options
author | Don Bright <hugh.m.bright@gmail.com> | 2011-10-26 00:10:28 (GMT) |
---|---|---|
committer | Don Bright <hugh.m.bright@gmail.com> | 2011-10-26 00:10:28 (GMT) |
commit | 5f58255bcf0602b40317d5236bad2e4473b5111b (patch) | |
tree | 5ffa64e21cbcdadaa44cca85e5e7e071a567e81a /boost.pri | |
parent | e575aaaad8523d9117d6893a7c9bffe16791f7c1 (diff) |
integrate Brad Pitcher's cross compile linux->win32-mingw qmake stuff
Diffstat (limited to 'boost.pri')
-rw-r--r-- | boost.pri | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -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 + } } } |