First, I am new to cmake and exploring converting our home grown build system.

How would I code this up in cmake

I have composite objects that need to be added to a share library

add_library(foo a.c b.c c.c)

I also need x.o in the library AND x.o linked from:

subdir-a/aa.c subdir-a/bb.c

Thanks
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to