[CMake] Using try_compile before project() command
Bill Hoffman
bill.hoffman at kitware.com
Tue Jul 15 12:05:14 EDT 2008
Carminati Federico wrote:
> Any hope to have this changed in a future release?
> Best regards,
>
No, it really is out of the work flow of CMake. First you find the
working compiler and test it. The CMakeLists.txt files should never
force a compiler choice. They should be compiler agnostic as much as
possible so they remain portable.
-Bill
More information about the CMake
mailing list