Compile-time options and dependencies

At the cmake step, you can customize a few things by using cmake defines. The generic syntax is:

cd $(mktemp -d) # some empty(!) build directory
cmake /path/to/dspdfviewer/source -DSomeOption=ON -DSomethingElse=OFF
make # builds the app
cmake . -DSomeOption=OFF # change from inside the build dir
make # rebuild with changed option

Boolean options in cmake are specified with -DSomeOpt=ON and OFF, respectively. For string-type options you can specify an arbitrary string, just make sure to correctly escape it for your shell.

Options for v1.15

By default, you will need the following external software:

The following cmake options manipulate the compilation and dependency list:


Historical options (no longer present in current version)

back to compile from source