> Von: Philippe Fremy > > Hi, > > For one of my project, I need to compile files with .c extension as C++ > files. It's an uncommon need but it exists. > > In Visual Sturio, there is a compiler option, /TP that does exactly > this. In Visual Studio 2005 project files, it seems to translate into > CompileAs property which can be set to 1 (compile as C), 2 (compile as > C++) or 3 (compile as the project defines it). > > I am using CMake 2.4.8 > <snip>
Looking in the cmake documentation for SET_SOURCE_FILES_PROPERTIES and LANGUAGE should help. Christian -- GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen! Jetzt dabei sein: http://www.shortview.de/[EMAIL PROTECTED] _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
