[CMake] Static Modules

Markus Raab usenet at markus-raab.org
Thu Mar 11 02:56:38 EST 2010


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 | 



More information about the CMake mailing list