Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/mumble.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <d0t@.(none)>2009-08-20 00:17:46 +0400
committerStefan Hacker <dd0t@users.sourceforge.net>2009-08-20 03:08:49 +0400
commit55179d92d476b3f5b400b9767fd2ac16d833e999 (patch)
tree46bfd9d2c09234a7fbb194ffc483a863cf160bb0 /compiler.pri
parent0fd52da8ab7f20b60f630a2a89fb7f7968f9eb10 (diff)
Make build environment more flexible
Diffstat (limited to 'compiler.pri')
-rw-r--r--compiler.pri12
1 files changed, 9 insertions, 3 deletions
diff --git a/compiler.pri b/compiler.pri
index 77b63af30..60a7e8fca 100644
--- a/compiler.pri
+++ b/compiler.pri
@@ -1,7 +1,7 @@
CONFIG *= warn_on
win32 {
- INCLUDEPATH *= /dev/WinSDK/include /dev/dxsdk/Include /dev/Boost/include/boost-1_39
+ INCLUDEPATH *= /dev/Boost/include/boost-1_39
CONFIG(intelcpp) {
DEFINES *= RESTRICT=restrict
DEFINES *= VAR_ARRAYS
@@ -40,8 +40,14 @@ win32 {
QMAKE_LFLAGS *= -fixed:no -debug
}
CONFIG(debug, debug|release) {
- INCLUDEPATH *= /dev/vld/include
- LIBPATH *= /dev/vld/lib
+ exists($$(VLD_DIR)) {
+ VLD_DIR = $$(VLD_DIR)
+ }
+ else {
+ VLD_DIR = /dev/vld
+ }
+ INCLUDEPATH *= "$$VLD_DIR/include"
+ LIBPATH *= "$$VLD_DIR/lib"
DEFINES *= USE_VLD
}
} else {