Re: [CMake] DEPFILE usage in add_custom_command(...)

2018-12-17 Thread Ed Branch
The target name in the depfile does not match the target name on the ninja build line due to absolute vs relative path mismatch. Even though they refer to the same file, the target names must match exactly. -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ

[CMake] DEPFILE usage in add_custom_command(...)

2018-12-12 Thread Attila Krasznahorkay
Dear All, I'm trying to use the DEPFILE argument of add_custom_command(...) to be able to tell Ninja exactly when it should re-run that custom command. But unfortunately I'm not able to get it to work as I'd like. :-( I'm running a custom command that processes a header file through a custom e