File: features.pro

package info (click to toggle)
qtremoteobjects-everywhere-src 5.15.8-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,196 kB
  • sloc: cpp: 23,858; ansic: 39; sh: 35; makefile: 24
file content (18 lines) | stat: -rw-r--r-- 791 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
TEMPLATE = aux

prf.files = remoteobjects_repc.prf repcclient.pri repcserver.pri repcmerged.pri repccommon.pri repparser.prf
prf.path = $$[QT_HOST_DATA]/mkspecs/features
INSTALLS += prf

# Ensure files are copied to qtbase mkspecs for non-prefixed builds
!force_independent:if(!debug_and_release|!build_all|CONFIG(release, debug|release)) {
    defineReplace(stripSrcDir) {
        return($$relative_path($$1, $$_PRO_FILE_PWD_))
    }
    prffiles2build.input = prf.files
    prffiles2build.output = $$[QT_HOST_DATA]/mkspecs/features/${QMAKE_FUNC_FILE_IN_stripSrcDir}
    prffiles2build.commands = $$QMAKE_COPY ${QMAKE_FILE_IN} ${QMAKE_FILE_OUT}
    prffiles2build.name = COPY ${QMAKE_FILE_IN}
    prffiles2build.CONFIG = no_link target_predeps
    QMAKE_EXTRA_COMPILERS += prffiles2build
}