equal
deleted
inserted
replaced
|
1 TEMPLATE = app |
|
2 TARGET = lupdate |
|
3 DESTDIR = ../../../bin |
|
4 |
|
5 QT -= gui |
|
6 |
|
7 CONFIG += qt warn_on console |
|
8 CONFIG -= app_bundle |
|
9 |
|
10 build_all:!build_pass { |
|
11 CONFIG -= build_all |
|
12 CONFIG += release |
|
13 } |
|
14 |
|
15 include(../shared/formats.pri) |
|
16 include(../shared/proparser.pri) |
|
17 |
|
18 SOURCES += \ |
|
19 main.cpp \ |
|
20 merge.cpp \ |
|
21 ../shared/simtexth.cpp \ |
|
22 \ |
|
23 cpp.cpp \ |
|
24 java.cpp \ |
|
25 qscript.cpp \ |
|
26 ui.cpp |
|
27 |
|
28 HEADERS += \ |
|
29 lupdate.h \ |
|
30 ../shared/simtexth.h |
|
31 |
|
32 DEFINES += QT_NO_CAST_TO_ASCII QT_NO_CAST_FROM_ASCII |
|
33 |
|
34 |
|
35 win32:RC_FILE = winmanifest.rc |
|
36 |
|
37 embed_manifest_exe:win32-msvc2005 { |
|
38 # The default configuration embed_manifest_exe overrides the manifest file |
|
39 # already embedded via RC_FILE. Vs2008 already have the necessary manifest entry |
|
40 QMAKE_POST_LINK += $$quote(mt.exe -updateresource:$$DESTDIR/lupdate.exe -manifest \"$${PWD}\\lupdate.exe.manifest\") |
|
41 } |
|
42 |
|
43 target.path=$$[QT_INSTALL_BINS] |
|
44 INSTALLS += target |
|
45 |