This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

cairo: Install headers into subdir

Needed for new pango.
  • Loading branch information...
TingPing authored and Arnavion committed Sep 7, 2016
1 parent 3fe95a5 commit db78498b20e36d4e77ddd04fe8431259a1255e4d
Showing with 5 additions and 3 deletions.
  1. +2 −1 cairo/mod.md
  2. +3 −2 cairo/msvc/vc12/cairo.props
View
@@ -1,5 +1,6 @@
* Download [cairo 1.14.6](http://cairographics.org/releases/cairo-1.14.6.tar.xz)
* Download [VS solution](https://wiki.gnome.org/Projects/GTK%2B/Win32/MSVCCompilationOfGTKStack?action=AttachFile&do=get&target=cairo-vsprojects.zip)
* Copy `msvc\vs10` to `msvc\vc12`
* In `msvc\vc12\cairo.props`, replace:
* `<CairoEtcInstallRoot>..\..\..\vs10\$(Platform)</CairoEtcInstallRoot>` with
`<CairoEtcInstallRoot>..\..\..\..\..\gtk\$(Platform)</CairoEtcInstallRoot>`
@@ -16,7 +17,7 @@
* `libpng15.lib` with
`libpng16.lib`
* Remove
`copy $(SolutionDir)$(Configuration)\$(Platform)\include\*.h $(CopyDir)\include\cairo`
`copy $(SolutionDir)$(Configuration)\$(Platform)\include\*.h $(CopyDir)\include`
* Add to `CairoDoInstall`:
`copy $(SolutionDir)$(Configuration)\$(Platform)\bin\*.pdb $(CopyDir)\bin`
* Add `src\cairo-path-stroke-traps.c` to the `cairo` project
@@ -158,9 +158,10 @@ copy $(SolutionDir)$(Configuration)\$(Platform)\bin\*.dll $(CopyDir)\bin
copy $(SolutionDir)$(Configuration)\$(Platform)\bin\*.pdb $(CopyDir)\bin
mkdir $(CopyDir)\include
copy $(SolutionDir)$(Configuration)\$(Platform)\include\*.h $(CopyDir)\include
mkdir $(CopyDir)\include\cairo
copy $(SolutionDir)$(Configuration)\$(Platform)\include\*.h $(CopyDir)\include\cairo
mkdir $(CopyDir)\lib

0 comments on commit db78498

Please sign in to comment.