Hi! Ryan Pavlik wrote: > get_target_properties() with the property SOURCES > then for each value you get back there, do a > get_source_file_properties() for LOCATION > and add all such locations to a new list, then create a target with that > source list.
Thank you for your answer. The method you described: Do I have to apply it to each module? The target is then the static library where the modules are included? Do you have a running example? This would help me a lot! I am still puzzling what "Source names" are? http://www.cmake.org/cmake/help/cmake2.6docs.html#prop_tgt:SOURCES Says nothing about it. best regards Markus -- http://www.markus-raab.org | Abwechslung stärkt den Appetit. -- -o) | Sprichwort Kernel 2.6.24-1-a /\ | on a x86_64 _\_v | _______________________________________________ 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