[CMake] *.c compiled with C compiler after clearing CMAKE_C_SOURCE_FILE_EXTENSIONS
Jed Brown
jed at 59A2.org
Thu Oct 14 05:15:18 EDT 2010
On Wed, Oct 13, 2010 at 22:21, Alexander Neundorf
<a.neundorf-work at gmx.net> wrote:
> CMAKE_<language>_SOURCE_FILE_EXTENSIONS is used quite early in the
> enable-language process, i.e. when the
> CMakeFiles/CMake<language>Compiler.cmake file is generated.
> If the variable is changed after that happened, it doesn't have an effect
> anymore.
Thanks.
It would help to at least note this in the documentation, and perhaps
make the variable read-only to avoid confusion like this.
Jed
More information about the CMake
mailing list