[CMake] 2.8/3.0: CMAKE_FORCE_C_COMPILER semantics
Rolf Eike Beer
eike at sf-mail.de
Sun Apr 13 06:12:10 EDT 2014
> include (CMakeForceCompiler)
> CMAKE_FORCE_C_COMPILER (gcc gcc)
> CMAKE_FORCE_CXX_COMPILER (g++ g++)
A more general question: is there any reason one would have to force a
compiler in a toolchain file? Just set CMAKE_*_COMPILER to the path, that
should be all that is needed, no? I've seen this multiple times and I wonder
if that makes any sense at all.
Eike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://www.cmake.org/pipermail/cmake/attachments/20140413/528f03b3/attachment.sig>
More information about the CMake
mailing list