Target dirs for rootfs_files and _directories
The commands rootfs_files()
and rootfs_directories()
are flexible in their sources. They are not when it comes to targets.
It would be useful to speckle target redirections relative to ${CMAKE_CURRENT_BINARY_DIR}
, default being rootfs
but other options being tlsdir
, vardir
and so on.
This might be covered as mount points. In that case, the traffic redirects "automatically". Alternatively, specify the targetdir (and what it strips from the path).
Mount points are also nice because they can help to generate config.json
, one day.