Save copies of generated qapi files.

This commit is contained in:
xorstream 2017-01-21 00:30:50 +11:00
parent fac6a66860
commit 8840d5b42b
5 changed files with 24 additions and 1033 deletions

4
.gitignore vendored
View File

@ -24,8 +24,8 @@ sparc-softmmu/
sparc64-softmmu/
m68k-softmmu/
qapi-types.h
qapi-visit.h
qemu/qapi-types.h
qemu/qapi-visit.h
x86_64-softmmu/
tags
qemu/config-host.ld

View File

@ -24,8 +24,6 @@
<ClCompile Include="..\..\..\qemu\glib_compat.c" />
<ClCompile Include="..\..\..\qemu\hw\core\machine.c" />
<ClCompile Include="..\..\..\qemu\hw\core\qdev.c" />
<ClCompile Include="..\..\..\qemu\qapi-types.c" />
<ClCompile Include="..\..\..\qemu\qapi-visit.c" />
<ClCompile Include="..\..\..\qemu\qapi\qapi-dealloc-visitor.c" />
<ClCompile Include="..\..\..\qemu\qapi\qapi-visit-core.c" />
<ClCompile Include="..\..\..\qemu\qapi\qmp-input-visitor.c" />
@ -60,6 +58,8 @@
<ClCompile Include="..\..\..\qemu\util\qemu-timer-common.c" />
<ClCompile Include="..\..\..\qemu\vl.c" />
<ClCompile Include="..\..\..\uc.c" />
<ClCompile Include="qapi-types.c" />
<ClCompile Include="qapi-visit.c" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\include\list.h" />
@ -164,9 +164,9 @@
<ClInclude Include="..\..\..\qemu\include\sysemu\memory_mapping.h" />
<ClInclude Include="..\..\..\qemu\include\sysemu\os-win32.h" />
<ClInclude Include="..\..\..\qemu\include\sysemu\sysemu.h" />
<ClInclude Include="..\..\..\qemu\qapi-types.h" />
<ClInclude Include="..\..\..\qemu\qapi-visit.h" />
<ClInclude Include="..\..\..\qemu\vl.h" />
<ClInclude Include="qapi-types.h" />
<ClInclude Include="qapi-visit.h" />
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{B6EFD6D7-C2D4-4FBB-B363-2E08CE09CC96}</ProjectGuid>

View File

@ -81,12 +81,6 @@
<ClCompile Include="..\..\..\qemu\glib_compat.c">
<Filter>qemu</Filter>
</ClCompile>
<ClCompile Include="..\..\..\qemu\qapi-types.c">
<Filter>qemu</Filter>
</ClCompile>
<ClCompile Include="..\..\..\qemu\qapi-visit.c">
<Filter>qemu</Filter>
</ClCompile>
<ClCompile Include="..\..\..\qemu\qemu-log.c">
<Filter>qemu</Filter>
</ClCompile>
@ -193,6 +187,12 @@
<Filter>qemu\util</Filter>
</ClCompile>
<ClCompile Include="..\..\..\uc.c" />
<ClCompile Include="qapi-types.c">
<Filter>qemu</Filter>
</ClCompile>
<ClCompile Include="qapi-visit.c">
<Filter>qemu</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\include\list.h">
@ -204,12 +204,6 @@
<ClInclude Include="..\..\..\include\uc_priv.h">
<Filter>priv</Filter>
</ClInclude>
<ClInclude Include="..\..\..\qemu\qapi-types.h">
<Filter>qemu</Filter>
</ClInclude>
<ClInclude Include="..\..\..\qemu\qapi-visit.h">
<Filter>qemu</Filter>
</ClInclude>
<ClInclude Include="..\..\..\qemu\vl.h">
<Filter>qemu</Filter>
</ClInclude>
@ -494,5 +488,11 @@
<ClInclude Include="..\..\..\include\unicorn\unicorn.h" />
<ClInclude Include="..\..\..\include\unicorn\x86.h" />
<ClInclude Include="..\..\..\include\unicorn\platform.h" />
<ClInclude Include="qapi-types.h">
<Filter>qemu</Filter>
</ClInclude>
<ClInclude Include="qapi-visit.h">
<Filter>qemu</Filter>
</ClInclude>
</ItemGroup>
</Project>

File diff suppressed because it is too large Load Diff

View File

@ -377,8 +377,7 @@ fdecl.write(mcgen('''
#ifndef %(guard)s
#define %(guard)s
#include <stdbool.h>
#include <stdint.h>
#include "unicorn/platform.h"
''',
guard=guardname(h_file)))