Re: [CMake] force c++

2006-04-06 Thread Brad King
Axel Roebel wrote: does anybody know how I may force the use of a c++ compiler for source files with .c extension? Before I start renaming nearly 100 files and loose all the cvs history I would prefer a solution where cmake would allow me to select a compiler for the part of the files that requi

Re: [CMake] force c++

2006-04-06 Thread Axel Roebel
> 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 co

Re: [CMake] force c++

2006-04-06 Thread Jan Woetzel
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 w

[CMake] force c++

2006-04-05 Thread Axel Roebel
Hello, does anybody know how I may force the use of a c++ compiler for source files with .c extension? Before I start renaming nearly 100 files and loose all the cvs history I would prefer a solution where cmake would allow me to select a compiler for the part of the files that require c++ compil