Commit c6017182 authored by Andy Cedilnik's avatar Andy Cedilnik

Add removing of warnings and add comment about the file being generated in CMake

parent 5ba65d0a
......@@ -175,8 +175,13 @@ bool cmVTKWrapPythonCommand::WriteInit(const char *kitName,
return false;
fprintf(fout,"// Generated by cmVTKWrapPythonCommand in CMake\n\n");
fprintf(fout,"#include <string.h>\n");
fprintf(fout,"#include \"Python.h\"\n\n");
fprintf(fout,"// Handle compiler warning messages, etc.\n"
"#if defined( _MSC_VER ) && !defined(VTK_DISPLAY_WIN32_WARNINGS)\n"
"#pragma warning ( disable : 4706 )\n"
"#endif // Windows Warnings \n\n");
for (i = 0; i < classes.size(); i++)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment