Re: [CMake] About compile c files with cxx compiler

2009-07-31 Thread Pau Garcia i Quiles
SET_SOURCE_FILES_PROPERTIES( file.c PROPERTIES LANGUAGE CXX ) On Fri, Jul 31, 2009 at 12:56 PM, wrote: > Hi guys, > > > > Does anyone know how to compile C files with c++ compiler? > > > > I tried the PROJECT(name CXX), but the Makefile didn’t do anything and > generate a very small shared librar

[CMake] About compile c files with cxx compiler

2009-07-31 Thread zhongli.xu
Hi guys, Does anyone know how to compile C files with c++ compiler? I tried the PROJECT(name CXX), but the Makefile didn't do anything and generate a very small shared library file. Thanks, Milo PLEASE READ: The information contained in this e-mail is confidential. If you are not