Merge branch 'master' into dev_local
[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/DateTimeSettings.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     src/UserInterface/Views/ViewBase.h
51 SOURCES += src/BusinessLogic/UIManager.cpp \
52     src/IO/DeviceControl/OperationModeToggler.cpp \
53     src/UserInterface/Utils/ProgressBar.cpp \
54     src/Domain/Room.cpp \
55     src/Domain/Meeting.cpp \
56     src/Domain/Configuration/ConnectionSettings.cpp \
57     src/Domain/Configuration/StartupSettings.cpp \
58     src/Domain/Configuration/DisplaySettings.cpp \
59     src/Domain/Configuration/DateTimeSettings.cpp \
60     src/Domain/Configuration/Configuration.cpp \
61     src/IO/Communication/MessagingUtils.cpp \
62     src/IO/Communication/Communication.cpp \
63     src/IO/Communication/CommunicationManager.cpp \
64     src/IO/DeviceControl/AlarmSender.cpp \
65     src/IO/DeviceControl/HWKeyListener.cpp \
66     src/IO/DeviceControl/DeviceDataStorage.cpp \
67     src/IO/DeviceControl/DeviceConfigurator.cpp \
68     src/IO/DeviceControl/DeviceManager.cpp \
69     src/BusinessLogic/Utils/ErrorMapper.cpp \
70     src/BusinessLogic/Utils/Clock.cpp \
71     src/BusinessLogic/Engine.cpp \
72     src/UserInterface/Utils/ToolBox.cpp \
73     src/UserInterface/Utils/PopUpMessageBox.cpp \
74     src/UserInterface/Utils/PasswordDialog.cpp \
75     src/UserInterface/Components/ObservedWidget.cpp \
76     src/UserInterface/Components/TimeDisplayWidget.cpp \
77     src/UserInterface/Components/DigitalTimeDisplayWidget.cpp \
78     src/UserInterface/Components/MeetingRoomCombo.cpp \
79     src/UserInterface/Components/ScheduleWidget.cpp \
80     src/UserInterface/Views/RoomStatusIndicatorWidget.cpp \
81     src/UserInterface/Views/WeeklyViewWidget.cpp \
82     src/UserInterface/Views/MeetingInfoDialog.cpp \
83     src/UserInterface/Views/SettingsView.cpp \
84     src/UserInterface/WindowManager.cpp \
85     src/UserInterface/Views/ViewBase.cpp \
86     src/main.cpp
87 RESOURCES += resources/BusinessLogic.qrc \
88     resources/UserInterface.qrc
89 CONFIG += link_pkgconfig
90 PKGCONFIG += libalarm
91 //DEFINES += DEBUG_OUTPUT_TO_FILE
92 executable.files = qtmeetings
93 executable.path = /usr/bin/
94 executable.hint = executable
95 INSTALLS += executable
96 appconfig.files = QtMeetings.conf
97 appconfig.path = /etc/
98 appconfig.hint = appconfig
99 INSTALLS += appconfig
100 desktop.files = QtMeetings.desktop
101 desktop.path = /usr/share/applications/hildon/
102 desktop.hint = desktop
103 INSTALLS += desktop
104 devstopperscript.files = scripts/qtmeetings-devstopper
105 devstopperscript.path = /usr/bin/
106 devstopperscript.hint = devstopperscript
107 INSTALLS += devstopperscript
108 renamescript.files = scripts/qtmeetings-rename
109 renamescript.path = /usr/bin/
110 renamescript.hint = renamescript
111 INSTALLS += renamescript
112 updatercdscript.files = scripts/qtmeetings-updatercd
113 updatercdscript.path = /usr/bin/
114 updatercdscript.hint = updatercdscript
115 INSTALLS += updatercdscript
116 launcherscript.files = scripts/qtmeetings-launcher
117 launcherscript.path = /etc/init.d/
118 launcherscript.hint = launcherscript
119 INSTALLS += launcherscript
120 unix:exists( $$system(which doxygen) ) { 
121     message( "Doxygen is present in your system." )
122     BUILD_NOW = $$prompt( "Do you want to build Doxygen documentation now? [YES/no]" )
123     contains( BUILD_NOW, "YES" ):system( "doxygen QtMeetings.doxygen" )::message( "Documentation is built successfully." )
124 }
125 else:message( "You must install Doxygen to build the project documentation." )
126 message( "Now run 'make' to compile the source code." )