[prev in list] [next in list] [prev in thread] [next in thread]
List: cmake
Subject: Re: [CMake] VS8.0 CompileAs
From: "Christian Ehrlicher" <Ch.Ehrlicher () gmx ! de>
Date: 2008-04-15 10:14:04
Message-ID: 20080415101404.187150 () gmx ! net
[Download RAW message or body]
> 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/?mc=sv_ext_mf@gmx
_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic