summaryrefslogtreecommitdiff
path: root/expat/CMake.README
diff options
context:
space:
mode:
authorChris Liddell <chris.liddell@artifex.com>2021-12-07 11:46:44 +0000
committerChris Liddell <chris.liddell@artifex.com>2021-12-07 12:13:37 +0000
commit488d8088e7e331076e7b5d0312d491f792d43f3b (patch)
tree50147fe958d578148706d56b8378d21579c1c527 /expat/CMake.README
parentb20b66200381b4e348931b97187ef7b93ab4e655 (diff)
downloadghostpdl-488d8088e7e331076e7b5d0312d491f792d43f3b.tar.gz
Update expat to 2.4.1
Diffstat (limited to 'expat/CMake.README')
-rwxr-xr-x[-rw-r--r--]expat/CMake.README32
1 files changed, 16 insertions, 16 deletions
diff --git a/expat/CMake.README b/expat/CMake.README
index ce1d50882..0340c680d 100644..100755
--- a/expat/CMake.README
+++ b/expat/CMake.README
@@ -1,27 +1,27 @@
== How to build expat with cmake (experimental) ==
-The cmake based buildsystem for expat works on Windows (cygwin, mingw, Visual
+The cmake based buildsystem for expat works on Windows (cygwin, mingw, Visual
Studio) and should work on all other platform cmake supports.
-Assuming ~/expat-2.2.9 is the source directory of expat, add a subdirectory
+Assuming ~/expat-2.2.0 is the source directory of expat, add a subdirectory
build and change into that directory:
-~/expat-2.2.9$ mkdir build && cd build
-~/expat-2.2.9/build$
+~/expat-2.2.0$ mkdir build && cd build
+~/expat-2.2.0/build$
-From that directory, call cmake first, then call make, make test and
+From that directory, call cmake first, then call make, make test and
make install in the usual way:
-~/expat-2.2.9/build$ cmake ..
+~/expat-2.2.0/build$ cmake ..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
....
-- Configuring done
-- Generating done
--- Build files have been written to: /home/patrick/expat-2.2.9/build
+-- Build files have been written to: /home/patrick/expat-2.2.0/build
-If you want to specify the install location for your files, append
+If you want to specify the install location for your files, append
-DCMAKE_INSTALL_PREFIX=/your/install/path to the cmake call.
-~/expat-2.2.9/build$ make && make test && make install
+~/expat-2.2.0/build$ make && make test && make install
Scanning dependencies of target expat
[ 5%] Building C object CMakeFiles/expat.dir/lib/xmlparse.c.o
[ 11%] Building C object CMakeFiles/expat.dir/lib/xmlrole.c.o
@@ -30,13 +30,13 @@ Scanning dependencies of target expat
-- Installing: /usr/local/bin/xmlwf
-- Installing: /usr/local/share/man/man1/xmlwf.1
-For Windows builds, you must make sure to call cmake from an environment where
-your compiler is reachable, that means either you call it from the
+For Windows builds, you must make sure to call cmake from an environment where
+your compiler is reachable, that means either you call it from the
Visual Studio Command Prompt or when using mingw, you must open a cmd.exe and
-make sure that gcc can be called. On Windows, you also might want to specify a
+make sure that gcc can be called. On Windows, you also might want to specify a
special Generator for CMake:
-for Visual Studio builds do:
-cmake .. -G "Visual Studio 15 2017" && msbuild /m expat.sln
-for mingw builds do:
-cmake .. -G "MinGW Makefiles" -DCMAKE_INSTALL_PREFIX=D:\expat-install
+for Visual Studio builds do:
+cmake .. -G "Visual Studio 10" && vcexpress expat.sln
+for mingw builds do:
+cmake .. -G "MinGW Makefiles" -DCMAKE_INSTALL_PREFIX=D:\expat-install
&& gmake && gmake install