summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorpeterbud <peterbudai@hotmail.com>2016-09-12 21:44:20 +0200
committerpeterbud <peterbudai@hotmail.com>2016-09-12 21:44:20 +0200
commit6d69483bbc6f2503094643728b2492ac9b26c6f0 (patch)
tree2b9ee6593592f2a00447359309ddba6adf9b6316 /misc
parentdfe9360cdf038c0ecf53d45bfc75cf8fd34604b8 (diff)
Adding PKG-CONFIG support
Also creating a separate install directory under INCLUDE and LIB directories
Diffstat (limited to 'misc')
-rw-r--r--misc/cmake/pugixml.pc11
1 files changed, 11 insertions, 0 deletions
diff --git a/misc/cmake/pugixml.pc b/misc/cmake/pugixml.pc
new file mode 100644
index 0000000..f9fe479
--- /dev/null
+++ b/misc/cmake/pugixml.pc
@@ -0,0 +1,11 @@
+prefix=@CMAKE_INSTALL_PREFIX@
+exec_prefix=${prefix}
+includedir=${prefix}/@INSTALL_INCLUDE_DIR@
+libdir=${exec_prefix}/@INSTALL_LIB_DIR@
+
+Name: pugixml
+Description: Light-weight, simple and fast XML parser for C++ with XPath support.
+URL: http://pugixml.org/
+Version: @PUGIXML_VERSION_STRING@
+Cflags: -I${includedir}/pugixml-@PUGIXML_VERSION_STRING@
+Libs: -L${libdir}/pugixml-@PUGIXML_VERSION_STRING@ -lpugixml \ No newline at end of file