[CMake] Problems with auto-generated sources
Alexander Neundorf
a.neundorf-work at gmx.net
Mon Sep 30 16:50:08 EDT 2013
On Monday 30 September 2013, Jakub Schmidtke wrote:
> The workaround I found so far is to add a custom target that depends on the
> targets I want to build.
> So if I add this:
> add_custom_target(test12 DEPENDS test1 test2)
>
> to my CMake file, and instead of running 'make -j test1 test2' I run 'make
> -j test12' everything seems to be fine...
IIRC, this is a known issue and you are using the recommended way to deal with
it.
Is that a limitation of make ?
Alex
More information about the CMake
mailing list