diff options
Diffstat (limited to 'src/libtdebluez/interfaces/CMakeLists.txt')
-rw-r--r-- | src/libtdebluez/interfaces/CMakeLists.txt | 31 |
1 files changed, 4 insertions, 27 deletions
diff --git a/src/libtdebluez/interfaces/CMakeLists.txt b/src/libtdebluez/interfaces/CMakeLists.txt index 4eba55d..15a6587 100644 --- a/src/libtdebluez/interfaces/CMakeLists.txt +++ b/src/libtdebluez/interfaces/CMakeLists.txt @@ -16,7 +16,6 @@ include_directories( ) set( INTROSPECTIONPATH ${CMAKE_SOURCE_DIR}/src/interfaces ) -set( DBUSXML2QT3_EXECUTABLE dbusxml2qt3 ) set( ObjectManager_HDRS objectmanagerInterface.h objectmanagerProxy.h introspectableInterface.h ) set( ObjectManager_SRCS objectmanagerInterface.cpp objectmanagerProxy.cpp introspectableInterface.cpp) @@ -33,13 +32,6 @@ set( Adapter_SRCS adapter1Interface.cpp adapter1Proxy.cpp gattmanager1Interface. set( Device_HDRS device1Interface.h device1Proxy.h mediacontrol1Interface.h mediacontrol1Proxy.h) set( Device_SRCS device1Interface.cpp device1Proxy.cpp mediacontrol1Interface.cpp mediacontrol1Proxy.cpp ) -#function( install_header fileinput target ) -# install( -# FILES ${CMAKE_CURRENT_BUILD_DIR}/${fileinput} -# DESTINATION ${target} -# ) -#endfunction( ) - ##### ObjectManager ######################### add_custom_command( @@ -92,25 +84,10 @@ tde_add_library( bluezinterfaces STATIC_PIC AUTOMOC ##### install headers ################################### - -#file( GLOB _bin_dirs RELATIVE ${CMAKE_CURRENT_BINARY_DIR} -# ${CMAKE_CURRENT_BINARY_DIR}/* ) -#unset( _exclude_dirs ) -#foreach( _dir IN LISTS _bin_dirs ) -# if(IS_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${_dir} ) -# list( APPEND _exclude_dirs PATTERN ${_dir} EXCLUDE ) -# endif() -#endforeach() -# -#install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} -# DESTINATION ${INCLUDE_INSTALL_DIR}/tdeobex -# USE_SOURCE_PERMISSIONS -# FILES_MATCHING PATTERN PATTERN "*.h" -# ${_exclude_dirs} -#) - -install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} +install( + DIRECTORY ${CMAKE_CURRENT_BINARY_DIR} DESTINATION ${INCLUDE_INSTALL_DIR}/tdebluez USE_SOURCE_PERMISSIONS FILES_MATCHING PATTERN PATTERN "*.h" - PATTERN "CMakeFiles" EXCLUDE) + PATTERN "CMakeFiles" EXCLUDE +) |