summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2002-06-28 13:43:46 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2002-06-28 13:43:46 (GMT)
commitc6017182bf734d58942773898a9bf9d8a99738dd (patch)
treede98e658f30b401ecec4bec2673f29a84ab40a82
parent5ba65d0aa105e0bd015b632b9c34a85ce79ca32d (diff)
downloadCMake-c6017182bf734d58942773898a9bf9d8a99738dd.zip
CMake-c6017182bf734d58942773898a9bf9d8a99738dd.tar.gz
CMake-c6017182bf734d58942773898a9bf9d8a99738dd.tar.bz2
Add removing of warnings and add comment about the file being generated in CMake
-rw-r--r--Source/cmVTKWrapPythonCommand.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/cmVTKWrapPythonCommand.cxx b/Source/cmVTKWrapPythonCommand.cxx
index 2f23559..08934b6 100644
--- a/Source/cmVTKWrapPythonCommand.cxx
+++ b/Source/cmVTKWrapPythonCommand.cxx
@@ -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++)
{
e='2009-08-18 00:06:57 (GMT)'>2009-08-181-7/+13 | |/ | * CompileAnders Bakken2009-08-174-14/+14 | * Clean up DirectFB with WM enabledAnders Bakken2009-08-174-76/+123 | * Clean up DirectFB definesAnders Bakken2009-08-171-0/+25 | * Clean up primary surface handling in DFBAnders Bakken2009-08-173-28/+26 | * Fix a bug in wrt DFBWindowSurface's paintEngineAnders Bakken2009-08-172-12/+6 | * optimize getToken(), part 2: avoid QString::append()Oswald Buddenhagen2009-08-171-24/+66 | * consolidate some variablesOswald Buddenhagen2009-08-171-70/+66 | * optimize getToken(), part 1Oswald Buddenhagen2009-08-171-29/+47 | * optimize getChar()Oswald Buddenhagen2009-08-171-7/+9 | * cut down on real codeOswald Buddenhagen2009-08-1714-541/+37 | * fix includes to use lower-caseHarald Fernengel2009-08-1714-25/+22 | * Rename qlistdata.cpp (back) to qlist.cpp.Volker Hilsheimer2009-08-176-5/+5 | * Make QWS compile againAnders Bakken2009-08-171-33/+0 * | Doc: Added missing images.David Boddie2009-08-182-0/+0 |/ * Merge branch 'master' of git@scm.dev.nokia.troll.no:qt/qtDavid Boddie2009-08-17