Copying directory from source tree to binary tree. For example: How to copy www to bin folder.
work ├─bin └─src ├─doing │ └─www ├─include └─lib
Thanks.
Since version 2.8, the file command has a copy argument:
file(COPY yourDir DESTINATION yourDestination)
Note that:
Relative input paths are evaluated with respect to the current source directory, and a relative destination is evaluated with respect to the current build directory
2.1m questions
2.1m answers
60 comments
57.0k users