Re: [cmake-developers] Integrate tools with cmake

2016-08-12 Thread Sam Spilsbury
Hi there, Depends on what you mean by "tools". If you mean running some sort of static analysis over your code, there's a few ways to do it. I prefer to use add_custom_command which generates a new makefile based on some output stampfile. You can make the stampfile depend on the input file that yo

[cmake-developers] Integrate tools with cmake

2016-08-12 Thread Costean Adrian via cmake-developers
Hello, I am currently developing some projects which involves a build system and some tools. I would like to know what are the possibilities when it comes to integrate other tools in the cmake build system? How can that be done and what are the obstacles for achieving that? Thanks and regards, A