summaryrefslogtreecommitdiff
path: root/legacy/eobj
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2012-04-16 15:27:32 +0000
committerTom Hacohen <tom@stosb.com>2012-04-16 15:27:32 +0000
commit7bcda618a2e8f723c61778b2eda4883d6c4f6319 (patch)
tree9d21e8d6dd25616082d601b05e7099a7359c1b7e /legacy/eobj
parent8c40b3de26936a8f6c641f4def043b9e8d0b2935 (diff)
Eobj: Add pkg-config file and start installing stuff.
SVN revision: 70233
Diffstat (limited to 'legacy/eobj')
-rw-r--r--legacy/eobj/CMakeLists.txt9
-rw-r--r--legacy/eobj/eobj.pc.in13
-rw-r--r--legacy/eobj/lib/CMakeLists.txt4
3 files changed, 26 insertions, 0 deletions
diff --git a/legacy/eobj/CMakeLists.txt b/legacy/eobj/CMakeLists.txt
index 3a9fd4b1dd..57d241cf28 100644
--- a/legacy/eobj/CMakeLists.txt
+++ b/legacy/eobj/CMakeLists.txt
@@ -50,3 +50,12 @@ add_subdirectory(examples/composite_objects)
50add_subdirectory(tests EXCLUDE_FROM_ALL) 50add_subdirectory(tests EXCLUDE_FROM_ALL)
51 51
52add_subdirectory(doc) 52add_subdirectory(doc)
53
54# PKGCONFIG file.
55CONFIGURE_FILE(
56 "${PROJECT_SOURCE_DIR}/eobj.pc.in"
57 "${PROJECT_BINARY_DIR}/eobj.pc"
58 )
59
60INSTALL(FILES "${PROJECT_BINARY_DIR}/eobj.pc"
61 DESTINATION "lib/pkgconfig")
diff --git a/legacy/eobj/eobj.pc.in b/legacy/eobj/eobj.pc.in
new file mode 100644
index 0000000000..09759ecde3
--- /dev/null
+++ b/legacy/eobj/eobj.pc.in
@@ -0,0 +1,13 @@
1prefix=@CMAKE_INSTALL_PREFIX@
2exec_prefix=${prefix}
3libdir=${exec_prefix}/lib
4includedir=${prefix}/include
5
6Name: Eobj
7Description: EFL's generic object system library.
8Version: @EOBJ_VERSION@
9Libs: -L${libdir} -leobj
10Libs.private:
11Cflags: -I${includedir}/eobj-@EOBJ_VERSION_MAJOR@
12
13~
diff --git a/legacy/eobj/lib/CMakeLists.txt b/legacy/eobj/lib/CMakeLists.txt
index 37ecd6d2c9..7d73fee5f1 100644
--- a/legacy/eobj/lib/CMakeLists.txt
+++ b/legacy/eobj/lib/CMakeLists.txt
@@ -17,3 +17,7 @@ set_target_properties(eobj PROPERTIES
17set_target_properties(eobj PROPERTIES 17set_target_properties(eobj PROPERTIES
18 VERSION ${EOBJ_VERSION} SOVERSION ${EOBJ_VERSION_MAJOR}) 18 VERSION ${EOBJ_VERSION} SOVERSION ${EOBJ_VERSION_MAJOR})
19set_target_properties(eobj PROPERTIES OUTPUT_NAME "eobj") 19set_target_properties(eobj PROPERTIES OUTPUT_NAME "eobj")
20
21INSTALL(TARGETS eobj DESTINATION "lib")
22INSTALL(FILES "${CMAKE_CURRENT_SOURCE_DIR}/Eobj.h"
23 DESTINATION "include")