SET_SOURCE_FILES_PROPERTIES( file.c PROPERTIES LANGUAGE CXX ) On Fri, Jul 31, 2009 at 12:56 PM, <zhongli...@nomura.com> 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 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. > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/listinfo/cmake >
-- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer) _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake