summaryrefslogtreecommitdiff
path: root/win32/vs9/soup-install.vspropsin
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2017-03-09 17:16:17 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2017-03-09 17:16:17 +0800
commitb627c10c88e7aaefc869a1c1f6d700c339d044ef (patch)
tree2b71dbfb5ccc7ab6c0f6d04d0334a3e18fe75c8a /win32/vs9/soup-install.vspropsin
parent6e1b26b78510e52b5546feb37f1fa8c1b324e7ab (diff)
downloadlibsoup-b627c10c88e7aaefc869a1c1f6d700c339d044ef.tar.gz
Visual Studio builds: Generate .pc files upon "install"
This generates the .pc files for libsoup upon completion of the build process, so that one will have ready-to-use .pc files for the package.
Diffstat (limited to 'win32/vs9/soup-install.vspropsin')
-rw-r--r--win32/vs9/soup-install.vspropsin8
1 files changed, 7 insertions, 1 deletions
diff --git a/win32/vs9/soup-install.vspropsin b/win32/vs9/soup-install.vspropsin
index 2052441c..5948d775 100644
--- a/win32/vs9/soup-install.vspropsin
+++ b/win32/vs9/soup-install.vspropsin
@@ -23,6 +23,8 @@ copy $(SolutionDir)\$(ConfigurationName)\$(PlatformName)\bin\simple-proxy.pdb $(
mkdir $(CopyDir)\lib&#x0D;&#x0A;
copy $(SolutionDir)\$(ConfigurationName)\$(PlatformName)\bin\soup-$(ApiVersion).lib $(CopyDir)\lib&#x0D;&#x0A;
copy $(SolutionDir)\$(ConfigurationName)\$(PlatformName)\bin\soup-gnome-$(ApiVersion).lib $(CopyDir)\lib&#x0D;&#x0A;
+copy ..\libsoup-$(ApiVersion).pc $(CopyDir)\lib\pkgconfig&#x0D;&#x0A;
+copy ..\libsoup-gnome-$(ApiVersion).pc $(CopyDir)\lib\pkgconfig&#x0D;&#x0A;
mkdir $(CopyDir)\include\libsoup-$(ApiVersion)\libsoup&#x0D;&#x0A;
#include "soup.headers"
@@ -30,5 +32,9 @@ mkdir $(CopyDir)\include\libsoup-$(ApiVersion)\libsoup&#x0D;&#x0A;
mkdir $(CopyDir)\include\libsoup-gnome-$(ApiVersion)\libsoup&#x0D;&#x0A;
#include "soup-gnome.headers"
"
- />
+ />
+ <UserMacro
+ Name="SoupGenPC"
+ Value="(if not exist $(CopyDir)\lib\pkgconfig mkdir $(CopyDir)\lib\pkgconfig) &amp; ($(PythonPath)\python.exe ..\souppc.py --prefix=$(CopyDir) --version=$(SoupMajorVersion).$(SoupMinorVersion).$(SoupMicroVersion))"
+ />
</VisualStudioPropertySheet>