-
Notifications
You must be signed in to change notification settings - Fork 3
/
TomatoTimer.pro
45 lines (33 loc) · 939 Bytes
/
TomatoTimer.pro
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
TEMPLATE = app
QT += core gui widgets
CONFIG += c++14
macx {
QMAKE_MAC_SDK = MacOSX10.13.sdk
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.8
QMAKE_MAC_SDK_PATH = "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk"
}
TARGET = TomatoTimer
ICON = "resources/icon.icns"
SOURCES += main.cpp \
mainwindow.cpp \
pomodoro.cpp
HEADERS += mainwindow.h \
notifications/notifications.h \
pomodoro.h \
systemsounds/systemsounds.h
FORMS += mainwindow.ui
TRANSLATIONS = languages/en.ts
RESOURCES += \
res.qrc
mac {
LIBS += -framework Foundation -framework Cocoa
QMAKE_INFO_PLIST = mac/Info.plist
OBJECTIVE_SOURCES += \
notifications/notifications_osx.mm \
systemsounds/systemsounds_osx.mm
}
linux {
QT += dbus
SOURCES += systemsounds/systemsounds_unix.cpp
SOURCES += notifications/notifications_unix.cpp
}