summaryrefslogtreecommitdiffstats
path: root/gmcop/CMakeLists.txt
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-10-06 15:27:35 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-10-06 15:27:35 +0000
commit4388c9f844be237080c30661997d5d56b2aecb5a (patch)
tree4a3f01ae3b8cebb7647bc7f050f8c4a2f57c633f /gmcop/CMakeLists.txt
parent435ac45427c2ab7517ed2d1deeed2be983679131 (diff)
downloadarts-4388c9f844be237080c30661997d5d56b2aecb5a.tar.gz
arts-4388c9f844be237080c30661997d5d56b2aecb5a.zip
[dependencies/arts] restyle and migrate to tde_ macrossoundserver/CMakeLists.txt
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/arts@1183226 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'gmcop/CMakeLists.txt')
-rw-r--r--gmcop/CMakeLists.txt31
1 files changed, 15 insertions, 16 deletions
diff --git a/gmcop/CMakeLists.txt b/gmcop/CMakeLists.txt
index f49c194..84b9c75 100644
--- a/gmcop/CMakeLists.txt
+++ b/gmcop/CMakeLists.txt
@@ -9,26 +9,25 @@
#
#################################################
-set( gmcop_INCS
- giomanager.h
-)
-
-set( gmcop_SRCS
- giomanager.cc
-)
-
include_directories(
- ${CMAKE_BINARY_DIR}/mcop # for arts_export.h
- ${CMAKE_SOURCE_DIR}/mcop # for iomanager.h, etc.
+ ${CMAKE_BINARY_DIR}/mcop
+ ${CMAKE_SOURCE_DIR}/mcop
${GLIB2_INCLUDE_DIRS}
)
-add_library( gmcop SHARED ${gmcop_SRCS} )
-set_target_properties( gmcop PROPERTIES VERSION 1.0 SOVERSION 1 )
-target_link_libraries( gmcop mcop ${GLIB2_LIBRARIES} )
+##### headers ###################################
-##### install ###################################
+install( FILES
+ giomanager.h
+ DESTINATION ${INCLUDE_INSTALL_DIR} )
-install( FILES ${gmcop_INCS} DESTINATION ${INCLUDE_INSTALL_DIR} )
-install(TARGETS gmcop LIBRARY DESTINATION ${LIB_INSTALL_DIR} ) \ No newline at end of file
+
+##### gmcop (shared lib) ########################
+
+tde_add_library( gmcop SHARED
+ SOURCES giomanager.cc
+ VERSION 1.0.0
+ LINK mcop-shared ${GLIB2_LIBRARIES}
+ DESTINATION ${LIB_INSTALL_DIR}
+)