2013-07-16 17:27:49 +02:00
|
|
|
TEMPLATE = app
|
|
|
|
CONFIG += console
|
|
|
|
CONFIG -= app_bundle
|
|
|
|
CONFIG -= qt
|
|
|
|
CONFIG += c++11
|
|
|
|
|
2014-01-22 00:16:37 +01:00
|
|
|
TARGET = XInputSimulatorMain
|
|
|
|
|
2013-07-16 17:27:49 +02:00
|
|
|
SOURCES += main.cpp \
|
|
|
|
xinputsimulatorimpl.cpp \
|
|
|
|
xinputsimulator.cpp \
|
|
|
|
xinputsimulatorimpllinux.cpp \
|
|
|
|
notimplementedexception.cpp \
|
|
|
|
xinputsimulatorimplmacos.cpp \
|
|
|
|
xinputsimulatorimplwin.cpp
|
|
|
|
|
|
|
|
HEADERS += \
|
|
|
|
xinputsimulator.h \
|
|
|
|
xinputsimulatorimpl.h \
|
|
|
|
xinputsimulatorimpllinux.h \
|
|
|
|
xinputsimulatorimplmacos.h \
|
|
|
|
xinputsimulatorimplwin.h
|
|
|
|
|
|
|
|
macx {
|
|
|
|
# mac only
|
|
|
|
LIBS += -framework ApplicationServices
|
|
|
|
}
|
|
|
|
unix:!macx{
|
|
|
|
# linux only
|
2013-07-16 23:08:00 +02:00
|
|
|
LIBS += -lX11 -lXtst
|
2013-07-16 17:27:49 +02:00
|
|
|
}
|
|
|
|
win32 {
|
|
|
|
# windows only
|
|
|
|
LIBS += "C:\Program Files\Microsoft SDKs\Windows\v7.1\Lib\User32.Lib"
|
|
|
|
}
|