Notes |
|
(0029644)
|
recryn
|
2012-06-08 05:30
|
|
'cmake -E copy_directory some_dir dest_dir' does follow symlinks. That means it does not copy symlinks but the files or directories they point to.
I would consider this a bug since 'file (COPY some_dir DESTINATION dest_dir)' copies symlinks without following them. Because of the limitation of copy_directory you have to work around this by creating a custom copydir.cmake script,
--------8<-------------------------------------------------------
# copydir.cmake
# note the trailing slash after ${SOURCE_DIR}
file (COPY "${SOURCE_DIR}/" DESTINATION "${TARGET_DIR}")
------------------------------------------------------->8--------
and call this script instead of 'cmake -E copy_directory', e.g.;
cmake -DSOURCE_DIR=some_dir -DTARGET_DIR=dest_dir -P copydir.cmake |
|
|
(0030434)
|
David Cole
|
2012-08-11 21:42
|
|
Sending old, never assigned issues to the backlog.
(The age of the bug, plus the fact that it's never been assigned to anyone means that nobody is actively working on it...)
If an issue you care about is sent to the backlog when you feel it should have been addressed in a different manner, please bring it up on the CMake mailing list for discussion. Sign up for the mailing list here, if you're not already on it: http://www.cmake.org/mailman/listinfo/cmake [^]
It's easy to re-activate a bug here if you can find a CMake developer who has the bandwidth to take it on, and ferry a fix through to our 'next' branch for dashboard testing.
|
|
|
(0031269)
|
David Cole
|
2012-10-18 11:17
|
|
|
|
(0034619)
|
irwin
|
2013-12-01 15:14
|
|
|
|
(0042044)
|
Kitware Robot
|
2016-06-10 14:28
|
|
Resolving issue as `moved`.
This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page. |
|