This repository was archived by the owner on Nov 12, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathINSTALL.txt
More file actions
71 lines (51 loc) · 1.67 KB
/
INSTALL.txt
File metadata and controls
71 lines (51 loc) · 1.67 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
JagPDF Installation
=====================
This file is a shortened version of the detailed installation instructions
provided at <http://jagpdf.org/doc/jagpdf/installation.htm>.
Installation from Source
========================
Currently supported platforms are x86/Linux and x86/Windows. More recent
versions of GCC and MSVC are supported.
Prerequisites
-------------
Required: CMake, FreeType, Boost, ICU, zlib, libpng.
Optional: Python, SWIG, GCC-XML, Java JDK.
Installation
------------
JagPDF uses the CMake build system (http://www.cmake.org).
Linux:
tar -xjf jagpdf-M.m.p.src.tar.bz2
mkdir jagpdf-M.m.p-build
cd jagpdf-M.m.p-build
cmake [options] ../jagpdf-M.m.p
make
make install
Windows:
unzip jagpdf-M.m.p.src.zip
mkdir jagpdf-M.m.p-build
cd jagpdf-M.m.p-build
/path/to/visual-studio/VC/bin/vcvars32.bat
cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release [opts] ../jagpdf-M.m.p
nmake
nmake install
Options
-------
Languages:
BUILD_C build JagPDF for C/C++ [ON]
BUILD_PYTHON build JagPDF for Python [ON]
BUILD_JAVA build JagPDF for Java [ON]
Installation:
CMAKE_INSTALL_PREFIX installation prefix
INCLUDE_INSTALL_DIR where to install JagPDF C/C++ include files
LIB_INSTALL_DIR where to install JagPDF C/C++ and Java libraries
Configuration:
JAVA_HOME path to Java JDK
PYTHON_HOME path to Python
Miscellaneous:
CMAKE_CXX_COMPILER C++ compiler
CMAKE_C_COMPILER C compiler
CMAKE_BUILD_TYPE build type
Testing
-------
make unit-tests # JagPDF internals
make apitests # public API tests