[Spice-devel] [PATCH] windows client: add --include "common.h"-- for generated demarshallers
Alexander Larsson
alexl at redhat.com
Wed Jun 23 07:53:35 PDT 2010
On Wed, 2010-06-23 at 14:29 +0300, Yonit Halperin wrote:
> ---
> client/windows/generate.bat | 2 +-
> client/windows/generate1.bat | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/client/windows/generate.bat b/client/windows/generate.bat
> index 1bb62b4..6bd06d7 100644
> --- a/client/windows/generate.bat
> +++ b/client/windows/generate.bat
> @@ -1,2 +1,2 @@
> python ..\..\spice_codegen.py -d -c -i common.h -i messages.h ..\..\spice.proto ..\generated_demarshallers.cpp
> -python ..\..\spice_codegen.py --generate-marshallers -P --include messages.h --include marshallers.h --client ..\..\spice.proto ..\generated_marshallers.cpp
> +python ..\..\spice_codegen.py --generate-marshallers -P --include "common.h" --include messages.h --include marshallers.h --client ..\..\spice.proto ..\generated_marshallers.cpp
> diff --git a/client/windows/generate1.bat b/client/windows/generate1.bat
> index d720353..8c54e4c 100644
> --- a/client/windows/generate1.bat
> +++ b/client/windows/generate1.bat
> @@ -1,2 +1,2 @@
> python ..\..\spice_codegen.py -d -c -i common.h -i messages.h --prefix 1 ..\..\spice1.proto ..\generated_demarshallers1.cpp
> -python ..\..\spice_codegen.py --generate-marshallers -P --include messages.h --include marshallers.h --client --prefix 1 ..\..\spice1.proto ..\generated_marshallers1.cpp
> +python ..\..\spice_codegen.py --generate-marshallers -P --include "common.h" --include messages.h --include marshallers.h --client --prefix 1 ..\..\spice1.proto ..\generated_marshallers1.cpp
Hmm? Why is this needed? Its not done in the unix side
(client/Makefile.am). At the very least these should produce the same
code, so if its needed on win32 we should add it on unix too. However,
it built for me on win32 without this. How does it fail for you?
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
alexl at redhat.com alexander.larsson at gmail.com
He's a scrappy one-eyed Green Beret looking for 'the Big One.' She's a plucky
goth femme fatale who believes she is the reincarnation of an ancient Egyptian
queen. They fight crime!
More information about the Spice-devel
mailing list