summaryrefslogtreecommitdiffstats
path: root/mcopidl
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 /mcopidl
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 'mcopidl')
-rw-r--r--mcopidl/CMakeLists.txt24
1 files changed, 10 insertions, 14 deletions
diff --git a/mcopidl/CMakeLists.txt b/mcopidl/CMakeLists.txt
index ea87893..038e2b0 100644
--- a/mcopidl/CMakeLists.txt
+++ b/mcopidl/CMakeLists.txt
@@ -9,26 +9,22 @@
#
#################################################
-set( mcopidl_SRCS
- mcopidl.cc
- yacc.cc
- scanner.cc
- namespace.cc
-)
-
include_directories(
${CMAKE_BINARY_DIR}/mcop # for arts_export.h
${CMAKE_SOURCE_DIR}/mcop # for common.h
)
-#link_directories(
-# ${CMAKE_BINARY_DIR}/mcop
-#)
-add_executable( mcopidl ${mcopidl_SRCS} )
-target_link_libraries( mcopidl mcop )
+##### mcopidl ###################################
+set( target mcopidl )
-##### install ###################################
+set( ${target}_SRCS
+ mcopidl.cc yacc.cc scanner.cc namespace.cc
+)
-install( TARGETS mcopidl DESTINATION ${BIN_INSTALL_DIR} )
+tde_add_executable( ${target}
+ SOURCES ${${target}_SRCS}
+ LINK mcop-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)