[CMake] Multiple toolchains in one CMakeList?

Brandon Van Every bvanevery at gmail.com
Tue Feb 5 10:58:17 EST 2008


On Feb 5, 2008 10:05 AM, John Spray <john.c.spray at googlemail.com> wrote:
>
> If I were invoking a second CMake, would I be able to make the host
> CMake aware of the second as a dependency?

Sure.  add_custom_command, add_custom_target.  The subsidiary CMake
would have to actually output something.  You'd have to know what that
output is going to be, and how to invoke the build.


Cheers,
Brandon Van Every


More information about the CMake mailing list