I have found that if I rename my .c files to .C then cmake does not emit the XML in the .vsproj to change the build mode.
On 3/20/07, Ben Ratzlaff <[EMAIL PROTECTED]> wrote:
It did not work for me I have also tried: SET (CMAKE_C_SOURCE_FILE_EXTENSIONS "") SET (CMAKE_CXX_SOURCE_FILE_EXTENSIONS "c;${CMAKE_CXX_SOURCE_FILE_EXTENSIONS}") On 3/20/07, Filipe Sousa <[EMAIL PROTECTED]> wrote: > > -----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----- > _______________________________________________ > CMake mailing list > CMake@cmake.org > http://www.cmake.org/mailman/listinfo/cmake >
_______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake