Using either autobuild build or the IDE all the .dll etc files in the file copy projects are always copied. When I am recompiling over and over this wasted time starts to add up.
Maybe there is a dependency set up in secondlife-bin for these files. Are they needed for linking or only during run time? If the later then the dependency for secondlife-bin under windows could be changed.
The windows projects that do this are:
Discussion and ideas solicited.
At first I thought this was true:
Some investigation of \indra\cmake\CmakeCopyIfDifferent.cmake has revealed something interesting.
If you change
But as it was pointed out, and as some testing has indicated, what the copy command is does not make a difference. I do have a touched cmake file where the file copies do not always occur but cannot reproduce this in another build tree.
Now I think (after looking at the cmake source) that copy_if_different is reading the source and destination files and doing a block compare. I guess two reads are slightly more efficient than one read and one write, so leave that step unchanged.
I did a test with copy_if_different using copy like you had tried. I deleted a dll in sharedlibs. Ran and it copied that file only. Then, I touched lib/release/zlib1.dll and it copied that one file only.