[CMake] Create library and executable with libraries but no source files

s.bedouet at voila.fr s.bedouet at voila.fr
Fri Nov 14 09:05:17 EST 2008


Hi,
I would like to create a library (static or shared) and an executable with only libraries (static) but no sources files. It seems add_library and add_executable commands do not accept no source files. In my project, parent directory creates library or executable from libraries created in sub-directories.
 Is there any mean to do it ? (I use gcc and diab compilers)
Thanks,
Seb

____________________________________________________

1 Go d’espace pour stocker et partager photos, vidéos, mp3 et autres documents sur Ma Clé Voila ! http://macle.voila.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20081114/c51e5486/attachment.htm>


More information about the CMake mailing list