summaryrefslogtreecommitdiffstats
path: root/xmlserializer
diff options
context:
space:
mode:
authorDavid Wagner <david.wagner@intel.com>2014-02-17 17:53:11 +0100
committerDavid Wagner <david.wagner@intel.com>2014-02-17 17:58:31 +0100
commit4df5f7eea545fd812f8caad4eefbfa3435516000 (patch)
tree982d748651158b51217f4f2881bcba5c99b08819 /xmlserializer
parent3fac6d8f4e0d65a02a478dd32947c74b82b1b7b5 (diff)
downloadexternal_parameter-framework-4df5f7eea545fd812f8caad4eefbfa3435516000.zip
external_parameter-framework-4df5f7eea545fd812f8caad4eefbfa3435516000.tar.gz
external_parameter-framework-4df5f7eea545fd812f8caad4eefbfa3435516000.tar.bz2
CMake: add installation instruction
Run "cmake -DCMAKE_INSTALL_PREFIX=/path/to/install ." for choosing a custom prefix (optional: if it is not specified, a default directory will be chosen). Run "make install" for installing all generated files. Signed-off-by: David Wagner <david.wagner@intel.com>
Diffstat (limited to 'xmlserializer')
-rw-r--r--xmlserializer/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmlserializer/CMakeLists.txt b/xmlserializer/CMakeLists.txt
index 052ca2e..c4358b1 100644
--- a/xmlserializer/CMakeLists.txt
+++ b/xmlserializer/CMakeLists.txt
@@ -14,3 +14,5 @@ include(FindLibXml2)
# TODO: check for the "XInclude" feature in libxml2
include_directories(${LIBXML2_INCLUDE_DIR})
target_link_libraries(xmlserializer ${LIBXML2_LIBRARIES})
+
+install(TARGETS xmlserializer LIBRARY DESTINATION lib)