diff options
author | Gernot Wirschal <Gernot.Wirschal@bmw.de> | 2014-01-27 13:33:24 +0100 |
---|---|---|
committer | Gernot Wirschal <Gernot.Wirschal@bmw.de> | 2014-01-27 13:54:41 +0100 |
commit | c699a742ec203fd30b2b29444aeeac87619e899c (patch) | |
tree | 65cbed6d25d6fb3cf55805d26d919376248e9a01 /src/CommonAPI | |
parent | 3c8fbdddd1c480cb699e25f3637ff91caae0c271 (diff) | |
download | genivi-common-api-runtime-c699a742ec203fd30b2b29444aeeac87619e899c.tar.gz |
[CommonAPI lib] first try to build with cmake and create rpm package for GPT
Diffstat (limited to 'src/CommonAPI')
-rw-r--r-- | src/CommonAPI/CMakeLists.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/CommonAPI/CMakeLists.txt b/src/CommonAPI/CMakeLists.txt new file mode 100644 index 0000000..73d1046 --- /dev/null +++ b/src/CommonAPI/CMakeLists.txt @@ -0,0 +1,13 @@ +cmake_minimum_required (VERSION 2.8.1) +FIND_PACKAGE(PkgConfig) +set(CAPI_LIB_SRCS *.cpp ) +add_library(CommonAPI ${shm_LIB_SRCS}) +target_link_libraries(CommonAPI ${EXPAT_LIBRARIES}) +set_target_properties(CommonAPI PROPERTIES VERSION 3.0.0 SOVERSION 0 LINKER_LANGUAGE C) + +set(CAPI_DEV_INCL *.h ) + +install(TARGETS CommonAPI + LIBRARY DESTINATION /usr/lib + ARCHIVE DESTINATION lib/static + COMPONENT base) |