[CMake] Compile .c as c++ - VS2005
Filipe Sousa
natros at gmail.com
Tue Mar 20 17:08:51 EST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ben Ratzlaff wrote:
> When creating a visual studio 2005 project, I need to be able to compile
> .c files as a c++ (/FP switch). Is there any way to achieve this outside
> of renaming the files?
does it work with SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /FP")?
- --
Filipe Sousa
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFGAFtzbQdNYqwwwCwRAldGAJ9JOyNL5IEjLXQ2+tObSu5o8UN61ACeOcw2
YZxQBal3/0FA0P+MbQFlQG0=
=yVKT
-----END PGP SIGNATURE-----
More information about the CMake
mailing list