From 1cbe98eac59c67efbb38a197401e6c16b9153b39 Mon Sep 17 00:00:00 2001 From: montellese Date: Wed, 6 Nov 2013 19:53:19 +0100 Subject: [win32] auto-generate ServiceDescription.h on demand --- .gitignore | 2 + project/BuildDependencies/scripts/0_package.list | 1 + project/VS2010Express/XBMC.vcxproj | 88 ++++++++++++++++++++++++ project/VS2010Express/XBMC.vcxproj.filters | 18 +++++ 4 files changed, 109 insertions(+) diff --git a/.gitignore b/.gitignore index 68497a369e..d026040a59 100644 --- a/.gitignore +++ b/.gitignore @@ -352,6 +352,7 @@ lib/cpluff/stamp-h1 /project/BuildDependencies/scripts/tmp /project/BuildDependencies/bin/swig /project/BuildDependencies/bin/doxygen +/project/BuildDependencies/bin/json-rpc # /project/VS2008Express /project/VS2008Express/Debug @@ -605,6 +606,7 @@ lib/cpluff/stamp-h1 # /xbmc/interfaces/ /xbmc/interfaces/Makefile +/xbmc/interfaces/json-rpc/ServiceDescription.h /xbmc/interfaces/python/Makefile /xbmc/interfaces/python/generated/ /xbmc/interfaces/python/test/Makefile diff --git a/project/BuildDependencies/scripts/0_package.list b/project/BuildDependencies/scripts/0_package.list index db802e6e79..832731393f 100644 --- a/project/BuildDependencies/scripts/0_package.list +++ b/project/BuildDependencies/scripts/0_package.list @@ -9,6 +9,7 @@ boost-1.46.1-headers-win32.7z dnssd-541-win32.zip doxygen-1.8.2-win32.7z gnutls-3.2.3-win32.zip +jsonschemabuilder-1.0.0-win32-2.7z lame_enc-3.99.5-win32.7z libass-0.10.2-win32.7z libbluray-0.4.0-win32.zip diff --git a/project/VS2010Express/XBMC.vcxproj b/project/VS2010Express/XBMC.vcxproj index c640130b51..4f6b069f1e 100644 --- a/project/VS2010Express/XBMC.vcxproj +++ b/project/VS2010Express/XBMC.vcxproj @@ -2899,6 +2899,94 @@ + + CALL ..\BuildDependencies\bin\json-rpc\JsonSchemaBuilder.bat + Generating ServiceDescription.h for JSON-RPC API + %(RelativeDir)..\ServiceDescription.h + CALL ..\BuildDependencies\bin\json-rpc\JsonSchemaBuilder.bat + Generating ServiceDescription.h for JSON-RPC API + Generating ServiceDescription.h for JSON-RPC API + Generating ServiceDescription.h for JSON-RPC API + Generating ServiceDescription.h for JSON-RPC API + CALL ..\BuildDependencies\bin\json-rpc\JsonSchemaBuilder.bat + CALL ..\BuildDependencies\bin\json-rpc\JsonSchemaBuilder.bat + CALL ..\BuildDependencies\bin\json-rpc\JsonSchemaBuilder.bat + %(RelativeDir)..\ServiceDescription.h + %(RelativeDir)..\ServiceDescription.h + %(RelativeDir)..\ServiceDescription.h + %(RelativeDir)..\ServiceDescription.h + + + Document + CALL ..\BuildDependencies\bin\json-rpc\JsonSchemaBuilder.bat + Generating ServiceDescription.h for JSON-RPC API + %(RelativeDir)..\ServiceDescription.h + CALL ..\BuildDependencies\bin\json-rpc\JsonSchemaBuilder.bat + Generating ServiceDescription.h for JSON-RPC API + Generating ServiceDescription.h for JSON-RPC API + Generating ServiceDescription.h for JSON-RPC API + Generating ServiceDescription.h for JSON-RPC API + CALL ..\BuildDependencies\bin\json-rpc\JsonSchemaBuilder.bat + CALL ..\BuildDependencies\bin\json-rpc\JsonSchemaBuilder.bat + CALL ..\BuildDependencies\bin\json-rpc\JsonSchemaBuilder.bat + %(RelativeDir)..\ServiceDescription.h + %(RelativeDir)..\ServiceDescription.h + %(RelativeDir)..\ServiceDescription.h + %(RelativeDir)..\ServiceDescription.h + + + Document + CALL ..\BuildDependencies\bin\json-rpc\JsonSchemaBuilder.bat + Generating ServiceDescription.h for JSON-RPC API + %(RelativeDir)..\ServiceDescription.h + CALL ..\BuildDependencies\bin\json-rpc\JsonSchemaBuilder.bat + Generating ServiceDescription.h for JSON-RPC API + Generating ServiceDescription.h for JSON-RPC API + Generating ServiceDescription.h for JSON-RPC API + Generating ServiceDescription.h for JSON-RPC API + CALL ..\BuildDependencies\bin\json-rpc\JsonSchemaBuilder.bat + CALL ..\BuildDependencies\bin\json-rpc\JsonSchemaBuilder.bat + CALL ..\BuildDependencies\bin\json-rpc\JsonSchemaBuilder.bat + %(RelativeDir)..\ServiceDescription.h + %(RelativeDir)..\ServiceDescription.h + %(RelativeDir)..\ServiceDescription.h + %(RelativeDir)..\ServiceDescription.h + + + Document + CALL ..\BuildDependencies\bin\json-rpc\JsonSchemaBuilder.bat + Generating ServiceDescription.h for JSON-RPC API + %(RelativeDir)..\ServiceDescription.h + CALL ..\BuildDependencies\bin\json-rpc\JsonSchemaBuilder.bat + Generating ServiceDescription.h for JSON-RPC API + Generating ServiceDescription.h for JSON-RPC API + Generating ServiceDescription.h for JSON-RPC API + Generating ServiceDescription.h for JSON-RPC API + CALL ..\BuildDependencies\bin\json-rpc\JsonSchemaBuilder.bat + CALL ..\BuildDependencies\bin\json-rpc\JsonSchemaBuilder.bat + CALL ..\BuildDependencies\bin\json-rpc\JsonSchemaBuilder.bat + %(RelativeDir)..\ServiceDescription.h + %(RelativeDir)..\ServiceDescription.h + %(RelativeDir)..\ServiceDescription.h + %(RelativeDir)..\ServiceDescription.h + + + CALL ..\BuildDependencies\bin\json-rpc\JsonSchemaBuilder.bat + Generating ServiceDescription.h for JSON-RPC API + %(RelativeDir)..\ServiceDescription.h + CALL ..\BuildDependencies\bin\json-rpc\JsonSchemaBuilder.bat + Generating ServiceDescription.h for JSON-RPC API + Generating ServiceDescription.h for JSON-RPC API + Generating ServiceDescription.h for JSON-RPC API + Generating ServiceDescription.h for JSON-RPC API + CALL ..\BuildDependencies\bin\json-rpc\JsonSchemaBuilder.bat + CALL ..\BuildDependencies\bin\json-rpc\JsonSchemaBuilder.bat + CALL ..\BuildDependencies\bin\json-rpc\JsonSchemaBuilder.bat + %(RelativeDir)..\ServiceDescription.h + %(RelativeDir)..\ServiceDescription.h + %(RelativeDir)..\ServiceDescription.h + %(RelativeDir)..\ServiceDescription.h + diff --git a/project/VS2010Express/XBMC.vcxproj.filters b/project/VS2010Express/XBMC.vcxproj.filters index b536eb3bb1..49d367057d 100644 --- a/project/VS2010Express/XBMC.vcxproj.filters +++ b/project/VS2010Express/XBMC.vcxproj.filters @@ -313,6 +313,9 @@ {4de9ae04-448d-4ebe-bde5-5ec2a61270c0} + + {e04e47ca-d34d-41e7-aaea-5f18cd802cd9} + @@ -6117,6 +6120,21 @@ interfaces\swig + + interfaces\json-rpc\schema + + + interfaces\json-rpc\schema + + + interfaces\json-rpc\schema + + + interfaces\json-rpc\schema + + + interfaces\json-rpc\schema + -- cgit v1.2.3