Multiple simultaneous request support to Communication
[qtmeetings] / QtMeetings.pro
1 TEMPLATE = app
2
3 TARGET = qtmeetings
4
5 QT += xml \
6     network
7
8 INCLUDEPATH += src/Domain/ \
9     src/Domain/Configuration/ \
10     src/IO/ \
11     src/IO/Communication/ \
12     src/IO/DeviceControl/ \
13     src/BusinessLogic/ \
14     src/BusinessLogic/Utils/ \
15     src/UserInterface/ \
16     src/UserInterface/Components/ \
17     src/UserInterface/Utils/ \
18     src/UserInterface/Views/
19
20 HEADERS += src/Domain/Room.h \
21     src/Domain/Meeting.h \
22     src/Domain/Configuration/ConnectionSettings.h \
23     src/Domain/Configuration/StartupSettings.h \
24     src/Domain/Configuration/DisplaySettings.h \
25     src/Domain/Configuration/Configuration.h \
26     src/IO/Communication/MessagingUtils.h \
27     src/IO/Communication/Communication.h \
28     src/IO/Communication/CommunicationManager.h \
29     src/IO/DeviceControl/AlarmSender.h \
30     src/IO/DeviceControl/HWKeyListener.h \
31     src/IO/DeviceControl/DeviceDataStorage.h \
32     src/IO/DeviceControl/DeviceConfigurator.h \
33     src/IO/DeviceControl/DeviceManager.h \
34     src/BusinessLogic/Utils/ErrorMapper.h \
35     src/BusinessLogic/Utils/Clock.h \
36     src/BusinessLogic/Engine.h \
37     src/UserInterface/Utils/ToolBox.h \
38     src/UserInterface/Utils/PopUpMessageBox.h \
39     src/UserInterface/Utils/PasswordDialog.h \
40     src/UserInterface/Components/ObservedWidget.h \
41     src/UserInterface/Components/TimeDisplayWidget.h \
42     src/UserInterface/Components/DigitalTimeDisplayWidget.h \
43     src/UserInterface/Components/MeetingRoomCombo.h \
44     src/UserInterface/Components/ScheduleWidget.h \
45     src/UserInterface/Views/RoomStatusIndicatorWidget.h \
46     src/UserInterface/Views/WeeklyViewWidget.h \
47     src/UserInterface/Views/MeetingInfoDialog.h \
48     src/UserInterface/Views/SettingsView.h \
49     src/UserInterface/WindowManager.h
50
51 SOURCES += src/Domain/Room.cpp \
52     src/Domain/Meeting.cpp \
53     src/Domain/Configuration/ConnectionSettings.cpp \
54     src/Domain/Configuration/StartupSettings.cpp \
55     src/Domain/Configuration/DisplaySettings.cpp \
56     src/Domain/Configuration/Configuration.cpp \
57     src/IO/Communication/MessagingUtils.cpp \
58     src/IO/Communication/Communication.cpp \
59     src/IO/Communication/CommunicationManager.cpp \
60     src/IO/DeviceControl/AlarmSender.cpp \
61     src/IO/DeviceControl/HWKeyListener.cpp \
62     src/IO/DeviceControl/DeviceDataStorage.cpp \
63     src/IO/DeviceControl/DeviceConfigurator.cpp \
64     src/IO/DeviceControl/DeviceManager.cpp \
65     src/BusinessLogic/Utils/ErrorMapper.cpp \
66     src/BusinessLogic/Utils/Clock.cpp \
67     src/BusinessLogic/Engine.cpp \
68     src/UserInterface/Utils/ToolBox.cpp \
69     src/UserInterface/Utils/PopUpMessageBox.cpp \
70     src/UserInterface/Utils/PasswordDialog.cpp \
71     src/UserInterface/Components/ObservedWidget.cpp \
72     src/UserInterface/Components/TimeDisplayWidget.cpp \
73     src/UserInterface/Components/DigitalTimeDisplayWidget.cpp \
74     src/UserInterface/Components/MeetingRoomCombo.cpp \
75     src/UserInterface/Components/ScheduleWidget.cpp \
76     src/UserInterface/Views/RoomStatusIndicatorWidget.cpp \
77     src/UserInterface/Views/WeeklyViewWidget.cpp \
78     src/UserInterface/Views/MeetingInfoDialog.cpp \
79     src/UserInterface/Views/SettingsView.cpp \
80     src/UserInterface/WindowManager.cpp \
81     src/main.cpp
82
83 RESOURCES += resources/BusinessLogic.qrc \
84     resources/UserInterface.qrc
85
86 CONFIG += link_pkgconfig
87 PKGCONFIG += libalarm
88
89 //DEFINES += DEBUG_OUTPUT_TO_FILE
90
91 executable.files = qtmeetings
92 executable.path = /usr/bin/
93 executable.hint = executable
94 INSTALLS += executable
95
96 appconfig.files = QtMeetings.conf
97 appconfig.path = /etc/
98 appconfig.hint = appconfig
99 INSTALLS += appconfig
100
101 desktop.files = QtMeetings.desktop
102 desktop.path = /usr/share/applications/hildon/
103 desktop.hint = desktop
104 INSTALLS += desktop
105
106 devstopperscript.files = scripts/qtmeetings-devstopper
107 devstopperscript.path = /usr/bin/
108 devstopperscript.hint = devstopperscript
109 INSTALLS += devstopperscript
110
111 renamescript.files = scripts/qtmeetings-rename
112 renamescript.path = /usr/bin/
113 renamescript.hint = renamescript
114 INSTALLS += renamescript
115
116 updatercdscript.files = scripts/qtmeetings-updatercd
117 updatercdscript.path = /usr/bin/
118 updatercdscript.hint = updatercdscript
119 INSTALLS += updatercdscript
120
121 launcherscript.files = scripts/qtmeetings-launcher
122 launcherscript.path = /etc/init.d/
123 launcherscript.hint = launcherscript
124 INSTALLS += launcherscript
125
126 unix:exists( $$system(which doxygen) ) { 
127     message( "Doxygen is present in your system." )
128     BUILD_NOW = $$prompt( "Do you want to build Doxygen documentation now? [YES/no]" )
129     contains( BUILD_NOW, "YES" ):system( "doxygen QtMeetings.doxygen" )::message( "Documentation is built successfully." )
130 }
131 else:message( "You must install Doxygen to build the project documentation." )
132 message( "Now run 'make' to compile the source code." )