[Spice-devel] [PATCH spice]Update win32 generate(1).bat files to match modern usage
Aric Stewart
aric at codeweavers.com
Tue Apr 17 10:53:16 PDT 2012
This involves:
generating .c instead of .cpp files
Not including "common.h"
Standardizing some parameters
Signed-off-by: Aric Stewart <aric at codeweavers.com>
---
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 f3001fb..27d8487 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 86af4a5..97da9be 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
--
1.6.0.rc1.64.g61192
More information about the Spice-devel
mailing list