On Mon, Sep 6, 2010 at 12:51 AM, Clifford Yapp <cliffy...@gmail.com> wrote:
> Is there any way within a CMakeLists.txt file to get a list of all the
> currently defined targets?  I'm interested in this for two primary
> reasons, and if anyone can point me to other solutions for these that
> would be great, but I'm sort of stumped.

I used the following hack (different purpose in my case),  item
0018317 should give you all shared libs exported by the project:

http://cmake.org/Bug/view.php?id=9822#bugnotes

hth
-- 
Mathieu
_______________________________________________
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