[CMake] About compile c files with cxx compiler

zhongli.xu at nomura.com zhongli.xu at nomura.com
Fri Jul 31 06:56:49 EDT 2009


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 an intended recipient of this e-mail you must not copy, distribute or take any further action in reliance upon it and you should delete it and notify the sender.  E-mail is not a secure method of communication.  Nomura Securities Co. Ltd Shanghai Representative Office cannot accept responsibility for the accuracy or completeness of this message or any attachment(s).  This transmission could contain viruses, be corrupted, destroyed, incomplete, intercepted, lost or arrive late.  If verification of this e-mail is sought then please request a hard copy.  Unless otherwise stated any views or opinions presented are solely those of the author and do not represent those of Nomura Securities Co. Ltd Shanghai Representative Office.  This e-mail is intended for information purposes only and is not a solicitation or offer to buy or sell securities or related financial instruments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090731/86fe44c2/attachment.htm>


More information about the CMake mailing list