@@ -9,11 +9,17 TEMPLATE = lib | |||||
9 | SOCEXPLORER_PLUGIN_LOADER="custom" |
|
9 | SOCEXPLORER_PLUGIN_LOADER="custom" | |
10 |
|
10 | |||
11 | SOCEXPLORER_CHAGESETNUM=$$system(hg id) |
|
11 | SOCEXPLORER_CHAGESETNUM=$$system(hg id) | |
|
12 | isEmpty(SOCEXPLORER_CHAGESETNUM){ | |||
|
13 | SOCEXPLORER_CHAGESETNUM=6e5eaa13fad9 | |||
|
14 | } | |||
12 | SOCEXPLORER_CHAGESETNUMSTR = '\\"$${SOCEXPLORER_CHAGESETNUM}\\"' |
|
15 | SOCEXPLORER_CHAGESETNUMSTR = '\\"$${SOCEXPLORER_CHAGESETNUM}\\"' | |
13 | SOCEXPLORER_BRANCH=$$system(hg branch) |
|
16 | SOCEXPLORER_BRANCH=$$system(hg branch) | |
|
17 | isEmpty(SOCEXPLORER_BRANCH){ | |||
|
18 | SOCEXPLORER_BRANCH=default | |||
|
19 | } | |||
14 | SOCEXPLORER_BRANCHSTR = '\\"$${SOCEXPLORER_BRANCH}\\"' |
|
20 | SOCEXPLORER_BRANCHSTR = '\\"$${SOCEXPLORER_BRANCH}\\"' | |
15 |
|
21 | |||
16 |
DEFINES += SOCEXPLORER_VERSION="\"\\\"0. |
|
22 | DEFINES += SOCEXPLORER_VERSION="\"\\\"0.4.4"\\\"\" | |
17 | DEFINES += SOCEXPLORER_CHAGESET=\"$${SOCEXPLORER_CHAGESETNUMSTR}\" |
|
23 | DEFINES += SOCEXPLORER_CHAGESET=\"$${SOCEXPLORER_CHAGESETNUMSTR}\" | |
18 | DEFINES += SOCEXPLORER_BRANCH=\"$${SOCEXPLORER_BRANCHSTR}\" |
|
24 | DEFINES += SOCEXPLORER_BRANCH=\"$${SOCEXPLORER_BRANCHSTR}\" | |
19 |
|
25 |
General Comments 0
You need to be logged in to leave comments.
Login now