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