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
1.4m articles
1.4m replys
5 comments
57.0k users