mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-06 22:30:07 -05:00
Add removing of warnings and add comment about the file being generated in CMake
This commit is contained in:
@@ -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++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user