summaryrefslogtreecommitdiffstats
path: root/src/tdebluez-common/CMakeLists.txt
blob: 8dbf64917c5d940e610bd427305d8ee9f59b6e46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#################################################
#
#  (C) 2018 Emanoil Kotsev
#  deloptes (AT) gmail.com
#
#  Improvements and feedback are welcome
#
#  This file is released under GPL >= 2
#
#################################################

project( tdebluez-common )

# include( ConfigureChecks.cmake )

# import required
#tde_import( lib... )

include_directories(
  ${CMAKE_CURRENT_BINARY_DIR}
  ${CMAKE_BINARY_DIR}
  ${CMAKE_SOURCE_DIR}
  ${CMAKE_SOURCE_DIR}/tdebluez-common
  ${TDE_INCLUDE_DIR}
  ${TQT_INCLUDE_DIRS}
)

#link_directories(
#  ${TQT_LIBRARY_DIRS}
#)


##### other data ################################
# Example
#install( FILES knotes.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
#install( FILES knoteconfig.kcfg knotesglobalconfig.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
#install( FILES knotesappui.rc knotesui.rc DESTINATION ${DATA_INSTALL_DIR}/knotes )
#install( FILES local.desktop DESTINATION ${SERVICES_INSTALL_DIR}/tderesources/knotes )
#install( FILES knotes_manager.desktop DESTINATION ${SERVICES_INSTALL_DIR}/tderesources )

# # from tdebase/applnk/Makefile.am
# install-data-local:
# 	$(mkinstalldirs) $(DESTDIR)$(kde_appsdir)/Settings/Network/Bluetooth
# 	$(INSTALL_DATA) $(srcdir)/kde-settings-network-bluetooth.directory \
# 	  $(DESTDIR)$(kde_appsdir)/Settings/Network/Bluetooth/.directory
# 
# uninstall-local:
# 	-rm -f $(DESTDIR)$(kde_appsdir)/Settings/Network/Bluetooth/.directory

##### install import cmake modules ###############
#tde_install_export( )

# Bluetooth directory entry in the control center
install( FILES tde-settings-network-bluetooth.directory
  DESTINATION ${DATA_INSTALL_DIR}/tdebluez )
	
# Bluetooth access to system debus org.bluez
install( FILES org.trinitydesktop.tdebluez.conf
  DESTINATION ${DBUS_SYS_DIR} )
#  DESTINATION ${DBUS_SYSTEM_CONF_DIRECTORY} )
  


add_subdirectory( icons )
add_subdirectory( mimetypes )
#add_subdirectory( dunhandler )
#add_subdirectory( faxhandler )