summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2016-01-04 16:45:55 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2016-01-04 16:45:55 +0800
commit2b4f8e004327407fe23a7f7322031d554361f098 (patch)
tree94f4a4ead479b33cd73b3335196b58c1b6778c31
parentbbbf8e9bc016b1be1bbc0b21aa653f9451a5d944 (diff)
downloadgobject-introspection-2b4f8e004327407fe23a7f7322031d554361f098.tar.gz
MSVC builds: "Install" some of the test sources
Some of these test sources will be used during the test of PyGObject/PyGI, so "install" them.
-rw-r--r--build/win32/vs10/gi-install.propsin6
-rw-r--r--build/win32/vs9/gi-install.vspropsin5
2 files changed, 11 insertions, 0 deletions
diff --git a/build/win32/vs10/gi-install.propsin b/build/win32/vs10/gi-install.propsin
index 3a168dc9..16a2a34a 100644
--- a/build/win32/vs10/gi-install.propsin
+++ b/build/win32/vs10/gi-install.propsin
@@ -26,6 +26,12 @@ mkdir $(CopyDir)\include\gobject-introspection-1.0\girepository
#include "girepository.vs10.headers"
#include "giscanner.vs10.scripts"
+mkdir $(CopyDir)\share\gobject-introspection-1.0\tests
+copy ..\..\..\tests\gimarshallingtests.c $(CopyDir)\share\gobject-introspection-1.0\tests
+copy ..\..\..\tests\gimarshallingtests.h $(CopyDir)\share\gobject-introspection-1.0\tests
+copy ..\..\..\tests\scanner\regress.c $(CopyDir)\share\gobject-introspection-1.0\tests
+copy ..\..\..\tests\scanner\regress.h $(CopyDir)\share\gobject-introspection-1.0\tests
+
copy $(BinDir)\_giscanner.pyd $(CopyDir)\lib\gobject-introspection\giscanner
copy $(BinDir)\_giscanner.pdb $(CopyDir)\lib\gobject-introspection\giscanner
diff --git a/build/win32/vs9/gi-install.vspropsin b/build/win32/vs9/gi-install.vspropsin
index b1d279a2..2f81e423 100644
--- a/build/win32/vs9/gi-install.vspropsin
+++ b/build/win32/vs9/gi-install.vspropsin
@@ -27,6 +27,11 @@ mkdir $(CopyDir)\include\gobject-introspection-1.0\girepository&#x0D;&#x0A;
#include "girepository.headers"
#include "giscanner.scripts"
+mkdir $(CopyDir)\share\gobject-introspection-1.0\tests&#x0D;&#x0A;
+copy ..\..\..\tests\gimarshallingtests.c $(CopyDir)\share\gobject-introspection-1.0\tests&#x0D;&#x0A;
+copy ..\..\..\tests\gimarshallingtests.h $(CopyDir)\share\gobject-introspection-1.0\tests&#x0D;&#x0A;
+copy ..\..\..\tests\scanner\regress.c $(CopyDir)\share\gobject-introspection-1.0\tests&#x0D;&#x0A;
+copy ..\..\..\tests\scanner\regress.h $(CopyDir)\share\gobject-introspection-1.0\tests&#x0D;&#x0A;
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\_giscanner.pyd $(CopyDir)\lib\gobject-introspection\giscanner&#x0D;&#x0A;
copy $(SolutionDir)$(ConfigurationName)\$(PlatformName)\bin\_giscanner.pdb $(CopyDir)\lib\gobject-introspection\giscanner&#x0D;&#x0A;