Skip to content

Commit f08a9b3

Browse files
committed
added qmake file
1 parent b5d6913 commit f08a9b3

File tree

2 files changed

+35
-1
lines changed

2 files changed

+35
-1
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
*.a
1414

1515
#ide specific files
16-
*.pro
16+
#*.pro
1717
*.user
1818
*.directory
1919
build-*

XInputSimulator/XInputSimulator.pro

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
TEMPLATE = app
2+
CONFIG += console
3+
CONFIG -= app_bundle
4+
CONFIG -= qt
5+
CONFIG += c++11
6+
7+
SOURCES += main.cpp \
8+
xinputsimulatorimpl.cpp \
9+
xinputsimulator.cpp \
10+
xinputsimulatorimpllinux.cpp \
11+
notimplementedexception.cpp \
12+
xinputsimulatorimplmacos.cpp \
13+
xinputsimulatorimplwin.cpp
14+
15+
HEADERS += \
16+
xinputsimulator.h \
17+
xinputsimulatorimpl.h \
18+
xinputsimulatorimpllinux.h \
19+
notimplementedexception.h \
20+
xinputsimulatorimplmacos.h \
21+
xinputsimulatorimplwin.h
22+
23+
macx {
24+
# mac only
25+
LIBS += -framework ApplicationServices
26+
}
27+
unix:!macx{
28+
# linux only
29+
LIBS += -lX11
30+
}
31+
win32 {
32+
# windows only
33+
LIBS += "C:\Program Files\Microsoft SDKs\Windows\v7.1\Lib\User32.Lib"
34+
}

0 commit comments

Comments
 (0)