[cmake-developers] Custom commands with Ninja on Windows

Brad King brad.king at kitware.com
Mon May 23 13:35:26 EDT 2016


On 05/23/2016 10:24 AM, Brad King wrote:
> Please use cmGeneratedFileStream.  Also please place the script files in the
> CMakeFiles/ directory.  See cmake::GetCMakeFilesDirectoryPostSlash callers
> for examples.
[snip]
> Please also update the call sites for PRE_BUILD, PRE_LINK, and POST_BUILD
> custom commands.

Please also look at adding a case to the test suite, perhaps under
Tests/RunCMake/Ninja, to try running a really long custom command
line that forces use of the script.

Thanks,
-Brad



More information about the cmake-developers mailing list