summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentVariables.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-07-30 14:59:37 (GMT)
committerBrad King <brad.king@kitware.com>2009-07-30 14:59:37 (GMT)
commitfcab87c9f802965318bee033c2fa3ff27cfbfec7 (patch)
tree75000cee15b4ecd1c233c7c7c259fa15bffb6994 /Source/cmDocumentVariables.h
parentfd633b33cff397b110cc69f82fd522cdf905952a (diff)
downloadCMake-fcab87c9f802965318bee033c2fa3ff27cfbfec7.zip
CMake-fcab87c9f802965318bee033c2fa3ff27cfbfec7.tar.gz
CMake-fcab87c9f802965318bee033c2fa3ff27cfbfec7.tar.bz2
Do not always propagate linker language preference
The commit "Consider link dependencies for link language" taught CMake to propagate linker language preference from languages compiled into libraries linked by a target. It turns out this should only be done for some languages, such as C++, because normally the language of the program entry point (main) should be used. We introduce variable CMAKE_<LANG>_LINKER_PREFERENCE_PROPAGATES to tell CMake whether a language should propagate its linker preference across targets. Currently it is true only for C++.
Diffstat (limited to 'Source/cmDocumentVariables.h')
0 files changed, 0 insertions, 0 deletions