VTKSDKInstallRuntimeDeps.cmake¶
- vtksdk_install_runtimes_deps¶
Find runtime dependencies using file(GET_RUNTIME_DEPENDENCIES) at install-time. They will be installed in “<package-name>/third_party.libs”.
package_name is the name of the python package, that will be used to name the folder inside site-packages.
MODULES list of modules to build, must be non-empty.
PATHS list of paths to look at to resolve dependencies. Note that this may only be used on Windows. It will generate warnings on other platforms as the R[UN]PATHs should be enough to resolve dependencies.
PRE_INCLUDE_REGEXES, PRE_EXCLUDE_REGEXES, POST_INCLUDE_REGEXES, POST_EXCLUDE_REGEXES, POST_INCLUDE_FILES and POST_EXCLUDE_FILES are forwarded to underlying file(GET_RUNTIME_DEPENDENCIES)
Wheels are packaged as ZIP archives. This is important as ZIPs do not support symlinks. If one of your target links against a symlink, the symlink will be replaced by a COPY of the so/dylib. This may significantly increase the size of your packages.
vtksdk_build_modules(<package_name>
MODULES <module>...
[PATHS <paths>...]
[PRE_INCLUDE_REGEXES <regexes>...]
[PRE_EXCLUDE_REGEXES <regexes>...]
[POST_INCLUDE_REGEXES <regexes>...]
[POST_EXCLUDE_REGEXES <regexes>...]
[POST_INCLUDE_FILES <files>...]
[POST_EXCLUDE_FILES <files>...]
)