Re: [CMake] Visual Studio and Pure C application

2013-03-04 Thread Totte Karlsson
On 2/27/2013 12:50 AM, Rolf Eike Beer wrote: project(simple C) Eike That worked perfect! Thanks, Totte -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: ht

Re: [CMake] Visual Studio and Pure C application

2013-02-27 Thread Rolf Eike Beer
Am 27.02.2013 00:16, schrieb Totte Karlsson: Hi, I have a simple application that is 'pure C', no C++. The problem I have is that the solution/project file that CMake generates creates a target that is not C, but C++. In other words, __cplusplus is defined and in some headers there are #define

[CMake] Visual Studio and Pure C application

2013-02-26 Thread Totte Karlsson
Hi, I have a simple application that is 'pure C', no C++. The problem I have is that the solution/project file that CMake generates creates a target that is not C, but C++. In other words, __cplusplus is defined and in some headers there are #defines ifdef(__cplusplus) and having that defined