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