CELIX-335: Update in cmake command documentation
Project: http://git-wip-us.apache.org/repos/asf/celix/repo Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/8a8292bd Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/8a8292bd Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/8a8292bd Branch: refs/heads/release/celix-2.0.0 Commit: 8a8292bd7c173baa4bfb9774f204a7ee1f078c09 Parents: 89eaab3 Author: Pepijn Noltes <[email protected]> Authored: Wed Feb 3 09:57:58 2016 +0100 Committer: Pepijn Noltes <[email protected]> Committed: Wed Feb 3 09:57:58 2016 +0100 ---------------------------------------------------------------------- documents/cmake_commands/readme.md | 9 +++++++++ 1 file changed, 9 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/celix/blob/8a8292bd/documents/cmake_commands/readme.md ---------------------------------------------------------------------- diff --git a/documents/cmake_commands/readme.md b/documents/cmake_commands/readme.md index e9f994e..30d863e 100644 --- a/documents/cmake_commands/readme.md +++ b/documents/cmake_commands/readme.md @@ -165,6 +165,15 @@ add_deploy(<deploy_target_name> ) ``` +The provided bundle targets for a deployment do not have to exists (yet). +This removes the need for correctly ordening the add_bundle commands so that all bundle target are present before an add_deploy command. +If the bundle target is never added CMake will give an error: +``` + Error evaluating generator expression: + + $<TARGET_PROPERTY:foo,BUNDLE_FILE> +``` + - If COPY is provided the selected bundles will be copied in a bundles dir and the generated config.properties will use relative paths to the bundle locations. Default bundles will not be copied and the generated config.properties will use absolute references to the bundle locations. - If GROUP is provided the deployment will be grouped in the provided group name. - If NAME is provided that name will be used for the deployment dir. Default the deploy target name will be used.
