pugixml-1.15

Introduction to pugixml

The pugixml package provides a light-weight XML parser for C++.

pugixml Dependencies

Required

CMake

Installation of pugixml

Install pugixml by running the following commands:

mkdir build &&
cd    build &&

cmake -D CMAKE_INSTALL_PREFIX=/usr   \
      -D CMAKE_BUILD_TYPE=Release    \
      -D CMAKE_SKIP_INSTALL_RPATH=ON \
      -D BUILD_SHARED_LIBS=ON        \
      -G Ninja .. &&

ninja

Now, as the root user:

ninja install

Command Explanations

-D CMAKE_SKIP_INSTALL_RPATH=ON: Denne bryteren gjør at cmake fjerner hardkodede biblioteksøk stier (rpath) når du installerer en binær kjørbar fil eller et delt bibliotek. Denne pakken trenger ikke rpath når den er installert på standard plassering, og rpath kan noen ganger forårsake uønskede effekter eller til og med sikkerhetsproblemer.

-D BUILD_SHARED_LIBS=ON: This parameter forces the build system to build shared libraries instead of static ones.

Contents

Installed Programs: None
Installed Libraries: libpugixml
Installed Directories: /usr/lib/cmake/pugixml

Short Descriptions

libpugixml

provides functions that can help parse XML content