[CMake] add_subdiretory() help
Andreas Pakulat
apaku at gmx.de
Mon Dec 3 06:40:51 EST 2007
On 03.12.07 12:59:39, Ramazan Girgin wrote:
> I didn't understant your solution. Ex: Modul A built library liba
> Modul B built library b and Modul C builds libc and depends liba and libb,
> if i do this ;
> target_link_libraries(libc liba libb)
>
> if libb doesn't exist , libb will be built before libc??? I know cmake
> doesn't do this
No, cmake does exactly that. If libc links to liba and libb those two
will be built before libc. CMake takes care of doing that.
Andreas
--
People are beginning to notice you. Try dressing before you leave the house.
More information about the CMake
mailing list