diff options
author | Eike Ziller <eike.ziller@qt.io> | 2022-01-14 12:44:53 +0100 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2022-01-20 12:18:15 +0000 |
commit | 9d8a419d107ae8219c84bc9178bfed76b94fa930 (patch) | |
tree | 110e9f16dd2e3d9c03b2dc38d2b261663606fb4f /qtcreatordata.pri | |
parent | 3c3580c7701ccf43ca014e19aa5fa210e90b4ed3 (diff) | |
download | qt-creator-9d8a419d107ae8219c84bc9178bfed76b94fa930.tar.gz |
Remove qmake build files
Removes qmake as a build system for building Qt Creator itself.
Keep them for some tests that are not completely moved to CMake yet.
Change-Id: I846c6ef65626b6dfae6375fdc85d00677aa8c2fb
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'qtcreatordata.pri')
-rw-r--r-- | qtcreatordata.pri | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/qtcreatordata.pri b/qtcreatordata.pri deleted file mode 100644 index e34e541269..0000000000 --- a/qtcreatordata.pri +++ /dev/null @@ -1,44 +0,0 @@ -# This pri file is used to deploy files that are not compiled while building -# Qt Creator. It handles copying of files into the build directory if using -# a shadow build and adds the respective install target as well. -# -# Usage: Define variables (details below) and include this pri file afterwards. -# -# STATIC_BASE - base directory for the files listed in STATIC_FILES -# STATIC_FILES - list of files to be deployed -# STATIC_OUTPUT_BASE - base directory in the compile output -# STATIC_INSTALL_BASE - base directory in the install output - -# used in custom compilers which just copy files -defineReplace(stripStaticBase) { - return($$relative_path($$1, $$STATIC_BASE)) -} - -# handle conditional copying based on STATIC_BASE compared to STATIC_OUTPUT_BASE -!isEmpty(STATIC_FILES) { - isEmpty(STATIC_BASE): \ - error("Using STATIC_FILES without having STATIC_BASE set") - isEmpty(STATIC_OUTPUT_BASE): \ - error("Using STATIC_FILES without having STATIC_OUTPUT_BASE set") - !osx:isEmpty(STATIC_INSTALL_BASE): \ - error("Using STATIC_FILES without having STATIC_INSTALL_BASE set") - - !isEqual(STATIC_BASE, $$STATIC_OUTPUT_BASE) { - copy2build.input += STATIC_FILES - copy2build.output = $$STATIC_OUTPUT_BASE/${QMAKE_FUNC_FILE_IN_stripStaticBase} - isEmpty(vcproj):copy2build.variable_out = PRE_TARGETDEPS - win32:copy2build.commands = $$QMAKE_COPY \"${QMAKE_FILE_IN}\" \"${QMAKE_FILE_OUT}\" - unix:copy2build.commands = $$QMAKE_COPY ${QMAKE_FILE_IN} ${QMAKE_FILE_OUT} - copy2build.name = COPY ${QMAKE_FILE_IN} - copy2build.CONFIG += no_link no_clean - QMAKE_EXTRA_COMPILERS += copy2build - for(static_file, STATIC_FILES) { - QMAKE_DISTCLEAN += $$STATIC_OUTPUT_BASE/$$stripStaticBase($$static_file) - } - } - - static.files = $$STATIC_FILES - static.base = $$STATIC_BASE - static.path = $$STATIC_INSTALL_BASE - INSTALLS += static -} |