@@ -125,7 +125,7 QMAKE_EXTRA_COMPILERS += install_build_public_headers \ | |||||
125 | install_build_private_headers \ |
|
125 | install_build_private_headers \ | |
126 |
|
126 | |||
127 |
|
127 | |||
128 | chartversion.target = qchartversion_p.h |
|
128 | chartversion.target = $$PWD/qchartversion_p.h | |
129 | unix:{ |
|
129 | unix:{ | |
130 | chartversion.commands = @echo \ |
|
130 | chartversion.commands = @echo \ | |
131 | "const char *buildTime = \\\"`date +'%y%m%d%H%M'`\\\" \\; \ |
|
131 | "const char *buildTime = \\\"`date +'%y%m%d%H%M'`\\\" \\; \ | |
@@ -141,8 +141,8 unix:{ | |||||
141 | } |
|
141 | } | |
142 | chartversion.depends = $$HEADERS \ |
|
142 | chartversion.depends = $$HEADERS \ | |
143 | $$SOURCES |
|
143 | $$SOURCES | |
144 | PRE_TARGETDEPS += qchartversion_p.h |
|
144 | PRE_TARGETDEPS += $$PWD/qchartversion_p.h | |
145 | QMAKE_CLEAN += qchartversion_p.h |
|
145 | QMAKE_CLEAN += $$PWD/qchartversion_p.h | |
146 | QMAKE_EXTRA_TARGETS += chartversion |
|
146 | QMAKE_EXTRA_TARGETS += chartversion | |
147 | unix:QMAKE_DISTCLEAN += -r \ |
|
147 | unix:QMAKE_DISTCLEAN += -r \ | |
148 | $$CHART_BUILD_HEADER_DIR \ |
|
148 | $$CHART_BUILD_HEADER_DIR \ |
General Comments 0
You need to be logged in to leave comments.
Login now