summaryrefslogtreecommitdiff
path: root/boost.pri
diff options
context:
space:
mode:
Diffstat (limited to 'boost.pri')
-rw-r--r--boost.pri18
1 files changed, 18 insertions, 0 deletions
diff --git a/boost.pri b/boost.pri
new file mode 100644
index 0000000..b9f47d0
--- /dev/null
+++ b/boost.pri
@@ -0,0 +1,18 @@
+boost {
+ isEmpty(DEPLOYDIR) {
+ # Optionally specify location of boost using the
+ # BOOSTDIR env. variable
+ BOOST_DIR = $$(BOOSTDIR)
+ !isEmpty(BOOST_DIR) {
+ INCLUDEPATH += $$BOOST_DIR
+ message("boost location: $$BOOST_DIR")
+ win32:LIBS += -L$$BOOST_DIR/lib
+ }
+ }
+
+ 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