Last active
February 20, 2018 00:02
-
-
Save Wohlstand/3d9455c4baddc057de60e511f7280b87 to your computer and use it in GitHub Desktop.
Example of multi-command QMAKE_POST_LINK
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
QT += core gui widgets | |
EXTRA_BINFILES_WIN = $${EXTRA_LIBFILES} | |
EXTRA_BINFILES_WIN ~= s,/,\\,g | |
DESTDIR_WIN = $${DESTDIR} #$$OUT_PWD | |
DESTDIR_WIN ~= s,/,\\,g | |
for(FILE,EXTRA_BINFILES_WIN) { | |
QMAKE_POST_LINK += $$quote(cmd /c copy /y $${FILE} $${DESTDIR_WIN}$$escape_expand(\n\t)) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment