The issue with the add_custom_command() and DEPENDS is that the custom
commands will be in CMakeLists.txt files throughout the solution, and it
appears to indicate that that form only works with a target created in the
same directory.
On Wed, Apr 8, 2015 at 1:12 PM, Alexander Neundorf
wrote:
> O
On Tuesday, April 07, 2015 15:24:18 Daniel Dilts wrote:
> Looking at the way these things work, it seems to me that the ideal
> solution to my situation, if it is possible, is to do a
> add_custom_command() for each source file, and then do a
> add_custom_target() that has all of the custom command
Looking at the way these things work, it seems to me that the ideal
solution to my situation, if it is possible, is to do a
add_custom_command() for each source file, and then do a
add_custom_target() that has all of the custom commands as PRE_BUILD events.
Is there a way to pass the list of files
On Tuesday, April 07, 2015 13:22:30 you wrote:
> > > > I have a custom executable that does some codegen to produce an
> > > >
> >> > > enumeration and a couple of tables. I need this to be run against
> >>
> >> each
> >>
> >> > > source file before actual compilation. It needs include directo
>
> > > I have a custom executable that does some codegen to produce an
>> > > enumeration and a couple of tables. I need this to be run against
>> each
>> > > source file before actual compilation. It needs include directories
>> and
>> > > macro definitions from the build system.
>> > >
>> > >
On Tue, Apr 7, 2015 at 12:46 PM, Alexander Neundorf wrote:
> On Monday, April 06, 2015 21:19:57 Klaim - Joël Lamotte wrote:
> > On Mon, Apr 6, 2015 at 8:47 PM, Daniel Dilts wrote:
> > > I have a custom executable that does some codegen to produce an
> > > enumeration and a couple of tables. I n
On Monday, April 06, 2015 21:19:57 Klaim - Joël Lamotte wrote:
> On Mon, Apr 6, 2015 at 8:47 PM, Daniel Dilts wrote:
> > I have a custom executable that does some codegen to produce an
> > enumeration and a couple of tables. I need this to be run against each
> > source file before actual compila
On Mon, Apr 6, 2015 at 8:47 PM, Daniel Dilts wrote:
> I have a custom executable that does some codegen to produce an
> enumeration and a couple of tables. I need this to be run against each
> source file before actual compilation. It needs include directories and
> macro definitions from the b
I have a custom executable that does some codegen to produce an enumeration
and a couple of tables. I need this to be run against each source file
before actual compilation. It needs include directories and macro
definitions from the build system.
Is there a way to do this with a CMake build sys