[Spice-devel] [PATCH win-qxl 1/2] build-sys: use spice-protocol submodule

Marc-André Lureau marcandre.lureau at gmail.com
Fri May 11 09:36:43 PDT 2012


---
 .gitmodules    |    3 +++
 build.bat      |    5 ++++-
 spice-protocol |    1 +
 3 files changed, 8 insertions(+), 1 deletion(-)
 create mode 100644 .gitmodules
 create mode 160000 spice-protocol

diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 0000000..f946a4d
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,3 @@
+[submodule "spice-protocol"]
+	path = spice-protocol
+	url = git://git.freedesktop.org/git/spice/spice-protocol.git
diff --git a/build.bat b/build.bat
index bd94cea..204756a 100755
--- a/build.bat
+++ b/build.bat
@@ -12,6 +12,9 @@ if not DEFINED BUILD_ALT_DIR (
  echo BUILD_ALT_DIR not defined. Please run in a WinDDK Build Environment.
  goto exit
 )
+if not DEFINED SPICE_COMMON_DIR (
+ set SPICE_COMMON_DIR=%CD%\spice-protocol
+)
 
 set TARGET=install_%BUILD_ALT_DIR%
 echo TARGET=%TARGET%
@@ -39,4 +42,4 @@ if exist %DEST% (
  xcopy /s /y %TARGET% %DEST%\%TARGET%
 )
 
-:exit
\ No newline at end of file
+:exit
diff --git a/spice-protocol b/spice-protocol
new file mode 160000
index 0000000..0d01de3
--- /dev/null
+++ b/spice-protocol
@@ -0,0 +1 @@
+Subproject commit 0d01de3108853e1f7ea026fdbc2feb9183d65dc2
-- 
1.7.10.1



More information about the Spice-devel mailing list