<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Is there not a more portable way of doing it.<br>
<br>
I have some *.c files that I need to compile as C++, but it's annoying
to have to <br>
IF(WIN32<br>
SET_SOURCE_FILE_PROPERTIES( /TP)<br>
<br>
IF (GCC)<br>
SET_SOURCE_FILE_PROPERTIES( ...<br>
<br>
(can't remember the switches OTOMH)<br>
<br>
etc. Is there not another LANGUAGE_CXX or something flag. it seems
terrible to have to know the flags for every compiler when this should
be in the generator?<br>
<br>
JB<br>
<br>
<br>
<blockquote cite="mid4600619C.1000908@gmail.com" type="cite">
  <pre wrap="">-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ben Ratzlaff wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">I have found that if I rename my .c files to .C then cmake does not emit
the XML in the .vsproj to change the build mode.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
.C is a c++ file name extension.

- --
Filipe Sousa
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGAGGcbQdNYqwwwCwRAs3eAKCMpxLOwKZDihUXVOI1Hr4i+KB8HACfXmQV
qyiEamYG6dyYL2C5KT+Ve/U=
=Mzju
-----END PGP SIGNATURE-----
_______________________________________________
CMake mailing list
<a class="moz-txt-link-abbreviated" href="mailto:CMake@cmake.org">CMake@cmake.org</a>
<a class="moz-txt-link-freetext" href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake</a>
  </pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="78">-- 
John Biddiscombe,                            <a class="moz-txt-link-freetext" href="email:biddisco">email:biddisco</a> @ cscs.ch
<a class="moz-txt-link-freetext" href="http://www.cscs.ch/about/BJohn.php">http://www.cscs.ch/about/BJohn.php</a>
CSCS, Swiss National Supercomputing Centre  | Tel:  +41 (91) 610.82.07
Via Cantonale, 6928 Manno, Switzerland      | Fax:  +41 (91) 610.82.82</pre>
</body>
</html>