[CMake] LINKER_LANGUAGE property

James Bigler jamesbigler at gmail.com
Wed May 20 01:44:42 EDT 2009


Is it possible to get what CMake thinks the linker language should be at
configure time:

add_executable(mytarget ${mysources})
get_target_property(linker_lang mytarget LINKER_LANGUAGE)
message("linker_lang = ${linker_lang}")

This produces linker_lang-NOTFOUND.

I would like to know what linker language will be used before I potentially
overwrite it.

Thanks,
James
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090519/138ef9d8/attachment.htm>


More information about the CMake mailing list