summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAric Stewart <aric@codeweavers.com>2012-04-17 12:53:16 -0500
committerAlon Levy <alevy@redhat.com>2012-04-18 14:06:04 +0300
commit962f239159960801d2cee06f2d583bdbb0112dda (patch)
tree9ef4ad7faabeb6ed70feb4091248bf5ab0a9b824
parent4aca52309caeea188e02718a492dd696259608cd (diff)
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 <aric@codeweavers.com>
-rw-r--r--client/windows/generate.bat4
-rw-r--r--client/windows/generate1.bat4
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