[CMake] Parallel build with custom command
Bill Hoffman
bill.hoffman at kitware.com
Tue Oct 7 11:14:47 EDT 2014
On 10/7/2014 10:26 AM, Ruslan Baratov wrote:
>
> I'm expecting 1 message `Script run`, but I have 5 messages. If I modify
> `generate.cmake` script so it always write the file then everything
> works fine.
Ah OK, I see. Your depend never gets up to date. If you touch
generate.cmake, and the file already exists, then generate.cmake will
always be newer than the file. And it will always try to run it. So
this is expected.
-Bill
More information about the CMake
mailing list