<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
Hi, <br>
<br>
ADD_LIBRARY (foo foo.cpp bar.c)<br>
<br>
compiles "bar.c" with flags /TC /TP options for C *and* CXX on visual
studio .net 2003 with cmake 2.4.2. <br>
<br>
If I remember correctly the behavior in 2.06 was "add one cpp file to a
target and all files are compiled as cpp". <br>
<br>
Do I need some special <br>
SET_SOURCE_FILES_PROPERTIES similar to LINKER_LANGUAGE<br>
or is it simply a bug in cmake ?<br>
<br>
Jan.<br>
<pre class="moz-signature" cols="72">--
Dipl.-Ing. Jan Woetzel
--------------------------------------------------
University of Kiel
Institute of Computer Science and Applied Mathematics
Hermann-Rodewald-Str. 3 [room 310]
24098 Kiel/Germany
--------------------------------------------------
Phone +49-431-880-4477
Fax +49-431-880-4054
Mob. +49-179-2937346
--------------------------------------------------
Url <a
class="moz-txt-link-abbreviated"
href="http://www.mip.informatik.uni-kiel.de/%7Ejw">www.mip.informatik.uni-kiel.de/~jw</a>
Email <a
class="moz-txt-link-abbreviated"
href="mailto:jw@mip.informatik.uni-kiel.de">jw@mip.informatik.uni-kiel.de</a>
</pre>
<br>
<pre class="moz-signature" cols="72">--
Dipl.-Ing. Jan Woetzel
--------------------------------------------------
Uni Kiel
Institut f. Informatik und Praktische Mathematik
Hermann-Rodewaldstr. 3 [Raum 310]
24098 Kiel/Germany
--------------------------------------------------
Tel +49-431-880-4477
Fax +49-431-880-4054
Privat +49-431-802872
Mob. +49-179-2937346
--------------------------------------------------
Url <a class="moz-txt-link-abbreviated" href="http://www.mip.informatik.uni-kiel.de/~jw">www.mip.informatik.uni-kiel.de/~jw</a>
Email <a class="moz-txt-link-abbreviated" href="mailto:jw@mip.informatik.uni-kiel.de">jw@mip.informatik.uni-kiel.de</a>
Privat <a class="moz-txt-link-abbreviated" href="mailto:jw@WoetzelWeb.de">jw@WoetzelWeb.de</a>
</pre>
</body>
</html>