[CMake] Re: [vtk-developers] deprecated CRT routines in MSVS8

Amitha Perera perera at cs.rpi.edu
Tue Aug 2 09:49:07 EDT 2005


On Tue 02 Aug 2005, Andy Cedilnik wrote:
> Maybe we should do this on CMake level. I would say that by default C
> should not be deprecated. Then we could have a cmake variable let say
> CMAKE_SECURE_API or something that would disable this behavior.
> 
> What do you think?

I think this should be left to the projects, and not incorporated into
CMake. VTK could, at the CMakeLists.txt level or elsewhere, choose to
disable these warnings. When it comes to disabling warnings, I
believe we need precision, not sledgehammers.

I agree with you, though, that C should not be deprecated. And it
isn't, except apparently for MSVC8 with some flags.

Amitha.


More information about the CMake mailing list