[CMake] Problem with CMAKE_C_SOURCE_FILE_EXTENSIONS

Mathieu Malaterre mathieu.malaterre at gmail.com
Mon Oct 13 11:08:14 EDT 2008


Does this work:

SET_SOURCE_FILES_PROPERTIES(MyFile.myextension PROPERTIES LANGUAGE C)

2008/10/13 s.bedouet at voila.fr <s.bedouet at voila.fr>:
> Hi,
>
> I would like to compile a generated file (for example MyFile.myextension)
> with the C compiler. The "SET(CMAKE_C_SOURCE_FILE_EXTENSIONS myextension)"
> doesn't seem to work : file is ignored !
>
> Any idea ?
>
> Thanks.
>
> Sebastien
>
>
>
> ________________________________
> Écoutez gratuitement Ben Ricour sur Voila et découvrez d'autres titres en
> affinité avec vos goûts musicaux !
> _______________________________________________
> CMake mailing list
> CMake at cmake.org
> http://www.cmake.org/mailman/listinfo/cmake
>



-- 
Mathieu


More information about the CMake mailing list