expose a little less of the build host's file system structure
Change-Id: I6fc675b9aeae0744c3308cd20ffd8c115c271c58 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
This commit is contained in:
parent
76af113867
commit
329e174802
@ -24,6 +24,9 @@ defineTest(shouldMasterInclude) {
|
||||
return(true)
|
||||
}
|
||||
|
||||
autogen_warning = \
|
||||
"/* This file was generated by qmake with the info from <root>/$$relative_path($$_PRO_FILE_, $$MODULE_BASE_DIR). */"
|
||||
|
||||
# Create module version header
|
||||
MODULE_VERSION_HEADER = $$find(SYNCQT.HEADER_FILES, (^|/)$${lctarget}version\\.h$)
|
||||
count(MODULE_VERSION_HEADER, 1) {
|
||||
@ -35,7 +38,7 @@ count(MODULE_VERSION_HEADER, 1) {
|
||||
patchhexstr = $$format_number($$section(VERSION, ., 2, 2), width=2 zeropad obase=16)
|
||||
modulehexstring = 0x$${majorhexstr}$${minorhexstr}$${patchhexstr}
|
||||
MODULE_VERSION_HEADER_CONT = \
|
||||
"/* This file was generated by qmake with the info from $${_PRO_FILE_}. */" \
|
||||
$$autogen_warning \
|
||||
"$${LITERAL_HASH}ifndef QT_$${uctarget}_VERSION_H" \
|
||||
"$${LITERAL_HASH}define QT_$${uctarget}_VERSION_H" \
|
||||
"" \
|
||||
@ -54,7 +57,7 @@ count(MODULE_VERSION_HEADER, 1) {
|
||||
MODULE_MASTER_HEADER = $$MODULE_BASE_OUTDIR/include/$$MODULE_INCNAME/$$MODULE_INCNAME
|
||||
!build_pass {
|
||||
MODULE_MASTER_HEADER_CONT = \
|
||||
"/* This file was generated by qmake with the info from $${_PRO_FILE_}. */" \
|
||||
$$autogen_warning \
|
||||
"$${LITERAL_HASH}ifndef QT_$${ucmodule}_MODULE_H" \
|
||||
"$${LITERAL_HASH}define QT_$${ucmodule}_MODULE_H"
|
||||
for(dep, MODULE_DEPENDS) {
|
||||
|
Loading…
Reference in New Issue
Block a user