Am Saturday 03 July 2010 schrieb Ilpo Ilves: > Hi, > > Is it possible to retrieve a list of those files which I have mentioned in > multiple source_group commands?
None I'm aware of.
> Since I will group my sources anyway, it would seem redundant to have to
> list those files again to give them to the add_library command.
Put them in a list and then use that:
set(my_hdrs foo.h bar.h)
source_group(headers FILES ${my_hdrs})
add_library(baz ${my_hdrs} ${my_srcs})
Eike
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ 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
