I am writing a script and started working with the install
command (for copying files) and it is not working. CMake configure/generate does not show any errors (i.e. it does not stop and no warnings/errors show related to this command) and the command does not seem to be working, because I don't see any files being copied.
Since I am new, I am wondering:
- How can I tell that
install
failed (perhaps the source directory was wrong, or the destination directory was wrong)? It appears to be failing silently. - Are there error codes I can check to see what went wrong?
- When is
install
called? When I click configure? Or when the project is built?
I am on Windows.