From 962f239159960801d2cee06f2d583bdbb0112dda Mon Sep 17 00:00:00 2001 From: Aric Stewart Date: Tue, 17 Apr 2012 12:53:16 -0500 Subject: [PATCH] Update win32 generate(1).bat files to match modern usage This involves: generating .c instead of .cpp files Not including "common.h" Standardizing some parameters Signed-off-by: Aric Stewart --- client/windows/generate.bat | 4 ++-- client/windows/generate1.bat | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/client/windows/generate.bat b/client/windows/generate.bat index f3001fba..27d8487b 100644 --- a/client/windows/generate.bat +++ b/client/windows/generate.bat @@ -1,2 +1,2 @@ -python ..\..\spice-common\spice_codegen.py -d -c -i common.h -i messages.h ..\..\spice-common\spice.proto ..\generated_demarshallers.cpp -python ..\..\spice-common\spice_codegen.py --generate-marshallers -P --include "common.h" --include messages.h --include client_marshallers.h --client ..\..\spice-common\spice.proto ..\generated_marshallers.cpp +python ..\..\spice-common\spice_codegen.py --generate-demarshallers --client --include messages.h ..\..\spice-common\spice.proto ..\generated_demarshallers.c +python ..\..\spice-common\spice_codegen.py --generate-marshallers -P --include messages.h --include client_marshallers.h --client ..\..\spice-common\spice.proto ..\generated_marshallers.c diff --git a/client/windows/generate1.bat b/client/windows/generate1.bat index 86af4a55..97da9be8 100644 --- a/client/windows/generate1.bat +++ b/client/windows/generate1.bat @@ -1,2 +1,2 @@ -python ..\..\spice-common\spice_codegen.py -d -c -i common.h -i messages.h --prefix 1 --ptrsize 8 ..\..\spice-common\spice1.proto ..\generated_demarshallers1.cpp -python ..\..\spice-common\spice_codegen.py --generate-marshallers -P --include "common.h" --include messages.h --include client_marshallers.h --client --prefix 1 --ptrsize 8 ..\..\spice-common\spice1.proto ..\generated_marshallers1.cpp +python ..\..\spice-common\spice_codegen.py --generate-demarshallers --client --include messages.h --prefix 1 --ptrsize 8 ..\..\spice-common\spice1.proto ..\generated_demarshallers1.c +python ..\..\spice-common\spice_codegen.py --generate-marshallers -P --include messages.h --include client_marshallers.h --client --prefix 1 --ptrsize 8 ..\..\spice-common\spice1.proto ..\generated_marshallers1.c