[CMake] Hi.. a New bie question

AMARNATH, Balachandar BALACHANDAR.AMARNATH at airbus.com
Fri Apr 8 01:16:53 EDT 2011


Hi all,

     I want to create a library out of several sources distributed in various directory structures. It seems, i need to specify name of all sources to ADD_LIBRARY command. Is there any other way to do it ? Keeping CMakeLists.txt file in every sub directory will really help as i need to create library out of all sources not with the sources of a single directory?. In this case, however, how to get the list of source files in my main CMakeLists.txt file so as to pass this to ADD_LIBRARY command. Can anyone out there to help me in this ?

With thanks and regards
Bala



The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other than the addressee. Access to this e-mail by anyone else is unauthorised.
If you are not the intended recipient, please notify Airbus immediately and delete this e-mail.
Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately.
All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110408/217dec6a/attachment-0001.htm>


More information about the CMake mailing list