diff options
Diffstat (limited to 'client/windows')
-rw-r--r-- | client/windows/generate.bat | 3 | ||||
-rw-r--r-- | client/windows/generate1.bat | 2 | ||||
-rw-r--r-- | client/windows/redc.vcproj | 49 |
3 files changed, 42 insertions, 12 deletions
diff --git a/client/windows/generate.bat b/client/windows/generate.bat index 3757bb0c..1bb62b4f 100644 --- a/client/windows/generate.bat +++ b/client/windows/generate.bat @@ -1,3 +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 --include messages.h --client ..\..\spice.proto ..\generated_marshallers.cpp
-python ..\..\spice_codegen.py --generate-marshallers --client -H ..\..\spice.proto ..\generated_marshallers.h
+python ..\..\spice_codegen.py --generate-marshallers -P --include messages.h --include marshallers.h --client ..\..\spice.proto ..\generated_marshallers.cpp
diff --git a/client/windows/generate1.bat b/client/windows/generate1.bat new file mode 100644 index 00000000..d7203530 --- /dev/null +++ b/client/windows/generate1.bat @@ -0,0 +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 diff --git a/client/windows/redc.vcproj b/client/windows/redc.vcproj index 37ca23ae..80e875b5 100644 --- a/client/windows/redc.vcproj +++ b/client/windows/redc.vcproj @@ -236,6 +236,18 @@ >
</File>
<File
+ RelativePath="..\generated_demarshallers1.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\generated_marshallers.cpp"
+ >
+ </File>
+ <File
+ RelativePath="..\generated_marshallers1.cpp"
+ >
+ </File>
+ <File
RelativePath="..\glz_decoder.cpp"
>
</File>
@@ -504,14 +516,6 @@ >
</File>
<File
- RelativePath="..\generated_marshallers.cpp"
- >
- </File>
- <File
- RelativePath="..\generated_marshallers.h"
- >
- </File>
- <File
RelativePath="..\..\common\win\my_getopt-1.5\getopt.h"
>
</File>
@@ -717,7 +721,7 @@ Description="Generating demarshaller"
CommandLine="generate.bat"
AdditionalDependencies=""
- Outputs="$(ProjectDir)/../generated_demarshallers.cpp;$(ProjectDir)/../generated_marshallers.h;$(ProjectDir)/../generated_marshallers.cpp"
+ Outputs="$(ProjectDir)/../generated_demarshallers.cpp;$(ProjectDir)/../generated_marshallers.cpp"
/>
</FileConfiguration>
<FileConfiguration
@@ -727,7 +731,32 @@ Name="VCCustomBuildTool"
Description="Generating demarshaller"
CommandLine="generate.bat"
- Outputs="$(ProjectDir)/../generated_demarshallers.cpp;$(ProjectDir)/../generated_marshallers.h;$(ProjectDir)/../generated_marshallers.cpp"
+ Outputs="$(ProjectDir)/../generated_demarshallers.cpp;$(ProjectDir)/../generated_marshallers.cpp"
+ />
+ </FileConfiguration>
+ </File>
+ <File
+ RelativePath="..\..\spice1.proto"
+ >
+ <FileConfiguration
+ Name="Debug|Win32"
+ >
+ <Tool
+ Name="VCCustomBuildTool"
+ Description="Generating old demarshaller"
+ CommandLine="generate1.bat"
+ AdditionalDependencies=""
+ Outputs="$(ProjectDir)/../generated_demarshallers1.cpp;$(ProjectDir)/../generated_marshallers1.cpp"
+ />
+ </FileConfiguration>
+ <FileConfiguration
+ Name="Release|Win32"
+ >
+ <Tool
+ Name="VCCustomBuildTool"
+ Description="Generating old demarshaller"
+ CommandLine="generate1.bat"
+ Outputs="$(ProjectDir)/../generated_demarshallers1.cpp;$(ProjectDir)/../generated_marshallers1.cpp"
/>
</FileConfiguration>
</File>
|