[CMake] How to build a library divided in many directories ?

packadal packadal at gmail.com
Mon Mar 3 02:08:51 EST 2008


Thanks for the fast answers :)

I can't seem to use this solution, as i have different files that I include
or not, depending on the platform.
So i guess the good way would be to link all this together.
Here's where I'm stuck :

I try to use TARGET_LINK_LIBRARIES to "in the darkness bind them" (sorry) ,
but i need a target to use this command.
How should i create a library target withiut source files ?
Thanks again :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20080303/2ae2589f/attachment.htm


More information about the CMake mailing list