diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2017-03-09 17:16:17 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2017-03-09 17:16:17 +0800 |
commit | b627c10c88e7aaefc869a1c1f6d700c339d044ef (patch) | |
tree | 2b71dbfb5ccc7ab6c0f6d04d0334a3e18fe75c8a /win32/vs9/soup-install.vspropsin | |
parent | 6e1b26b78510e52b5546feb37f1fa8c1b324e7ab (diff) | |
download | libsoup-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.vspropsin | 8 |
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
 copy $(SolutionDir)\$(ConfigurationName)\$(PlatformName)\bin\soup-$(ApiVersion).lib $(CopyDir)\lib
 copy $(SolutionDir)\$(ConfigurationName)\$(PlatformName)\bin\soup-gnome-$(ApiVersion).lib $(CopyDir)\lib
 +copy ..\libsoup-$(ApiVersion).pc $(CopyDir)\lib\pkgconfig
 +copy ..\libsoup-gnome-$(ApiVersion).pc $(CopyDir)\lib\pkgconfig
 mkdir $(CopyDir)\include\libsoup-$(ApiVersion)\libsoup
 #include "soup.headers" @@ -30,5 +32,9 @@ mkdir $(CopyDir)\include\libsoup-$(ApiVersion)\libsoup
 mkdir $(CopyDir)\include\libsoup-gnome-$(ApiVersion)\libsoup
 #include "soup-gnome.headers" " - /> + /> + <UserMacro + Name="SoupGenPC" + Value="(if not exist $(CopyDir)\lib\pkgconfig mkdir $(CopyDir)\lib\pkgconfig) & ($(PythonPath)\python.exe ..\souppc.py --prefix=$(CopyDir) --version=$(SoupMajorVersion).$(SoupMinorVersion).$(SoupMicroVersion))" + /> </VisualStudioPropertySheet> |