From 0aaea0a7d72fb549f57170f651e2d1cabc4e0dc1 Mon Sep 17 00:00:00 2001 From: peri4 Date: Sun, 18 Apr 2021 17:39:58 +0300 Subject: [PATCH] doc --- DeployMacros.cmake | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/DeployMacros.cmake b/DeployMacros.cmake index 1dcbe7d..3ace69f 100644 --- a/DeployMacros.cmake +++ b/DeployMacros.cmake @@ -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: * "/$" - right, TARGET_FILE is absolute path * "$" - right, relative item and TARGET_FILE_NAME is only filename