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