author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Fri, 17 Sep 2010 08:34:18 +0300 | |
changeset 36 | ef0373b55136 |
parent 33 | 3e2da88830cd |
permissions | -rw-r--r-- |
0 | 1 |
# use p4 where to get the solutions base dir. |
2 |
# need to check for "..." since p4 behaves differently between versions |
|
3 |
# SOLUTIONBASEDIR = $$system(p4 where //depot/addons/main/...) |
|
4 |
||
5 |
# figure out the path on your harddrive |
|
6 |
# SOLUTIONBASEDIR = $$member(SOLUTIONBASEDIR, 2) |
|
7 |
SOLUTIONBASEDIR = $$(SOLUTIONBASEDIR) |
|
8 |
||
9 |
# strip the trailing "..." |
|
33
3e2da88830cd
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
10 |
# SOLUTIONBASEDIR ~= s/\\.\\.\\.$// |
0 | 11 |
|
12 |
# replace \ with / |
|
33
3e2da88830cd
Revision: 201031
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
13 |
# win32:SOLUTIONBASEDIR ~= s.\\\\./.g |
0 | 14 |
|
15 |
isEmpty(SOLUTIONBASEDIR):DEFINES += QT_NO_SOLUTIONS |
|
16 |