summaryrefslogtreecommitdiff
path: root/Build/source/libs/gd/libgd-src/windows/readme.md
diff options
context:
space:
mode:
authorAkira Kakuto <kakuto@fuk.kindai.ac.jp>2017-08-30 23:16:19 +0000
committerAkira Kakuto <kakuto@fuk.kindai.ac.jp>2017-08-30 23:16:19 +0000
commit790b3aac7676a49f59a434ea136eb64191a98a2f (patch)
treebc9cafa0ed0d5777700b10be1dbef196ea712a87 /Build/source/libs/gd/libgd-src/windows/readme.md
parentda65270cdbb449c68e6e9f06dd8089b64275a2d3 (diff)
libgd 2.2.5
git-svn-id: svn://tug.org/texlive/trunk@45180 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/gd/libgd-src/windows/readme.md')
-rw-r--r--Build/source/libs/gd/libgd-src/windows/readme.md64
1 files changed, 53 insertions, 11 deletions
diff --git a/Build/source/libs/gd/libgd-src/windows/readme.md b/Build/source/libs/gd/libgd-src/windows/readme.md
index 8753b704723..cd95b790331 100644
--- a/Build/source/libs/gd/libgd-src/windows/readme.md
+++ b/Build/source/libs/gd/libgd-src/windows/readme.md
@@ -1,11 +1,53 @@
-# Building on Windows with Visual Studio 2013
-
-Open the VS2013 x64 Native Tools Command Prompt. 2012 will *not* work.
-Change to the gd-libgd folder.
-git clone https://github.com/imazen/gd-win-dependencies into the folder.
-Run
-nmake /f windows/Makefile.vc all
-nmake /f windows/Makefile.vc check
-
-Before rebuilding, run:
-nmake /f windows/Makefile.vc clean \ No newline at end of file
+# Building on Windows with Visual Studio 2015
+
+* Get the required dependencies from
+ http://windows.php.net/downloads/php-sdk/deps/vc14/ and
+ http://windows.php.net/downloads/pecl/deps/, respectively. Choose the x86 or
+ x64 packages depending on your needs.
+
+ * freetype
+ * libiconv
+ * libjpeg
+ * libpng
+ * libtiff
+ * libwebp
+ * libxpm
+ * zlib
+
+* Unpack all dependency packages into the same folder.
+
+* Open the VS2015 x86 or x64 Native Tools Command Prompt.
+
+* Set the environment variable `WITH_DEVEL` to the path where you have unpacked
+ the dependencies. `WITH_DEVEL` defaults to `..\deps`.
+
+* If you want a debug build, do
+````
+set DEBUG=1
+````
+
+* `cd` into the libgd source folder.
+
+* To build the libraries, do:
+```
+nmake /f windows\Makefile.vc
+```
+
+* To build and run the tests, do:
+````
+nmake /f windows\Makefile.vc check
+````
+
+* To build the executable programs, do:
+````
+nmake /f windows\Makefile.vc build_progs
+````
+
+* After a successful build, you find the libraries and test executables in
+ `..\gdbuild`. You can change the build folder by setting the environment
+ variable `WITH_BUILD` to the desired path.
+
+* Before rebuilding, you may have to run:
+```
+nmake /f windows\Makefile.vc clean
+```