Hello,
Is there a way to to update add_custom_command dependencies over project
rebuilds ?
Current status
- code generator that builds set of sources taking one input file as
parameter
- codegen input file may include other input files
- already solved task of getting list of output files,
Am Montag, den 25.07.2011, 15:49 +0200 schrieb Michael Wild:
On 07/25/2011 03:24 PM, Micha Renner wrote:
There is following sequence:
ADD_EXECUTEABLE(generator gen.c)
ADD_CUSTOM_COMMAND(OUTPUT tlib.h
COMMAND generator tlib.h)
ADD_LIBRARY(tlib tlib.c tlib.h)
The
On 08/01/2011 09:32 AM, Micha Renner wrote:
Am Montag, den 25.07.2011, 15:49 +0200 schrieb Michael Wild:
On 07/25/2011 03:24 PM, Micha Renner wrote:
There is following sequence:
ADD_EXECUTEABLE(generator gen.c)
ADD_CUSTOM_COMMAND(OUTPUT tlib.h
COMMAND generator tlib.h)
There is following sequence:
ADD_EXECUTEABLE(generator gen.c)
ADD_CUSTOM_COMMAND(OUTPUT tlib.h
COMMAND generator tlib.h)
ADD_LIBRARY(tlib tlib.c tlib.h)
The question: Is it sure that ADD_EXECUTEABLE is invoked before the
library is build or is here an ADD_DEPENDENCIES(tlib generator)
On 07/25/2011 03:24 PM, Micha Renner wrote:
There is following sequence:
ADD_EXECUTEABLE(generator gen.c)
ADD_CUSTOM_COMMAND(OUTPUT tlib.h
COMMAND generator tlib.h)
ADD_LIBRARY(tlib tlib.c tlib.h)
The question: Is it sure that ADD_EXECUTEABLE is invoked before the
library is
Hello,
I'm using cmake in a project and have some trouble with ADD_CUSTOM_COMMAND.
What I need is generate a source file with a binary previously generated by
the project and then add it in the project.
It works with this code :
MACRO(GENERATE directory)
ADD_CUSTOM_COMMAND(