[CMake] Building a Version Header

John Drescher drescherjm at gmail.com
Wed Jul 7 23:04:50 EDT 2010


On Wed, Jul 7, 2010 at 10:59 PM, Clark Gaebel <cg.wowus.cg at gmail.com> wrote:
> Is there any way I can use the output from a command-line program (in
> this case, "git describe --dirty") instead of using FindGit?
>

I believe
add_custom_command

but I can not help with an example of that.

John


More information about the CMake mailing list