diff options
Diffstat (limited to 'mcopidl/CMakeLists.txt')
-rw-r--r-- | mcopidl/CMakeLists.txt | 24 |
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} +) |