blob: 5c069c598d9e7261913a141e1d9a9a7213883084 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# use p4 where to get the solutions base dir.
# need to check for "..." since p4 behaves differently between versions
# SOLUTIONBASEDIR = $$system(p4 where //depot/addons/main/...)
# figure out the path on your harddrive
# SOLUTIONBASEDIR = $$member(SOLUTIONBASEDIR, 2)
SOLUTIONBASEDIR = $$(SOLUTIONBASEDIR)
# strip the trailing "..."
# SOLUTIONBASEDIR ~= s/\\.\\.\\.$//
# replace \ with /
# win32:SOLUTIONBASEDIR ~= s.\\\\./.g
isEmpty(SOLUTIONBASEDIR):DEFINES += QT_NO_SOLUTIONS
|