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

packadal packadal at gmail.com
Mon Feb 25 09:42:52 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 :)

-- 
- Always keep in mind that you may be wrong -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20080225/1b005547/attachment.html


More information about the CMake mailing list