[CMake] force c++

Jan Woetzel jw at mip.informatik.uni-kiel.de
Thu Apr 6 03:02:07 EDT 2006


Axel Roebel wrote:

>does anybody know how I may force the use of a c++ compiler
>for source files with .c extension?
>  
>
I think we worked around taht problem:
If one file has cpp suffix all files are compiled as C++ instead of C.
Thsu we added a dummy file per library.

Please correct me if I'm wrong.

Jan.

-- 

  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   www.mip.informatik.uni-kiel.de/~jw
  Email jw at mip.informatik.uni-kiel.de



More information about the CMake mailing list