diff options
author | samelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-10-06 15:27:35 +0000 |
---|---|---|
committer | samelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-10-06 15:27:35 +0000 |
commit | 4388c9f844be237080c30661997d5d56b2aecb5a (patch) | |
tree | 4a3f01ae3b8cebb7647bc7f050f8c4a2f57c633f /qtmcop | |
parent | 435ac45427c2ab7517ed2d1deeed2be983679131 (diff) | |
download | arts-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 'qtmcop')
-rw-r--r-- | qtmcop/CMakeLists.txt | 40 |
1 files changed, 19 insertions, 21 deletions
diff --git a/qtmcop/CMakeLists.txt b/qtmcop/CMakeLists.txt index c972153..dbb73bf 100644 --- a/qtmcop/CMakeLists.txt +++ b/qtmcop/CMakeLists.txt @@ -15,36 +15,34 @@ add_definitions( include_directories( ${TQT_INCLUDE_DIRS} - ${CMAKE_CURRENT_BINARY_DIR} # for qiomanager_p.moc - ${CMAKE_BINARY_DIR}/mcop # for arts_export.h - ${CMAKE_SOURCE_DIR}/mcop # for iomanager.h, etc. + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR}/mcop + ${CMAKE_SOURCE_DIR}/mcop ) link_directories( ${TQT_LIBRARY_DIRS} ) -add_custom_command( - OUTPUT qiomanager_p.moc - COMMAND moc-tqt ARGS ${QT_MOC_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/qiomanager_p.h qiomanager_p.moc - DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/qiomanager_p.h -) -set( qtmcop_INCS - qiomanager.h -) +##### headers ################################### -set( qtmcop_SRCS - qiomanager.cc - qiomanager_p.moc -) +install( FILES + qiomanager.h + DESTINATION ${INCLUDE_INSTALL_DIR} ) -add_library( qtmcop SHARED ${qtmcop_SRCS} ) -set_target_properties( qtmcop PROPERTIES VERSION 1.0 SOVERSION 1 ) -target_link_libraries( qtmcop ${TQT_LIBRARIES} mcop ) +##### qtmcop ############################## -##### install ################################### +add_custom_command( + OUTPUT qiomanager_p.moc + COMMAND tmoc ${CMAKE_CURRENT_SOURCE_DIR}/qiomanager_p.h -o qiomanager_p.moc + DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/qiomanager_p.h +) -install( FILES ${qtmcop_INCS} DESTINATION ${INCLUDE_INSTALL_DIR} ) -install(TARGETS qtmcop LIBRARY DESTINATION ${LIB_INSTALL_DIR} )
\ No newline at end of file +tde_add_library( qtmcop SHARED + SOURCES qiomanager.cc qiomanager_p.moc + VERSION 1.0.0 + LINK mcop-shared ${TQT_LIBRARIES} + DESTINATION ${LIB_INSTALL_DIR} +) |