This commit is contained in:
2021-04-18 17:39:58 +03:00
parent 61e3bb31f3
commit 0aaea0a7d7

View File

@@ -106,12 +106,12 @@ DESTINATION - dir where macro place package
RESOURCES, PLUGINS and FILES - list of directories and files, copied to:
| | Windows | Linux | Linux (DEB_USR_DIR) | MacOS |
|-----------|---------|-----------------------------|---------------------------|---------------------|
| RESOURCES | root | /opt/COMPANY/target | /usr/share/COMPANY/target | Contents/Resources |
| PLUGINS | root | /opt/COMPANY/target/plugins | /usr/lib/COMPANY/target | Contents/PlugIns |
| FILES | root | /opt/COMPANY/target | /usr/bin | Contents/MacOS |
| LIBS | root | /opt/COMPANY/target/lib | /usr/lib | Contents/Frameworks |
| | Windows | Linux | Linux (DEB_USR_DIR) | MacOS |
|-----------|---------|-----------------------------|---------------------------|-----------------------------|
| RESOURCES | root | /opt/COMPANY/target | /usr/share/COMPANY/target | <*.app>/Contents/Resources |
| PLUGINS | root | /opt/COMPANY/target/plugins | /usr/lib/COMPANY/target | <*.app>/Contents/PlugIns |
| FILES | root | /opt/COMPANY/target | /usr/bin | <*.app>/Contents/MacOS |
| LIBS | root | /opt/COMPANY/target/lib | /usr/lib | <*.app>/Contents/Frameworks |
Relative paths are taken from DEPLOY_DIR
Also check library dependencies from PLUGINS and FILES
@@ -120,7 +120,7 @@ at cmake-time, so if entry ends with "/" it treat
as directory, else - file
FILES can be presents as cmake-generator-expressions. In this case
entry trated as absolute path only if it prepened wiht "/".
entry treated as absolute path only if it prepened wiht "/".
Examples:
* "/$<TARGET_FILE:myexe>" - right, TARGET_FILE is absolute path
* "$<TARGET_FILE_NAME:myexe>" - right, relative item and TARGET_FILE_NAME is only filename