forked from Skarsnik/QUsb2snes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
QUsb2snes.qbs
114 lines (105 loc) · 3.41 KB
/
QUsb2snes.qbs
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
import qbs
Project {
minimumQbsVersion: "1.7.1"
QtApplication {
name : "QUsb2Snes"
cpp.cxxLanguageVersion: "c++11"
consoleApplication: false
files: [
"adevice.cpp",
"adevice.h",
"appui.cpp",
"appui.h",
"devicefactory.cpp",
"devicefactory.h",
"devices/retroarchfactory.cpp",
"devices/retroarchfactory.h",
"devices/sd2snesfactory.cpp",
"devices/sd2snesfactory.h",
"devices/snesclassicfactory.cpp",
"devices/snesclassicfactory.h",
"ipsparse.cpp",
"ipsparse.h",
"devices/luabridge.cpp",
"devices/luabridge.h",
"devices/luabridgedevice.cpp",
"devices/luabridgedevice.h",
"main.cpp",
"qusb2snes.rc",
"ressources.qrc",
"devices/retroarchdevice.cpp",
"devices/retroarchdevice.h",
"rommapping/mapping_hirom.c",
"rommapping/mapping_lorom.c",
"rommapping/rommapping.c",
"devices/sd2snesdevice.cpp",
"devices/sd2snesdevice.h",
"devices/snesclassic.cpp",
"devices/snesclassic.h",
"usb2snes.h",
"wsserver.cpp",
"wsserver.h",
"wsservercommands.cpp",
]
Group {
name: "OSX"
condition: qbs.targetPlatform.contains("macos")
files: [
"osx/appnap.h",
"osx/appnap.mm"
]
}
Group { // Properties for the produced executable
fileTagsFilter: "application"
qbs.install: true
}
Depends {
name : "Qt";
submodules : ["gui", "core", "widgets", "network", "serialport", "websockets"]
}
Properties {
condition: qbs.targetPlatform.contains("macos")
cpp.dynamicsLibraries: ["/System/Library/Frameworks/Foundation.framework/Versions/Current/Resources/BridgeSupport/Foundation.dylib"]
cpp.frameworks: ["Foundation"]
}
}
QtApplication {
condition: qbs.targetPlatform.contains("windows")
name : "TestQUsb2Snes"
cpp.cxxLanguageVersion: "c++11"
files: [
"testmain.cpp",
"client/usb2snes.h",
"client/usb2snes.cpp"
]
Group {
fileTagsFilter: "application"
qbs.install: true
}
Depends {
name: "Qt"
submodules: ["core", "network", "websockets"]
}
}
/*
Product {
name : "deploy"
Depends {
name : "QUsb2Snes"
}
Rule {
inputsFromDependencies: ["application"]
prepare : {
var cmd = new Command("windeploy-qt", ["--no-translations",
"--no-system-d3d-compiler",
"--no-opengl",
"--no-svg",
"--no-webkit",
"--no-webkit2",
inputs[0].filePath])
cmd.description = "Running windeply-qt"
return cmd
}
}
}*/
}