Compare commits
1168
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
59fb7acbf7 | ||
|
|
1eb247fa2e | ||
|
|
b004133f08 | ||
|
|
68beedde92 | ||
|
|
5c1b7f6ea7 | ||
|
|
5d5488ca71 | ||
|
|
269fc1bd79 | ||
|
|
a5949d7b03 | ||
|
|
16f55fbdb4 | ||
|
|
94f6080895 | ||
|
|
017e237005 | ||
|
|
a9cf313eef | ||
|
|
bfe81a0c05 | ||
|
|
a6a2cdbd7c | ||
|
|
fc78d0ff39 | ||
|
|
6b03c1adf6 | ||
|
|
52f00833b0 | ||
|
|
217d3a6dab | ||
|
|
7343ece806 | ||
|
|
e4409f6733 | ||
|
|
f0a05ed476 | ||
|
|
580416d3c8 | ||
|
|
273d9e4640 | ||
|
|
161a316dfa | ||
|
|
52f8d0357a | ||
|
|
5b4f53bc0f | ||
|
|
cd8f57ee4e | ||
|
|
ae7446a959 | ||
|
|
a5d338bd2d | ||
|
|
7d7c48302b | ||
|
|
72fea0ed6f | ||
|
|
6bd3e0b189 | ||
|
|
cee47a9ebe | ||
|
|
a52b8580f0 | ||
|
|
4d7f12f6bd | ||
|
|
8ebe640a36 | ||
|
|
62fd6aad39 | ||
|
|
6a6e93bc29 | ||
|
|
6b4b6d8e59 | ||
|
|
43f6983a24 | ||
|
|
95f6edb9a5 | ||
|
|
3b9f47b85f | ||
|
|
6be430c7f7 | ||
|
|
af79b46f9e | ||
|
|
b06eda55e9 | ||
|
|
adb445eafb | ||
|
|
a864180cf3 | ||
|
|
7a55fa4e56 | ||
|
|
afd812374f | ||
|
|
c389c32d30 | ||
|
|
5ecc75a4fc | ||
|
|
6349ad7319 | ||
|
|
7041bbaf00 | ||
|
|
dd30ff2e31 | ||
|
|
aacb5e1774 | ||
|
|
75b9aab6c1 | ||
|
|
0dbdf90e7b | ||
|
|
2ec48b36ba | ||
|
|
43c22e5d1e | ||
|
|
3d720ba381 | ||
|
|
a530fc9199 | ||
|
|
48a406db4d | ||
|
|
2130dff0fc | ||
|
|
324b96153f | ||
|
|
b09266a4ef | ||
|
|
9eb09d2392 | ||
|
|
0f630e9177 | ||
|
|
4e3a26e271 | ||
|
|
e64acb619a | ||
|
|
a3a852e912 | ||
|
|
c23216bf46 | ||
|
|
6208ed8604 | ||
|
|
6646edf692 | ||
|
|
d9ff6380ae | ||
|
|
7389eba943 | ||
|
|
b3faebb8a8 | ||
|
|
b72b5d0f99 | ||
|
|
86f50ae7d7 | ||
|
|
18206446bf | ||
|
|
b5f1fe5004 | ||
|
|
97711e99fe | ||
|
|
ad21c70408 | ||
|
|
c90e1ec3ef | ||
|
|
12f9bcd2f4 | ||
|
|
f8ae3ef1eb | ||
|
|
163f669745 | ||
|
|
960b86dcb5 | ||
|
|
6d1dfc8322 | ||
|
|
69df26a0d4 | ||
|
|
32df5aeb3d | ||
|
|
8a2c6b604c | ||
|
|
c950018fe0 | ||
|
|
fb7c03ebb5 | ||
|
|
afc350eeff | ||
|
|
ded6c22efb | ||
|
|
e427e80bfe | ||
|
|
714502d373 | ||
|
|
e974985998 | ||
|
|
507ce36d80 | ||
|
|
535fdc3adc | ||
|
|
8c9f7104e3 | ||
|
|
6606ab8b56 | ||
|
|
e99a7144ff | ||
|
|
851eecdf40 | ||
|
|
63b3b9a558 | ||
|
|
c95edd9450 | ||
|
|
33f8a4ddca | ||
|
|
6258f2ef3f | ||
|
|
7321537971 | ||
|
|
bdf141335c | ||
|
|
9a0367675f | ||
|
|
1963cccce1 | ||
|
|
b84ce0d484 | ||
|
|
fd8cafc72e | ||
|
|
e09551bc80 | ||
|
|
2830895740 | ||
|
|
ab81a559f4 | ||
|
|
df36f926fc | ||
|
|
448e05e3c8 | ||
|
|
1b797957c1 | ||
|
|
1488c40812 | ||
|
|
60ef11b3cb | ||
|
|
d3b970d4d5 | ||
|
|
51ebefeeee | ||
|
|
81d3adddbf | ||
|
|
b3260e7eb3 | ||
|
|
4a3277b0f9 | ||
|
|
78698a0ba2 | ||
|
|
146ea9b0e1 | ||
|
|
a20516d4f3 | ||
|
|
e1c8350439 | ||
|
|
e9d3dcea73 | ||
|
|
4fde7dd830 | ||
|
|
ce5763230b | ||
|
|
68544be44b | ||
|
|
b75cd2b36d | ||
|
|
51db775442 | ||
|
|
9202df0472 | ||
|
|
e5a3acd6bd | ||
|
|
dd7bed9ebc | ||
|
|
d11702ce29 | ||
|
|
74bcc5a0a3 | ||
|
|
c7f4103807 | ||
|
|
e6cb082232 | ||
|
|
0a93ac1294 | ||
|
|
25367efcba | ||
|
|
6f69bbc541 | ||
|
|
8303c5d0a3 | ||
|
|
6bd49fc00c | ||
|
|
d58d637ac6 | ||
|
|
526f417587 | ||
|
|
51d6d60f11 | ||
|
|
e201f338d7 | ||
|
|
0fcfaf9e94 | ||
|
|
b9c2ad8395 | ||
|
|
298ad937c0 | ||
|
|
ad272ac690 | ||
|
|
e8d89ce28f | ||
|
|
7a335df9cf | ||
|
|
5abd676917 | ||
|
|
2cc2260435 | ||
|
|
168b97ca32 | ||
|
|
7e71d08ab2 | ||
|
|
ef4e0e921a | ||
|
|
4082821822 | ||
|
|
63e12cf601 | ||
|
|
ec0204d243 | ||
|
|
61115aebd3 | ||
|
|
7cd165e2d9 | ||
|
|
50d8642fa3 | ||
|
|
17f63e53f8 | ||
|
|
9703f23663 | ||
|
|
30cf26e089 | ||
|
|
5f25a6ea78 | ||
|
|
c391bdc160 | ||
|
|
55a07d91fa | ||
|
|
a236bf4f25 | ||
|
|
6b4bd5a759 | ||
|
|
46624b4e1d | ||
|
|
3807e95029 | ||
|
|
3a20274ddf | ||
|
|
4e07d4722d | ||
|
|
b359282a5c | ||
|
|
20c76599f9 | ||
|
|
fd3f381021 | ||
|
|
65a3453b7f | ||
|
|
3604ae1d1b | ||
|
|
423141bfca | ||
|
|
d6143ab369 | ||
|
|
799d39a302 | ||
|
|
142a3630d3 | ||
|
|
17410887d0 | ||
|
|
2b59cb900e | ||
|
|
f858d1305a | ||
|
|
96e3733a18 | ||
|
|
5a8ccf4522 | ||
|
|
5ec2d46f47 | ||
|
|
9ff8f29f43 | ||
|
|
67792767f5 | ||
|
|
246f3ba52c | ||
|
|
6f3474db2d | ||
|
|
8e13cc309e | ||
|
|
1087eaad7e | ||
|
|
ae2cc29f8b | ||
|
|
345efdcb10 | ||
|
|
847539afeb | ||
|
|
7fa46ec40b | ||
|
|
3c3c02518c | ||
|
|
4809bd356e | ||
|
|
774c50174c | ||
|
|
423c7ef856 | ||
|
|
37ef6a765d | ||
|
|
f73c25648f | ||
|
|
4c3d1d32a5 | ||
|
|
7c2a6ea5f2 | ||
|
|
e30b9993b9 | ||
|
|
01492a24f1 | ||
|
|
2c591e408e | ||
|
|
8ac8230bfa | ||
|
|
964e979d06 | ||
|
|
c87b0142fe | ||
|
|
4ddf85b1d5 | ||
|
|
f78f775238 | ||
|
|
fd2a2eea10 | ||
|
|
d2c4d74dd0 | ||
|
|
bd22ca762e | ||
|
|
efdf43aa9b | ||
|
|
001d2e2f65 | ||
|
|
c02cd20352 | ||
|
|
26a75add31 | ||
|
|
bef9f2b2c4 | ||
|
|
5968f3d828 | ||
|
|
822cf0b34b | ||
|
|
347659e8cf | ||
|
|
cb43eb43f8 | ||
|
|
6eda520f64 | ||
|
|
4c711d2d43 | ||
|
|
22d6e09a8d | ||
|
|
195ca499ca | ||
|
|
7ce311bead | ||
|
|
bed96482fa | ||
|
|
96a04cb910 | ||
|
|
b28d304b23 | ||
|
|
a8e7548797 | ||
|
|
9220f92bae | ||
|
|
179765561c | ||
|
|
5dee08213b | ||
|
|
412ceb84d4 | ||
|
|
aeeccb5d16 | ||
|
|
d5e58049ae | ||
|
|
12cc636c8f | ||
|
|
6da6a6cba2 | ||
|
|
e97b506242 | ||
|
|
626a3c5ef7 | ||
|
|
f4fc4719a5 | ||
|
|
1f48f8cd28 | ||
|
|
fe46569cce | ||
|
|
e4b5afa576 | ||
|
|
e59cba95a0 | ||
|
|
1a1cc8028b | ||
|
|
dc62fec5e9 | ||
|
|
a95f5a792c | ||
|
|
848d2008c6 | ||
|
|
b1cf322971 | ||
|
|
83ae1b4987 | ||
|
|
d2b5965894 | ||
|
|
9edd411a83 | ||
|
|
b798e49c92 | ||
|
|
b0a27cb1de | ||
|
|
f0566702c5 | ||
|
|
3d52d04977 | ||
|
|
aa51a9791a | ||
|
|
9dfa000bc0 | ||
|
|
5ef36ead08 | ||
|
|
3066873126 | ||
|
|
5669743a43 | ||
|
|
efa2e6a1ea | ||
|
|
15781a6986 | ||
|
|
f5cf0e37f7 | ||
|
|
03ebc4397f | ||
|
|
973424d9cb | ||
|
|
501a499180 | ||
|
|
c6a77971bd | ||
|
|
0e6d4baa6b | ||
|
|
c7dff3a22e | ||
|
|
57130b75a9 | ||
|
|
47f1cb550d | ||
|
|
f7b774a7e0 | ||
|
|
f9a9d3c8d4 | ||
|
|
7044452dd6 | ||
|
|
dbd54dd708 | ||
|
|
e19a9a7931 | ||
|
|
622311c016 | ||
|
|
c8eea02071 | ||
|
|
0cca71a846 | ||
|
|
ffab9f46b5 | ||
|
|
4cb57bf199 | ||
|
|
06aca7edaa | ||
|
|
0ffd985972 | ||
|
|
c4cf63f812 | ||
|
|
b44241ab2f | ||
|
|
ea15253220 | ||
|
|
8c5bda6acd | ||
|
|
aa6ea607d9 | ||
|
|
56665e1d9d | ||
|
|
a12ffbd532 | ||
|
|
e9c7b5191c | ||
|
|
a48004952d | ||
|
|
ec1a0f62dd | ||
|
|
1f2a241688 | ||
|
|
3c3ccb1d48 | ||
|
|
2317a96c8e | ||
|
|
48b6cd8bc2 | ||
|
|
f0bc5c9cbf | ||
|
|
b3a18706ee | ||
|
|
7e005bd843 | ||
|
|
e3fd8feae6 | ||
|
|
5953422c09 | ||
|
|
e78a72ec38 | ||
|
|
bfac54b59c | ||
|
|
49ca8bf520 | ||
|
|
94eeb587c1 | ||
|
|
7ad15c5b8f | ||
|
|
996b3dc37a | ||
|
|
e0f3da497f | ||
|
|
f93e810780 | ||
|
|
6b9884d40a | ||
|
|
e4bb3c8649 | ||
|
|
6222bd3143 | ||
|
|
6f88cbe4c9 | ||
|
|
d7866ffac8 | ||
|
|
737b4fc32c | ||
|
|
9b75fa0165 | ||
|
|
2c2cbbe664 | ||
|
|
6da99d4a6c | ||
|
|
2f924020e8 | ||
|
|
2bc373622b | ||
|
|
f871c178b9 | ||
|
|
8ab3ae98f0 | ||
|
|
f7280dcebb | ||
|
|
ec8fa57750 | ||
|
|
d35c737f1c | ||
|
|
6422a5d259 | ||
|
|
2a7948016a | ||
|
|
cf1daafa3f | ||
|
|
d15f6e379c | ||
|
|
f661654fad | ||
|
|
6e6e425e23 | ||
|
|
c71ee68b8a | ||
|
|
318b5577f9 | ||
|
|
9ef6885743 | ||
|
|
b352b78345 | ||
|
|
0e63b514d5 | ||
|
|
8cd908e0b9 | ||
|
|
a3c1ca1fa1 | ||
|
|
95f9c3cf0f | ||
|
|
0c19602118 | ||
|
|
fa50597055 | ||
|
|
db36664f26 | ||
|
|
f0c870b908 | ||
|
|
b03e08f376 | ||
|
|
c244bbc515 | ||
|
|
ce502054ad | ||
|
|
38ef678990 | ||
|
|
76a7b629bf | ||
|
|
ecf1e15fec | ||
|
|
dba79ade59 | ||
|
|
40bef98f8b | ||
|
|
7d2808e30b | ||
|
|
b299f74d05 | ||
|
|
6fc7aa28e7 | ||
|
|
a459479769 | ||
|
|
79a16da61e | ||
|
|
4da47601be | ||
|
|
2a8297e427 | ||
|
|
fff97c95eb | ||
|
|
60d702ac74 | ||
|
|
cd7c2f1de7 | ||
|
|
63814ec767 | ||
|
|
22002d9155 | ||
|
|
d4b82bfa4c | ||
|
|
ba6f96275e | ||
|
|
e0daa2a530 | ||
|
|
f9a5cf77b8 | ||
|
|
50bc013695 | ||
|
|
b398a847be | ||
|
|
adac3bd1e2 | ||
|
|
85a77fb5fa | ||
|
|
90da399bbb | ||
|
|
3f813cf1ef | ||
|
|
2021a10927 | ||
|
|
db9e14e504 | ||
|
|
3b53555bcf | ||
|
|
13b1bf4f21 | ||
|
|
f7a19f9ea8 | ||
|
|
3696e23d09 | ||
|
|
0b8e796e2c | ||
|
|
fbd230bb6c | ||
|
|
3fcc2cb500 | ||
|
|
f25a78eede | ||
|
|
6150245d65 | ||
|
|
d1a3981bf8 | ||
|
|
bb0b6dd42e | ||
|
|
5394238cdc | ||
|
|
41b9198515 | ||
|
|
829f6b3d7d | ||
|
|
0687128c96 | ||
|
|
9e5cbf034a | ||
|
|
f81419702e | ||
|
|
6c2928b4be | ||
|
|
ca26df3404 | ||
|
|
888899244c | ||
|
|
645db217a0 | ||
|
|
73448fe245 | ||
|
|
97774cdf72 | ||
|
|
7e636b03cc | ||
|
|
1aa9754d96 | ||
|
|
2ccb0dfd16 | ||
|
|
a0cdc1fc30 | ||
|
|
29694869b1 | ||
|
|
5c1f5a7306 | ||
|
|
0f45a4e303 | ||
|
|
31e83cd14c | ||
|
|
fde9a7086e | ||
|
|
c4141bc11c | ||
|
|
2a42952281 | ||
|
|
12f15aaa74 | ||
|
|
05bd225a80 | ||
|
|
ccc70e644b | ||
|
|
7d7ec9c951 | ||
|
|
e551384a99 | ||
|
|
b293888c7d | ||
|
|
5066910bf5 | ||
|
|
111c3add73 | ||
|
|
de019568dc | ||
|
|
f6eb4b0759 | ||
|
|
01ef98a5d0 | ||
|
|
795744fc75 | ||
|
|
e2d268a399 | ||
|
|
d7c07d6b09 | ||
|
|
76afb8583b | ||
|
|
c39df2fb0c | ||
|
|
8c1584e8e8 | ||
|
|
e9ff4fdd49 | ||
|
|
0b2a55ea7d | ||
|
|
3dcfe86082 | ||
|
|
0964c84d77 | ||
|
|
fa29e2d7f7 | ||
|
|
53dea98309 | ||
|
|
981e1e3c44 | ||
|
|
7a5743031d | ||
|
|
fa073ed01a | ||
|
|
8986efd643 | ||
|
|
2ca0837888 | ||
|
|
04bf7c9434 | ||
|
|
d9b5805ba5 | ||
|
|
0288de8529 | ||
|
|
ba62ead5ec | ||
|
|
145824f6ab | ||
|
|
00b2e10a7a | ||
|
|
8982d9f403 | ||
|
|
923cb4463e | ||
|
|
d4a01bfef0 | ||
|
|
a40405d724 | ||
|
|
5bc2933425 | ||
|
|
fc944859d1 | ||
|
|
00feca27b0 | ||
|
|
5d4a1f8356 | ||
|
|
aeadbdd788 | ||
|
|
c8c59a2139 | ||
|
|
d9009388c8 | ||
|
|
3753a7b1c3 | ||
|
|
02225aa738 | ||
|
|
49a2e4b0ea | ||
|
|
b9fe6ba0e7 | ||
|
|
57927a2458 | ||
|
|
1ede941f5c | ||
|
|
9919d1a7a5 | ||
|
|
009a0ff95f | ||
|
|
de711e1685 | ||
|
|
7c140429a8 | ||
|
|
e7b01ee745 | ||
|
|
2b52946143 | ||
|
|
c37090f9a4 | ||
|
|
9e264b921b | ||
|
|
254fcc90eb | ||
|
|
c1336b21ed | ||
|
|
634b9edc7f | ||
|
|
dc5bc5237c | ||
|
|
67e0f546c5 | ||
|
|
edb473cf46 | ||
|
|
13393a1c4b | ||
|
|
0adb67017b | ||
|
|
01b14e14e6 | ||
|
|
55a4e1d336 | ||
|
|
c36bd78474 | ||
|
|
46616af722 | ||
|
|
9c2f46b0d5 | ||
|
|
99ae6395b1 | ||
|
|
68b6fff245 | ||
|
|
b4256d03e9 | ||
|
|
c2946902fa | ||
|
|
f708cebe10 | ||
|
|
b75996138a | ||
|
|
b1831715a2 | ||
|
|
727eef7064 | ||
|
|
505d6a4a05 | ||
|
|
a256e6ba7f | ||
|
|
6d7d142b70 | ||
|
|
c2093fab99 | ||
|
|
ba0ba9ef16 | ||
|
|
cb81630816 | ||
|
|
5613a56032 | ||
|
|
2823534fef | ||
|
|
49b9e3470b | ||
|
|
85977354fb | ||
|
|
6dbca7c911 | ||
|
|
64c7896f09 | ||
|
|
d1f7f9e35d | ||
|
|
279aeb59be | ||
|
|
3ada694e62 | ||
|
|
dcfb7fff00 | ||
|
|
7ea1b69dd4 | ||
|
|
0249df9d96 | ||
|
|
eb660e862c | ||
|
|
138d96c8a6 | ||
|
|
8bae343f25 | ||
|
|
268c2fa882 | ||
|
|
def27267b5 | ||
|
|
ff5b67e5e0 | ||
|
|
27fc582b59 | ||
|
|
86acb1a347 | ||
|
|
0e198a8799 | ||
|
|
006a5a9e03 | ||
|
|
a5672b858e | ||
|
|
45372b1c27 | ||
|
|
7b3449b89f | ||
|
|
6cd444f0fa | ||
|
|
57118fb7de | ||
|
|
312c899f4f | ||
|
|
c0bb39e5e9 | ||
|
|
575dadb11d | ||
|
|
8ebef12d31 | ||
|
|
1c9299b00d | ||
|
|
78834b50d6 | ||
|
|
ad6bc521bd | ||
|
|
0d7edcb703 | ||
|
|
ea7d5307ac | ||
|
|
fe79eb2fbb | ||
|
|
268cc2a49c | ||
|
|
3136a53070 | ||
|
|
404158595c | ||
|
|
4dca8f7fb4 | ||
|
|
1c7bf478ae | ||
|
|
db718998bd | ||
|
|
95c0fec518 | ||
|
|
b5700ab31e | ||
|
|
8e5adc62eb | ||
|
|
8c542a3591 | ||
|
|
2c04df8d65 | ||
|
|
7e15ad2fc4 | ||
|
|
3425e9950e | ||
|
|
cbdb67b4f6 | ||
|
|
178ac19615 | ||
|
|
4d1905c9b6 | ||
|
|
fa4c51989d | ||
|
|
d875416ac4 | ||
|
|
4d76c9cb46 | ||
|
|
aec86ba8bb | ||
|
|
96be9cddcc | ||
|
|
1db47d468a | ||
|
|
a60986caa8 | ||
|
|
6d1c3cd691 | ||
|
|
95ed83137f | ||
|
|
2591f7e39c | ||
|
|
7ba4d24c25 | ||
|
|
0dcfa92e4c | ||
|
|
6529bf3de7 | ||
|
|
0bc9e243b9 | ||
|
|
7bc498d325 | ||
|
|
a630b02938 | ||
|
|
713a675401 | ||
|
|
5655be1558 | ||
|
|
40417b188a | ||
|
|
94ed6b0a54 | ||
|
|
5acb4b70ab | ||
|
|
26bfee8578 | ||
|
|
beecae31f6 | ||
|
|
d6122704e8 | ||
|
|
7a1c45bd1c | ||
|
|
69d0b6e3c6 | ||
|
|
bf38fd4679 | ||
|
|
2891f0821b | ||
|
|
6d9ca92626 | ||
|
|
a75c6150e0 | ||
|
|
ee96407edf | ||
|
|
ab74b6a3c3 | ||
|
|
ee52ad08cd | ||
|
|
b4d28085bf | ||
|
|
d5bbbd3f73 | ||
|
|
d597a9b431 | ||
|
|
6c56193a2a | ||
|
|
2398c43be2 | ||
|
|
4fe7b2cbd1 | ||
|
|
eadc064e2c | ||
|
|
0af2db6f29 | ||
|
|
0dae35bf3d | ||
|
|
9125b244e7 | ||
|
|
13337e17a5 | ||
|
|
f3ff0c568e | ||
|
|
2a4e0f8fd0 | ||
|
|
c23a7ad38a | ||
|
|
57df1dfce6 | ||
|
|
f5a980448e | ||
|
|
006aafabcf | ||
|
|
8df045cc7d | ||
|
|
4b8d69a416 | ||
|
|
25203222f5 | ||
|
|
aec58d8208 | ||
|
|
b59ca92e82 | ||
|
|
b944dc8f2e | ||
|
|
2302b2d5e5 | ||
|
|
83df4a354e | ||
|
|
f782abe5f0 | ||
|
|
34fd83ca06 | ||
|
|
74680f5c4c | ||
|
|
dd6c46cb34 | ||
|
|
9dc201d448 | ||
|
|
7f1feee02a | ||
|
|
2b3c16eb5b | ||
|
|
24ffcbd9ad | ||
|
|
8f964576da | ||
|
|
0517b61ed6 | ||
|
|
b559a4accc | ||
|
|
a485ffc3c8 | ||
|
|
d81fee7623 | ||
|
|
4d9bef604a | ||
|
|
c573ebe143 | ||
|
|
fbbd0270eb | ||
|
|
aef1e56737 | ||
|
|
40b7326b38 | ||
|
|
6c96217727 | ||
|
|
d3cc5764c0 | ||
|
|
1868c5b521 | ||
|
|
3167ba342d | ||
|
|
0387bf821a | ||
|
|
5ff42438e3 | ||
|
|
09b8152fae | ||
|
|
b22ce2b5a8 | ||
|
|
d406278513 | ||
|
|
4e784fce43 | ||
|
|
e5f45455c9 | ||
|
|
4e49b78a11 | ||
|
|
0bf8ccfb60 | ||
|
|
ecaa22cbe6 | ||
|
|
3318590796 | ||
|
|
829e15a490 | ||
|
|
a164c9d245 | ||
|
|
cc152103ba | ||
|
|
e8c3ff56e0 | ||
|
|
bcb0f1de23 | ||
|
|
01bfde4520 | ||
|
|
01663238dc | ||
|
|
f0d2747df1 | ||
|
|
dfbe1f7248 | ||
|
|
b2db570ce9 | ||
|
|
93e7caab9a | ||
|
|
56568ffb38 | ||
|
|
1c1f5c180f | ||
|
|
2c6a9c5194 | ||
|
|
85dff3e453 | ||
|
|
123b9aaa41 | ||
|
|
5905696e66 | ||
|
|
61a93d3c46 | ||
|
|
d1e4367f58 | ||
|
|
1ee196b483 | ||
|
|
90b13e1488 | ||
|
|
c44966b78b | ||
|
|
f3e86b9fd3 | ||
|
|
67848b6531 | ||
|
|
3bebdaccb7 | ||
|
|
7c421fec16 | ||
|
|
363c36781d | ||
|
|
7495b98141 | ||
|
|
0ad606b48d | ||
|
|
ecc1c871e6 | ||
|
|
ee6bfcdd66 | ||
|
|
3ab739afff | ||
|
|
072db7b005 | ||
|
|
229297d97f | ||
|
|
d14a126383 | ||
|
|
9de97e19cc | ||
|
|
afb0606f5a | ||
|
|
50575aa184 | ||
|
|
677dc1015c | ||
|
|
bf69868924 | ||
|
|
01d38e7ade | ||
|
|
09b652b70a | ||
|
|
c6eef542ab | ||
|
|
911ba8d343 | ||
|
|
ea5b482bff | ||
|
|
45833a148d | ||
|
|
a4a80c8607 | ||
|
|
04256a5372 | ||
|
|
0983fcee5e | ||
|
|
3f8b450de2 | ||
|
|
ce1883e1e7 | ||
|
|
14db417e12 | ||
|
|
c3ca3445bd | ||
|
|
6a787619e6 | ||
|
|
b064ad6ac5 | ||
|
|
1b7669374e | ||
|
|
41e7d1baa6 | ||
|
|
f03215bc70 | ||
|
|
b2463a917c | ||
|
|
bdafe1e049 | ||
|
|
2e801b1ae7 | ||
|
|
232c3556ac | ||
|
|
ae73ea9c07 | ||
|
|
13756b5c72 | ||
|
|
2f7b885df9 | ||
|
|
b7f8117d40 | ||
|
|
550b8377bc | ||
|
|
98353533e5 | ||
|
|
af40cb6f00 | ||
|
|
669a7f8552 | ||
|
|
4a43321c81 | ||
|
|
94d43186f2 | ||
|
|
b946e31ec8 | ||
|
|
60ddb74cfe | ||
|
|
08d27dfd7b | ||
|
|
293a0aa80e | ||
|
|
9299a3e796 | ||
|
|
978fbc3250 | ||
|
|
6c531c4334 | ||
|
|
d90bd261f3 | ||
|
|
9d86ec8573 | ||
|
|
ceb09ee740 | ||
|
|
18032979d8 | ||
|
|
75ffa24e3a | ||
|
|
61abc4e5b6 | ||
|
|
18b76fcc5d | ||
|
|
e366ad1288 | ||
|
|
66ee79bd68 | ||
|
|
f97a29f6e1 | ||
|
|
85e6500065 | ||
|
|
4cb6181808 | ||
|
|
a75041e8dd | ||
|
|
abc8198a1f | ||
|
|
5b41844c75 | ||
|
|
3a9bbf604e | ||
|
|
59f1e2875a | ||
|
|
228db35287 | ||
|
|
9da9e85cba | ||
|
|
5b36a527ed | ||
|
|
48b4d1c412 | ||
|
|
67f12ede3b | ||
|
|
54304b971d | ||
|
|
2b572dff88 | ||
|
|
2df2da11f6 | ||
|
|
1fc5dba3d5 | ||
|
|
7935cfacc5 | ||
|
|
9b817248c5 | ||
|
|
f185711203 | ||
|
|
68dd84f1de | ||
|
|
94e5c3f30e | ||
|
|
580d231822 | ||
|
|
e7e44df039 | ||
|
|
34d4f5b14e | ||
|
|
8ce003a42c | ||
|
|
14bc3bf4ec | ||
|
|
53091e36a3 | ||
|
|
66866249a2 | ||
|
|
0cb39ed468 | ||
|
|
b0dd4c7d36 | ||
|
|
90f0d2ce49 | ||
|
|
423feac69b | ||
|
|
9403543671 | ||
|
|
3c9ac4489e | ||
|
|
686a0f3456 | ||
|
|
6d5592a201 | ||
|
|
e8c48981f9 | ||
|
|
5c4fff7f63 | ||
|
|
c8cee0b8ca | ||
|
|
b5614d0c6e | ||
|
|
c93e552068 | ||
|
|
050a5e1a15 | ||
|
|
c459eceee1 | ||
|
|
3b9e6c1cec | ||
|
|
86b7a0642f | ||
|
|
dd69c28d6f | ||
|
|
b59e75c259 | ||
|
|
2005dd9595 | ||
|
|
2cfc83eab7 | ||
|
|
3bef4a5da6 | ||
|
|
b5c5052608 | ||
|
|
19df4af2aa | ||
|
|
ecd922b5cf | ||
|
|
df0d696a62 | ||
|
|
87b02d3795 | ||
|
|
daea9fa19e | ||
|
|
ff5f5d0ef4 | ||
|
|
ec632aba15 | ||
|
|
220a9596f3 | ||
|
|
9e46a512b1 | ||
|
|
b11dfd7611 | ||
|
|
a90a2e7582 | ||
|
|
03c4405b3b | ||
|
|
e1cf8d8748 | ||
|
|
4fa21dd65b | ||
|
|
d46cc18afc | ||
|
|
d224a63bda | ||
|
|
61b6a2cad4 | ||
|
|
fe2ed6cf6f | ||
|
|
97269e143d | ||
|
|
6f404d0f04 | ||
|
|
ec8e3104c8 | ||
|
|
0b34f18045 | ||
|
|
f7d3abddba | ||
|
|
8b139e26a3 | ||
|
|
a5c610b0a3 | ||
|
|
43f0271b4e | ||
|
|
a70bb259c7 | ||
|
|
47ddb04e17 | ||
|
|
2eafe4340c | ||
|
|
3939ef72f8 | ||
|
|
113109f839 | ||
|
|
f91211eb17 | ||
|
|
c9e8d1573a | ||
|
|
1043dd8c0d | ||
|
|
e2f70a2dff | ||
|
|
32c7d5d352 | ||
|
|
25aa7244dc | ||
|
|
60deadba59 | ||
|
|
ebdd536676 | ||
|
|
4a17612bff | ||
|
|
0770c5829c | ||
|
|
e0236c02ce | ||
|
|
0dda8a7f4c | ||
|
|
6fcfcc3d6f | ||
|
|
3c85cef46c | ||
|
|
0af391cbe9 | ||
|
|
ff2d62d89f | ||
|
|
a633a3c33e | ||
|
|
398f9a0e40 | ||
|
|
fa8075c4fc | ||
|
|
39c723fc9c | ||
|
|
3dba2a73f1 | ||
|
|
014e2bbdb2 | ||
|
|
3936af99d8 | ||
|
|
21510387cf | ||
|
|
95f30c7a48 | ||
|
|
11cdde01f3 | ||
|
|
176941a4fb | ||
|
|
b1b2ad725c | ||
|
|
eb80f2c65a | ||
|
|
65e9415b98 | ||
|
|
ea8cf4bd0f | ||
|
|
118de86202 | ||
|
|
606d2ea87f | ||
|
|
998117b3ff | ||
|
|
942b01a54c | ||
|
|
739f350f45 | ||
|
|
bf66720a4d | ||
|
|
905e2e22ef | ||
|
|
d7110b4490 | ||
|
|
e11ba0f5d9 | ||
|
|
f5911bdc59 | ||
|
|
096fe37bb2 | ||
|
|
a988ce5544 | ||
|
|
7bf8c5a388 | ||
|
|
5b74459255 | ||
|
|
19ae71b2db | ||
|
|
d7e0c54dde | ||
|
|
cc40f732f9 | ||
|
|
3044310518 | ||
|
|
77a9ca6ba0 | ||
|
|
c6ec5a07f1 | ||
|
|
f37e4a94d3 | ||
|
|
71e06a536a | ||
|
|
8ceba27d62 | ||
|
|
68a71f91c6 | ||
|
|
84320266f2 | ||
|
|
f0e768da43 | ||
|
|
8c660ccb6f | ||
|
|
e2d74bcbe5 | ||
|
|
ca22b30e46 | ||
|
|
57bc90403e | ||
|
|
d7873e656b | ||
|
|
15ebad6e7d | ||
|
|
99af3281ee | ||
|
|
53df0e6619 | ||
|
|
8f8b14cbb6 | ||
|
|
d2456b6e4c | ||
|
|
67cb548bef | ||
|
|
a23b3c767f | ||
|
|
e1b4761c62 | ||
|
|
ed3442d7a5 | ||
|
|
426c1f4b85 | ||
|
|
b3984df1c6 | ||
|
|
381520ad92 | ||
|
|
a0e3c884d4 | ||
|
|
1bfefb5b4d | ||
|
|
a575e2cf5e | ||
|
|
33dadbf137 | ||
|
|
d3952a8a2c | ||
|
|
b06866ef97 | ||
|
|
09aed1020b | ||
|
|
85961b61a1 | ||
|
|
2a0cde8fd5 | ||
|
|
1a50334c46 | ||
|
|
e9511f7136 | ||
|
|
9a2bbd8acb | ||
|
|
0abc0a6f32 | ||
|
|
d37c9777b9 | ||
|
|
bff867013e | ||
|
|
094e94402d | ||
|
|
407d4e470a | ||
|
|
f199f832e9 | ||
|
|
5b6e2d69a5 | ||
|
|
ae9e2149a5 | ||
|
|
42302d0a59 | ||
|
|
f9b918ff40 | ||
|
|
bb9ebad74b | ||
|
|
fcf0e524bb | ||
|
|
73434a964c | ||
|
|
c3a7cc34fb | ||
|
|
ea0bca573d | ||
|
|
7527c8d3d7 | ||
|
|
c6c4d4211b | ||
|
|
b265677610 | ||
|
|
b424665e08 | ||
|
|
5e3f4ccc34 | ||
|
|
d8129c5698 | ||
|
|
3e1b3bc344 | ||
|
|
a29d3acc9e | ||
|
|
b9d98331c5 | ||
|
|
17da60068d | ||
|
|
f14c7bb443 | ||
|
|
1f32dd8edc | ||
|
|
5d07c03613 | ||
|
|
c275436f56 | ||
|
|
9e6249fa54 | ||
|
|
461724d287 | ||
|
|
fb0c3040c0 | ||
|
|
3b083b9911 | ||
|
|
b82af9dfbf | ||
|
|
1a73c45a08 | ||
|
|
3cdda8f8ab | ||
|
|
9f1e609aa0 | ||
|
|
4ef2529bf9 | ||
|
|
5346c93b62 | ||
|
|
4b71962031 | ||
|
|
63d10a0ac2 | ||
|
|
09ece861d1 | ||
|
|
836a4ec7b1 | ||
|
|
c1e6079836 | ||
|
|
3da7c6305a | ||
|
|
9f56faeedc | ||
|
|
fe3a33a092 | ||
|
|
0696fc0134 | ||
|
|
1694782b2a | ||
|
|
2026a78dc2 | ||
|
|
18e4d9fed1 | ||
|
|
dca281e810 | ||
|
|
93cab32db3 | ||
|
|
4472b83129 | ||
|
|
df1474b46e | ||
|
|
21914b4e2f | ||
|
|
f62b807174 | ||
|
|
9294634840 | ||
|
|
cc2013378d | ||
|
|
289c3fbb64 | ||
|
|
1085c317a5 | ||
|
|
6d3b5d66cd | ||
|
|
9cb2c549fa | ||
|
|
b88b6b3c23 | ||
|
|
9aac55317d | ||
|
|
8ea8b2e697 | ||
|
|
c498727471 | ||
|
|
4b38d4c96b | ||
|
|
88ac517df0 | ||
|
|
957c48b4c7 | ||
|
|
c477768e6f | ||
|
|
e9134b045a | ||
|
|
954858846d | ||
|
|
2592e6219b | ||
|
|
8ff2166855 | ||
|
|
c9ff90b949 | ||
|
|
31f8c3ef44 | ||
|
|
e0c5399119 | ||
|
|
5d3f6b0215 | ||
|
|
75ac944b9c | ||
|
|
515b5f2a39 | ||
|
|
34e34ad5a5 | ||
|
|
520c89a00a | ||
|
|
09f4711f40 | ||
|
|
c3ec62d6a6 | ||
|
|
0f5368fe11 | ||
|
|
fe405eb27b | ||
|
|
c1f152292b | ||
|
|
77d874e3c0 | ||
|
|
7967c97618 | ||
|
|
f3255df9c0 | ||
|
|
16f5b9e3c3 | ||
|
|
eca198d519 | ||
|
|
cd6cb959c0 | ||
|
|
9d0b4d85fc | ||
|
|
b2ca62f23a | ||
|
|
6d46e30fed | ||
|
|
33dccbb381 | ||
|
|
419ae29d90 | ||
|
|
d73bd0d2f6 | ||
|
|
3ea82eaaff | ||
|
|
565ef63873 | ||
|
|
30f895a5f3 | ||
|
|
1d918a283c | ||
|
|
39fc1e87e5 | ||
|
|
eb3639d3c5 | ||
|
|
56813d0203 | ||
|
|
8f924b82d9 | ||
|
|
a201c94833 | ||
|
|
fcb638ff90 | ||
|
|
5e84f6384f | ||
|
|
bf2336078c | ||
|
|
cd1f24a998 | ||
|
|
120c76c84b | ||
|
|
8622eda9e9 | ||
|
|
4b112620a3 | ||
|
|
13a9cd4797 | ||
|
|
0403fa8aa6 | ||
|
|
d0de4c625a | ||
|
|
8f81699868 | ||
|
|
e4000c0284 | ||
|
|
2363ddc330 | ||
|
|
ab6d0d4d50 | ||
|
|
6a7b63802c | ||
|
|
a35a7d2507 | ||
|
|
1c41b53551 | ||
|
|
724468ae2c | ||
|
|
a1e992b110 | ||
|
|
5ca0926d8d | ||
|
|
b8d839c0c0 | ||
|
|
8a355116d1 | ||
|
|
71c497a3a3 | ||
|
|
449ef08dcc | ||
|
|
505df1a99b | ||
|
|
0673e448f0 | ||
|
|
83583dc49d | ||
|
|
398c0fdff0 | ||
|
|
54d2451069 | ||
|
|
6c9907dd0e | ||
|
|
3861afacf5 | ||
|
|
840339c49d | ||
|
|
507d4bcd68 | ||
|
|
82fc67ae4d | ||
|
|
47d3e96b43 | ||
|
|
881feca1f2 | ||
|
|
c31a40246d | ||
|
|
71e3998d6c | ||
|
|
8ed0cc4300 | ||
|
|
44c84c0d8e | ||
|
|
3a69828e87 | ||
|
|
61107494a1 | ||
|
|
ced442cd38 | ||
|
|
48d1ef8fad | ||
|
|
dac6516057 | ||
|
|
2052b5bc3e | ||
|
|
ca18bf11ee | ||
|
|
3d5fcb5da6 | ||
|
|
4342e6bd21 | ||
|
|
50d49c63ed | ||
|
|
4c9966eed6 | ||
|
|
6101499c7c | ||
|
|
0b7b0977fc | ||
|
|
996f30b0e4 | ||
|
|
0341ec93fe | ||
|
|
67c4b99639 | ||
|
|
60c3ca49b4 | ||
|
|
c326ff7c6f | ||
|
|
7f5339e6c4 | ||
|
|
3a5e148b13 | ||
|
|
086c74556d | ||
|
|
b08e57e926 | ||
|
|
b7885abc44 | ||
|
|
323ba6c008 | ||
|
|
2b6b69fb12 | ||
|
|
8927d73b1c | ||
|
|
d7f66ba1ec | ||
|
|
3e43d6e34b | ||
|
|
e2ade2bfc4 | ||
|
|
9da93d074b | ||
|
|
e7f84c20bc | ||
|
|
66fbf00e7d | ||
|
|
cb8fa5f9c3 | ||
|
|
615f7b4453 | ||
|
|
b6d40b29a9 | ||
|
|
8d14e6ea44 | ||
|
|
1940d289bf | ||
|
|
9409642e08 | ||
|
|
21d46b7e0c | ||
|
|
6f6382f8d0 | ||
|
|
da0f76de6d | ||
|
|
8cee50eea5 | ||
|
|
4facca0bff | ||
|
|
00014dc2ac | ||
|
|
da5dbb4763 | ||
|
|
2d673e5b56 | ||
|
|
493d45f00f | ||
|
|
f266d92286 | ||
|
|
801dcbc5ef | ||
|
|
e17a3154ed | ||
|
|
7266cf66c7 | ||
|
|
07608bf45f | ||
|
|
897c7cfa8b | ||
|
|
bfbdf8969e | ||
|
|
a79b642638 | ||
|
|
21fd0047e3 | ||
|
|
d09f80ef18 | ||
|
|
6dafc85017 | ||
|
|
a0818a63e3 | ||
|
|
9ae56cb353 | ||
|
|
03019c912a | ||
|
|
a709b5b602 | ||
|
|
2f0edc2906 | ||
|
|
b7a0200aab | ||
|
|
a887b8e28b | ||
|
|
5056b29b0f | ||
|
|
d68b429cfb | ||
|
|
514f5858e4 | ||
|
|
e14d10263c | ||
|
|
7828362da9 | ||
|
|
a2b13e585c | ||
|
|
f14a8bfa4e | ||
|
|
b71bfdaafb | ||
|
|
cbe97cbf7f | ||
|
|
66b0a6ee15 | ||
|
|
0c7c4bfcf9 | ||
|
|
339f0d4097 | ||
|
|
563ef2aeb2 | ||
|
|
efa1aa9a8f | ||
|
|
3355464079 | ||
|
|
5ae2f0fd19 | ||
|
|
6a5aeaf948 | ||
|
|
792d7c9f6d | ||
|
|
8c44e0e0f8 | ||
|
|
a6df1f7be1 | ||
|
|
897efe1837 | ||
|
|
b5dc1eedb8 | ||
|
|
3cbd561690 | ||
|
|
27666089b9 | ||
|
|
4be6ab2692 | ||
|
|
83a22d059c | ||
|
|
e8881b0d3e | ||
|
|
8b13673c19 | ||
|
|
8e62063811 | ||
|
|
df40268254 | ||
|
|
647514a5d0 | ||
|
|
c8ddccdef4 | ||
|
|
662ea5abe4 | ||
|
|
70c5e91d0f | ||
|
|
b20484e803 | ||
|
|
8c91cf7dba | ||
|
|
056c09942d | ||
|
|
a4c04ad230 | ||
|
|
8589134f16 | ||
|
|
09465a9083 | ||
|
|
5fc901d4f3 |
No files matched your search
@@ -0,0 +1,89 @@
|
|||||||
|
---
|
||||||
|
AlignConsecutiveMacros: Consecutive
|
||||||
|
AlignConsecutiveAssignments: None
|
||||||
|
AlignConsecutiveBitFields: None
|
||||||
|
AlignConsecutiveDeclarations: None
|
||||||
|
AlignEscapedNewlines: Right
|
||||||
|
AlignOperands: Align
|
||||||
|
AlignTrailingComments: true
|
||||||
|
|
||||||
|
AllowAllArgumentsOnNextLine: true
|
||||||
|
AllowAllParametersOfDeclarationOnNextLine: true
|
||||||
|
AllowShortEnumsOnASingleLine: true
|
||||||
|
AllowShortBlocksOnASingleLine: Never
|
||||||
|
AllowShortCaseLabelsOnASingleLine: false
|
||||||
|
AllowShortFunctionsOnASingleLine: All
|
||||||
|
AllowShortIfStatementsOnASingleLine: Never
|
||||||
|
AllowShortLoopsOnASingleLine: false
|
||||||
|
|
||||||
|
AlwaysBreakAfterDefinitionReturnType: All
|
||||||
|
AlwaysBreakAfterReturnType: AllDefinitions
|
||||||
|
AlwaysBreakBeforeMultilineStrings: false
|
||||||
|
AlwaysBreakTemplateDeclarations: MultiLine
|
||||||
|
|
||||||
|
# Custom brace breaking
|
||||||
|
BreakBeforeBraces: Custom
|
||||||
|
BraceWrapping:
|
||||||
|
AfterCaseLabel: true
|
||||||
|
AfterClass: true
|
||||||
|
AfterControlStatement: Never
|
||||||
|
AfterEnum: true
|
||||||
|
AfterFunction: true
|
||||||
|
AfterNamespace: true
|
||||||
|
AfterObjCDeclaration: true
|
||||||
|
AfterStruct: true
|
||||||
|
AfterUnion: true
|
||||||
|
AfterExternBlock: false
|
||||||
|
BeforeElse: false
|
||||||
|
BeforeWhile: true
|
||||||
|
IndentBraces: false
|
||||||
|
SplitEmptyFunction: true
|
||||||
|
SplitEmptyRecord: true
|
||||||
|
|
||||||
|
# Make the closing brace of container literals go to a new line
|
||||||
|
Cpp11BracedListStyle: false
|
||||||
|
|
||||||
|
# Never format includes
|
||||||
|
IncludeBlocks: Preserve
|
||||||
|
# clang-format version 4.0 through 12.0:
|
||||||
|
#SortIncludes: false
|
||||||
|
# clang-format version 13.0+:
|
||||||
|
#SortIncludes: Never
|
||||||
|
|
||||||
|
# No length limit, in case it breaks macros, you can
|
||||||
|
# disable it with /* clang-format off/on */ comments
|
||||||
|
ColumnLimit: 0
|
||||||
|
|
||||||
|
IndentWidth: 4
|
||||||
|
ContinuationIndentWidth: 4
|
||||||
|
IndentCaseLabels: false
|
||||||
|
IndentCaseBlocks: false
|
||||||
|
IndentGotoLabels: true
|
||||||
|
IndentPPDirectives: None
|
||||||
|
IndentExternBlock: NoIndent
|
||||||
|
|
||||||
|
SpaceAfterCStyleCast: true
|
||||||
|
SpacesInCStyleCastParentheses: false
|
||||||
|
SpacesInConditionalStatement: false
|
||||||
|
SpacesInContainerLiterals: true
|
||||||
|
SpaceBeforeAssignmentOperators: true
|
||||||
|
SpaceBeforeCaseColon: false
|
||||||
|
SpaceBeforeParens: ControlStatements
|
||||||
|
SpaceAroundPointerQualifiers: Default
|
||||||
|
SpaceInEmptyBlock: false
|
||||||
|
SpaceInEmptyParentheses: false
|
||||||
|
|
||||||
|
UseCRLF: false
|
||||||
|
UseTab: Never
|
||||||
|
|
||||||
|
ForEachMacros:
|
||||||
|
[
|
||||||
|
"spa_list_for_each",
|
||||||
|
"spa_list_for_each_safe",
|
||||||
|
"wl_list_for_each",
|
||||||
|
"wl_array_for_each",
|
||||||
|
"udev_list_entry_foreach",
|
||||||
|
]
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
@@ -0,0 +1,77 @@
|
|||||||
|
# For format see editorconfig.org
|
||||||
|
# Copyright 2022 Collabora Ltd.
|
||||||
|
# SPDX-License-Identifier: Zlib
|
||||||
|
|
||||||
|
root = true
|
||||||
|
|
||||||
|
[*.{c,cg,cpp,gradle,h,java,m,metal,pl,py,S,sh,txt}]
|
||||||
|
indent_size = 4
|
||||||
|
indent_style = space
|
||||||
|
|
||||||
|
[*.{html,js,json,m4,yml,yaml,vcxproj,vcxproj.filters}]
|
||||||
|
indent_size = 2
|
||||||
|
indent_style = space
|
||||||
|
|
||||||
|
[*.xml]
|
||||||
|
indent_size = 4
|
||||||
|
indent_style = space
|
||||||
|
|
||||||
|
[{CMakeLists.txt,sdl2-config*.cmake.in,cmake/*.cmake}]
|
||||||
|
indent_size = 2
|
||||||
|
indent_style = space
|
||||||
|
|
||||||
|
[{cmake_uninstall.cmake.in,test/CMakeLists.txt}]
|
||||||
|
indent_size = 4
|
||||||
|
indent_style = space
|
||||||
|
|
||||||
|
[configure.ac]
|
||||||
|
# Inconsistently 2-, 4- or occasionally 3-space indented, but mostly 4,
|
||||||
|
# so let's use 4 for new code
|
||||||
|
indent_size = 4
|
||||||
|
indent_style = space
|
||||||
|
|
||||||
|
[{Makefile.*,*.mk,*.sln,*.pbxproj,*.plist}]
|
||||||
|
indent_size = 8
|
||||||
|
indent_style = tab
|
||||||
|
tab_width = 8
|
||||||
|
|
||||||
|
[Makefile.os2]
|
||||||
|
indent_size = 4
|
||||||
|
indent_style = space
|
||||||
|
|
||||||
|
[test/Makefile.os2]
|
||||||
|
indent_size = 2
|
||||||
|
indent_style = space
|
||||||
|
|
||||||
|
[{src/core/os2/geniconv/makefile,src/core/os2/geniconv/os2cp.c}]
|
||||||
|
indent_size = 2
|
||||||
|
indent_style = space
|
||||||
|
|
||||||
|
[src/joystick/controller_type.*]
|
||||||
|
indent_style = tab
|
||||||
|
|
||||||
|
[src/joystick/hidapi/steam/*.h]
|
||||||
|
indent_style = tab
|
||||||
|
|
||||||
|
[src/libm/*.c]
|
||||||
|
indent_style = tab
|
||||||
|
|
||||||
|
[src/test/SDL_test_{crc32,md5,random}.c]
|
||||||
|
indent_size = 2
|
||||||
|
indent_style = space
|
||||||
|
|
||||||
|
[src/video/yuv2rgb/*.{c,h}]
|
||||||
|
indent_style = tab
|
||||||
|
|
||||||
|
[src/wayland-protocols/*.xml]
|
||||||
|
indent_size = 2
|
||||||
|
indent_style = space
|
||||||
|
|
||||||
|
[*.{markdown,md}]
|
||||||
|
indent_size = 4
|
||||||
|
indent_style = space
|
||||||
|
# Markdown syntax treats tabs as 4 spaces
|
||||||
|
tab_width = 4
|
||||||
|
|
||||||
|
[{*.bat,*.rc}]
|
||||||
|
end_of_line = crlf
|
||||||
@@ -4,11 +4,57 @@ on: [push, pull_request]
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
android:
|
android:
|
||||||
|
name: ${{ matrix.platform.name }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
platform:
|
||||||
|
- { name: Android.mk }
|
||||||
|
- { name: CMake, cmake: '-DCMAKE_SYSTEM_PROCESSOR=aarch64 -DANDROID_PLATFORM=android-23 -DCMAKE_SYSTEM_VERSION=23 ' }
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- uses: nttld/setup-ndk@v1
|
- uses: nttld/setup-ndk@v1
|
||||||
|
id: setup_ndk
|
||||||
with:
|
with:
|
||||||
ndk-version: r21e
|
ndk-version: r21e
|
||||||
- name: Build
|
- name: Build (Android.mk)
|
||||||
run: ./build-scripts/androidbuildlibs.sh
|
if: ${{ matrix.platform.name == 'Android.mk' }}
|
||||||
|
run: |
|
||||||
|
./build-scripts/androidbuildlibs.sh
|
||||||
|
- name: Setup (CMake)
|
||||||
|
if: ${{ matrix.platform.name == 'CMake' }}
|
||||||
|
run: |
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install ninja-build
|
||||||
|
- name: Configure (CMake)
|
||||||
|
if: ${{ matrix.platform.name == 'CMake' }}
|
||||||
|
run: |
|
||||||
|
cmake -B build \
|
||||||
|
-DCMAKE_TOOLCHAIN_FILE=${{ steps.setup_ndk.outputs.ndk-path }}/build/cmake/android.toolchain.cmake \
|
||||||
|
${{ matrix.platform.cmake }} \
|
||||||
|
-DSDL_STATIC_PIC=ON \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=prefix \
|
||||||
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-GNinja
|
||||||
|
- name: Build (CMake)
|
||||||
|
if: ${{ matrix.platform.name == 'CMake' }}
|
||||||
|
run: |
|
||||||
|
cmake --build build --config Release --parallel --verbose
|
||||||
|
- name: Install (CMake)
|
||||||
|
if: ${{ matrix.platform.name == 'CMake' }}
|
||||||
|
run: |
|
||||||
|
cmake --install build --config Release
|
||||||
|
echo "SDL2_DIR=$(pwd)/prefix" >> $GITHUB_ENV
|
||||||
|
( cd prefix; find ) | LC_ALL=C sort -u
|
||||||
|
- name: Verify CMake configuration files
|
||||||
|
if: ${{ matrix.platform.name == 'CMake' }}
|
||||||
|
run: |
|
||||||
|
cmake -S cmake/test -B cmake_config_build -G Ninja \
|
||||||
|
-DCMAKE_TOOLCHAIN_FILE=${{ steps.setup_ndk.outputs.ndk-path }}/build/cmake/android.toolchain.cmake \
|
||||||
|
${{ matrix.platform.cmake }} \
|
||||||
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DCMAKE_PREFIX_PATH=${{ env.SDL2_DIR }}
|
||||||
|
cmake --build cmake_config_build --verbose
|
||||||
@@ -11,6 +11,27 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
version: 2.0.27
|
version: 2.0.27
|
||||||
- name: Configure CMake
|
- name: Configure CMake
|
||||||
run: emcmake cmake -B build
|
run: |
|
||||||
|
emcmake cmake -S . -B build \
|
||||||
|
-DSDL_TESTS=ON \
|
||||||
|
-DSDL_INSTALL_TESTS=ON \
|
||||||
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=prefix
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cmake --build build/
|
run: cmake --build build/ --verbose
|
||||||
|
- name: Run build-time tests
|
||||||
|
run: |
|
||||||
|
set -eu
|
||||||
|
export SDL_TESTS_QUICK=1
|
||||||
|
ctest -VV --test-dir build/
|
||||||
|
- name: Install
|
||||||
|
run: |
|
||||||
|
echo "SDL2_DIR=$(pwd)/prefix" >> $GITHUB_ENV
|
||||||
|
cmake --install build/
|
||||||
|
- name: Verify CMake configuration files
|
||||||
|
run: |
|
||||||
|
emcmake cmake -S cmake/test -B cmake_config_build \
|
||||||
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DTEST_SHARED=FALSE \
|
||||||
|
-DCMAKE_PREFIX_PATH=${{ env.SDL2_DIR }}
|
||||||
|
cmake --build cmake_config_build --verbose
|
||||||
+149
-17
@@ -15,15 +15,12 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
platform:
|
platform:
|
||||||
- { name: Windows (x64), os: windows-latest, shell: pwsh, flags: -A x64 }
|
- { name: Windows (mingw32), os: windows-latest, shell: 'msys2 {0}', msystem: mingw32, msys-env: mingw-w64-i686, cc: gcc }
|
||||||
- { name: Windows (x86), os: windows-latest, shell: pwsh, flags: -A Win32 }
|
- { name: Windows (mingw64+clang), os: windows-latest, shell: 'msys2 {0}', msystem: mingw64, msys-env: mingw-w64-x86_64, cc: clang }
|
||||||
- { name: Windows (clang-cl x64), os: windows-latest, shell: pwsh, flags: -T ClangCL -A x64 }
|
- { name: Linux (CMake), os: ubuntu-20.04, shell: sh, flags: true }
|
||||||
- { name: Windows (clang-cl x86), os: windows-latest, shell: pwsh, flags: -T ClangCL -A Win32 }
|
- { name: Linux (autotools), os: ubuntu-20.04, shell: sh, autotools: true }
|
||||||
- { name: Windows (ARM64), os: windows-latest, shell: pwsh, flags: -A ARM64 }
|
- { name: MacOS (CMake), os: macos-latest, shell: sh }
|
||||||
- { name: Windows (mingw32), os: windows-latest, shell: 'msys2 {0}', msystem: mingw32, msys-env: mingw-w64-i686 }
|
- { name: MacOS (autotools), os: macos-latest, shell: sh, autotools: true }
|
||||||
- { name: Windows (mingw64), os: windows-latest, shell: 'msys2 {0}', msystem: mingw64, msys-env: mingw-w64-x86_64 }
|
|
||||||
- { name: Linux, os: ubuntu-20.04, shell: sh, flags: -GNinja }
|
|
||||||
- { name: MacOS, os: macos-latest, shell: sh }
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Set up MSYS2
|
- name: Set up MSYS2
|
||||||
@@ -32,16 +29,30 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
msystem: ${{ matrix.platform.msystem }}
|
msystem: ${{ matrix.platform.msystem }}
|
||||||
install: >-
|
install: >-
|
||||||
${{ matrix.platform.msys-env }}-gcc
|
${{ matrix.platform.msys-env }}-${{ matrix.platform.cc }}
|
||||||
${{ matrix.platform.msys-env }}-cmake
|
${{ matrix.platform.msys-env }}-cmake
|
||||||
${{ matrix.platform.msys-env }}-ninja
|
${{ matrix.platform.msys-env }}-ninja
|
||||||
${{ matrix.platform.msys-env }}-pkg-config
|
${{ matrix.platform.msys-env }}-pkg-config
|
||||||
|
- name: Configure MSYS2 compiler
|
||||||
|
if: matrix.platform.shell == 'msys2 {0}'
|
||||||
|
run: |
|
||||||
|
if test x${{ matrix.platform.cc}} == xgcc; then
|
||||||
|
echo "CC=gcc" >> $GITHUB_ENV
|
||||||
|
echo "CXX=g++" >> $GITHUB_ENV
|
||||||
|
fi
|
||||||
|
if test x${{ matrix.platform.cc}} == xclang; then
|
||||||
|
echo "CC=clang" >> $GITHUB_ENV
|
||||||
|
echo "CXX=clang++" >> $GITHUB_ENV
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Setup Linux dependencies
|
- name: Setup Linux dependencies
|
||||||
if: runner.os == 'Linux'
|
if: runner.os == 'Linux'
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install wayland-protocols \
|
sudo apt-get install \
|
||||||
|
autoconf \
|
||||||
|
gnome-desktop-testing \
|
||||||
|
wayland-protocols \
|
||||||
pkg-config \
|
pkg-config \
|
||||||
ninja-build \
|
ninja-build \
|
||||||
libasound2-dev \
|
libasound2-dev \
|
||||||
@@ -78,11 +89,132 @@ jobs:
|
|||||||
git clone --depth 1 https://gitlab.gnome.org/jadahl/libdecor.git --branch 0.1.0
|
git clone --depth 1 https://gitlab.gnome.org/jadahl/libdecor.git --branch 0.1.0
|
||||||
cd libdecor
|
cd libdecor
|
||||||
meson build --buildtype release -Ddemo=false -Ddbus=disabled
|
meson build --buildtype release -Ddemo=false -Ddbus=disabled
|
||||||
ninja -C build
|
ninja -v -C build
|
||||||
sudo meson install -C build
|
sudo meson install -C build
|
||||||
|
- name: Setup Macos dependencies
|
||||||
|
if: runner.os == 'macOS'
|
||||||
|
run: |
|
||||||
|
brew install \
|
||||||
|
ninja
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Configure CMake
|
- name: Check that versioning is consistent
|
||||||
run: cmake -B build -DSDL_TEST=ON ${{ matrix.platform.flags }}
|
# We only need to run this once: arbitrarily use the Linux/CMake build
|
||||||
- name: Build
|
if: "runner.os == 'Linux' && ! matrix.platform.autotools"
|
||||||
run: cmake --build build/
|
run: ./test/versioning.sh
|
||||||
|
- name: Configure (CMake)
|
||||||
|
if: "! matrix.platform.autotools"
|
||||||
|
run: |
|
||||||
|
cmake -S . -B build -G Ninja \
|
||||||
|
-DSDL_TESTS=ON \
|
||||||
|
-DSDL_INSTALL_TESTS=ON \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=cmake_prefix \
|
||||||
|
-DCMAKE_BUILD_TYPE=Release
|
||||||
|
- name: Build (CMake)
|
||||||
|
if: "! matrix.platform.autotools"
|
||||||
|
run: |
|
||||||
|
cmake --build build/ --config Release --verbose --parallel
|
||||||
|
- name: Run build-time tests (CMake)
|
||||||
|
if: "! matrix.platform.autotools"
|
||||||
|
run: |
|
||||||
|
set -eu
|
||||||
|
export SDL_TESTS_QUICK=1
|
||||||
|
ctest -VV --test-dir build/
|
||||||
|
- name: Install (CMake)
|
||||||
|
if: "! matrix.platform.autotools"
|
||||||
|
run: |
|
||||||
|
set -eu
|
||||||
|
cmake --install build/ --config Release
|
||||||
|
echo "SDL2_DIR=$(pwd)/cmake_prefix" >> $GITHUB_ENV
|
||||||
|
( cd cmake_prefix; find ) | LC_ALL=C sort -u
|
||||||
|
- name: Configure (Autotools)
|
||||||
|
if: matrix.platform.autotools
|
||||||
|
run: |
|
||||||
|
set -eu
|
||||||
|
rm -fr build-autotools
|
||||||
|
mkdir build-autotools
|
||||||
|
./autogen.sh
|
||||||
|
(
|
||||||
|
cd build-autotools
|
||||||
|
${{ github.workspace }}/configure \
|
||||||
|
--prefix=${{ github.workspace }}/autotools_prefix \
|
||||||
|
)
|
||||||
|
if test "${{ runner.os }}" != "macOS" ; then
|
||||||
|
curdir="$(pwd)"
|
||||||
|
multiarch="$(dpkg-architecture -qDEB_HOST_MULTIARCH)"
|
||||||
|
(
|
||||||
|
mkdir -p build-autotools/test
|
||||||
|
cd build-autotools/test
|
||||||
|
${{ github.workspace }}/test/configure \
|
||||||
|
--x-includes=/usr/include \
|
||||||
|
--x-libraries="/usr/lib/${multiarch}" \
|
||||||
|
--prefix=${{ github.workspace }}/autotools_prefix \
|
||||||
|
SDL_CFLAGS="-I${curdir}/include" \
|
||||||
|
SDL_LIBS="-L${curdir}/build-autotools/build/.libs -lSDL2" \
|
||||||
|
ac_cv_lib_SDL2_ttf_TTF_Init=no \
|
||||||
|
${NULL+}
|
||||||
|
)
|
||||||
|
fi
|
||||||
|
- name: Build (Autotools)
|
||||||
|
if: matrix.platform.autotools
|
||||||
|
run: |
|
||||||
|
set -eu
|
||||||
|
parallel="$(getconf _NPROCESSORS_ONLN)"
|
||||||
|
make -j"${parallel}" -C build-autotools V=1
|
||||||
|
if test "${{ runner.os }}" != "macOS" ; then
|
||||||
|
make -j"${parallel}" -C build-autotools/test V=1
|
||||||
|
fi
|
||||||
|
- name: Run build-time tests (Autotools)
|
||||||
|
if: ${{ matrix.platform.autotools && (runner.os != 'macOS') }}
|
||||||
|
run: |
|
||||||
|
set -eu
|
||||||
|
curdir="$(pwd)"
|
||||||
|
parallel="$(getconf _NPROCESSORS_ONLN)"
|
||||||
|
export SDL_TESTS_QUICK=1
|
||||||
|
make -j"${parallel}" -C build-autotools/test check LD_LIBRARY_PATH="${curdir}/build-autotools/build/.libs"
|
||||||
|
- name: Install (Autotools)
|
||||||
|
if: matrix.platform.autotools
|
||||||
|
run: |
|
||||||
|
set -eu
|
||||||
|
curdir="$(pwd)"
|
||||||
|
parallel="$(getconf _NPROCESSORS_ONLN)"
|
||||||
|
make -j"${parallel}" -C build-autotools install V=1
|
||||||
|
if test "${{ runner.os }}" != "macOS" ; then
|
||||||
|
make -j"${parallel}" -C build-autotools/test install V=1
|
||||||
|
fi
|
||||||
|
( cd autotools_prefix; find . ) | LC_ALL=C sort -u
|
||||||
|
echo "SDL2_DIR=$(pwd)/autotools_prefix" >> $GITHUB_ENV
|
||||||
|
- name: Verify CMake configuration files
|
||||||
|
run: |
|
||||||
|
cmake -S cmake/test -B cmake_config_build -G Ninja \
|
||||||
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DCMAKE_PREFIX_PATH=${{ env.SDL2_DIR }}
|
||||||
|
cmake --build cmake_config_build --verbose
|
||||||
|
- name: Distcheck (Autotools)
|
||||||
|
if: matrix.platform.autotools
|
||||||
|
run: |
|
||||||
|
set -eu
|
||||||
|
parallel="$(getconf _NPROCESSORS_ONLN)"
|
||||||
|
make -j"${parallel}" -C build-autotools dist V=1
|
||||||
|
# Similar to Automake `make distcheck`: check that the tarball
|
||||||
|
# release is sufficient to do a new build
|
||||||
|
mkdir distcheck
|
||||||
|
tar -C distcheck -zxf build-autotools/SDL2-*.tar.gz
|
||||||
|
( cd distcheck/SDL2-* && ./configure )
|
||||||
|
make -j"${parallel}" -C distcheck/SDL2-*
|
||||||
|
- name: Run installed-tests (Autotools)
|
||||||
|
if: "runner.os == 'Linux' && matrix.platform.autotools"
|
||||||
|
run: |
|
||||||
|
set -eu
|
||||||
|
parallel="$(getconf _NPROCESSORS_ONLN)"
|
||||||
|
sudo make -j"${parallel}" -C build-autotools install
|
||||||
|
sudo make -j"${parallel}" -C build-autotools/test install
|
||||||
|
export SDL_TESTS_QUICK=1
|
||||||
|
# We need to set LD_LIBRARY_PATH because it isn't in the default
|
||||||
|
# linker search path. We don't need to set XDG_DATA_DIRS for
|
||||||
|
# ginsttest-runner, because /usr/local/share *is* in the default
|
||||||
|
# search path for that.
|
||||||
|
env --chdir=/ \
|
||||||
|
LD_LIBRARY_PATH=/usr/local/lib \
|
||||||
|
SDL_AUDIODRIVER=dummy \
|
||||||
|
SDL_VIDEODRIVER=dummy \
|
||||||
|
ginsttest-runner --tap SDL2
|
||||||
@@ -0,0 +1,57 @@
|
|||||||
|
name: Build (MSVC)
|
||||||
|
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
Build:
|
||||||
|
name: ${{ matrix.platform.name }}
|
||||||
|
runs-on: windows-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
platform:
|
||||||
|
- { name: Windows (x64), flags: -A x64, project: VisualC/SDL.sln, projectflags: '/p:Platform=x64' }
|
||||||
|
- { name: Windows (x86), flags: -A Win32, project: VisualC/SDL.sln, projectflags: '/p:Platform=Win32' }
|
||||||
|
- { name: Windows static VCRT (x64), flags: -A x64 -DSDL_FORCE_STATIC_VCRT=ON }
|
||||||
|
- { name: Windows static VCRT (x86), flags: -A Win32 -DSDL_FORCE_STATIC_VCRT=ON }
|
||||||
|
- { name: Windows (clang-cl x64), flags: -T ClangCL -A x64 }
|
||||||
|
- { name: Windows (clang-cl x86), flags: -T ClangCL -A Win32 }
|
||||||
|
- { name: Windows (ARM), flags: -A ARM }
|
||||||
|
- { name: Windows (ARM64), flags: -A ARM64 }
|
||||||
|
- { name: UWP (x64), flags: -A x64 -DCMAKE_SYSTEM_NAME=WindowsStore -DCMAKE_SYSTEM_VERSION="10.0" -DSDL_TESTS=OFF,
|
||||||
|
project: VisualC-WinRT/SDL-UWP.sln, projectflags: '/p:Platform=x64 /p:WindowsTargetPlatformVersion=10.0.17763.0' }
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Configure CMake
|
||||||
|
run: cmake -S . -B build `
|
||||||
|
-DSDL_TESTS=ON `
|
||||||
|
-DSDL_INSTALL_TESTS=ON `
|
||||||
|
${{ matrix.platform.flags }} `
|
||||||
|
-DCMAKE_INSTALL_PREFIX=prefix
|
||||||
|
- name: Build CMake
|
||||||
|
run: cmake --build build/ --config Release --parallel
|
||||||
|
- name: Run build-time tests
|
||||||
|
if: "! contains(matrix.platform.name, 'ARM')"
|
||||||
|
run: |
|
||||||
|
$env:SDL_TESTS_QUICK=1
|
||||||
|
ctest -VV --test-dir build/ -C Release
|
||||||
|
- name: Install CMake
|
||||||
|
run: |
|
||||||
|
echo "SDL2_DIR=$Env:GITHUB_WORKSPACE/prefix" >> $Env:GITHUB_ENV
|
||||||
|
cmake --install build/
|
||||||
|
- name: Verify CMake configuration files
|
||||||
|
if: ${{ !contains(matrix.platform.name, 'UWP') }} # FIXME: cmake/test/CMakeLists.txt should support UWP
|
||||||
|
run: |
|
||||||
|
cmake -S cmake/test -B cmake_config_build `
|
||||||
|
-DCMAKE_PREFIX_PATH=${{ env.SDL2_DIR }} `
|
||||||
|
${{ matrix.platform.flags }}
|
||||||
|
cmake --build cmake_config_build --config Release
|
||||||
|
|
||||||
|
- name: Add msbuild to PATH
|
||||||
|
if: ${{ matrix.platform.project != '' }}
|
||||||
|
uses: microsoft/setup-msbuild@v1.0.2
|
||||||
|
- name: Build msbuild
|
||||||
|
if: ${{ matrix.platform.project != '' }}
|
||||||
|
run: msbuild ${{ matrix.platform.project }} /m /p:BuildInParallel=true /p:Configuration=Release ${{ matrix.platform.projectflags }}
|
||||||
@@ -0,0 +1,30 @@
|
|||||||
|
name: Build (Sony Playstation 2)
|
||||||
|
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
ps2:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container: ps2dev/ps2dev:latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Setup dependencies
|
||||||
|
run: |
|
||||||
|
apk update
|
||||||
|
apk add cmake gmp mpc1 mpfr4 make
|
||||||
|
- name: Configure CMake
|
||||||
|
run: cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release -DCMAKE_TOOLCHAIN_FILE=$PS2DEV/ps2sdk/ps2dev.cmake -DSDL_TESTS=ON
|
||||||
|
- name: Build
|
||||||
|
run: cmake --build build
|
||||||
|
|
||||||
|
- name: Get short SHA
|
||||||
|
id: slug
|
||||||
|
run: echo "::set-output name=sha8::$(echo ${GITHUB_SHA} | cut -c1-8)"
|
||||||
|
|
||||||
|
- name: Upload artifacts
|
||||||
|
if: ${{ success() }}
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
|
with:
|
||||||
|
name: tests-${{ steps.slug.outputs.sha8 }}
|
||||||
|
path: |
|
||||||
|
build/test
|
||||||
@@ -0,0 +1,37 @@
|
|||||||
|
name: Build (Sony Playstation Portable)
|
||||||
|
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
psp:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
container: pspdev/pspdev:latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Setup dependencies
|
||||||
|
run: |
|
||||||
|
apk update
|
||||||
|
apk add cmake gmp mpc1 mpfr4 make
|
||||||
|
- name: Configure CMake
|
||||||
|
run: |
|
||||||
|
cmake -S . -B build \
|
||||||
|
-DCMAKE_TOOLCHAIN_FILE=$PSPDEV/psp/share/pspdev.cmake \
|
||||||
|
-DSDL_TESTS=ON \
|
||||||
|
-DSDL_INSTALL_TESTS=ON \
|
||||||
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=prefix
|
||||||
|
- name: Build
|
||||||
|
run: cmake --build build --config Release
|
||||||
|
- name: Install
|
||||||
|
run: |
|
||||||
|
echo "SDL2_DIR=$(pwd)/prefix" >> $GITHUB_ENV
|
||||||
|
cmake --install build --config Release
|
||||||
|
( cd prefix; find ) | LC_ALL=C sort -u
|
||||||
|
- name: Verify CMake configuration files
|
||||||
|
run: |
|
||||||
|
cmake -S cmake/test -B cmake_config_build \
|
||||||
|
-DCMAKE_TOOLCHAIN_FILE=$PSPDEV/psp/share/pspdev.cmake \
|
||||||
|
-DCMAKE_PREFIX_PATH=${{ env.SDL2_DIR }} \
|
||||||
|
-DTEST_SHARED=FALSE \
|
||||||
|
-DCMAKE_BUILD_TYPE=Release
|
||||||
|
cmake --build cmake_config_build --verbose
|
||||||
@@ -3,26 +3,65 @@ name: Build (RISC OS)
|
|||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
autotools:
|
Build:
|
||||||
name: autotools
|
name: ${{ matrix.platform.name }}
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: riscosdotinfo/riscos-gccsdk-4.7:latest
|
container: riscosdotinfo/riscos-gccsdk-4.7:latest
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: Configure
|
|
||||||
run: ./configure --host=arm-unknown-riscos --disable-gcc-atomics
|
|
||||||
- name: Build
|
|
||||||
run: make -j`nproc`
|
|
||||||
|
|
||||||
cmake:
|
strategy:
|
||||||
name: CMake
|
fail-fast: false
|
||||||
runs-on: ubuntu-latest
|
matrix:
|
||||||
container: riscosdotinfo/riscos-gccsdk-4.7:latest
|
platform:
|
||||||
|
- { name: autotools, test_args: '-DTEST_SHARED=FALSE' } # FIXME: autotools should build and install shared libraries
|
||||||
|
- { name: CMake }
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Setup dependencies
|
- name: Setup dependencies
|
||||||
run: apt-get update && apt-get install -y cmake ninja-build
|
run: apt-get update && apt-get install -y cmake ninja-build
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Configure CMake
|
- name: Configure (autotools)
|
||||||
run: cmake -S. -Bbuild -G Ninja -DCMAKE_TOOLCHAIN_FILE=/home/riscos/env/toolchain-riscos.cmake -DRISCOS=ON -DSDL_GCC_ATOMICS=OFF -DCMAKE_BUILD_TYPE=Release
|
if: ${{ contains(matrix.platform.name, 'autotools') }}
|
||||||
- name: Build
|
run: |
|
||||||
run: cmake --build build
|
mkdir build_autotools
|
||||||
|
cd build_autotools
|
||||||
|
../configure \
|
||||||
|
--host=arm-unknown-riscos \
|
||||||
|
--disable-gcc-atomics \
|
||||||
|
--prefix=${{ github.workspace }}/prefix_autotools
|
||||||
|
- name: Build (autotools)
|
||||||
|
if: ${{ contains(matrix.platform.name, 'autotools') }}
|
||||||
|
run: make -C build_autotools -j`nproc` V=1
|
||||||
|
- name: Install (autotools)
|
||||||
|
if: ${{ contains(matrix.platform.name, 'autotools') }}
|
||||||
|
run: |
|
||||||
|
echo "SDL2_DIR=${{ github.workspace }}/prefix_autotools" >> $GITHUB_ENV
|
||||||
|
make -C build_autotools install
|
||||||
|
( cd ${{ github.workspace }}/prefix_autotools; find ) | LC_ALL=C sort -u
|
||||||
|
- name: Configure (CMake)
|
||||||
|
if: ${{ contains(matrix.platform.name, 'CMake') }}
|
||||||
|
run: |
|
||||||
|
cmake -S . -B build -G Ninja \
|
||||||
|
-DCMAKE_TOOLCHAIN_FILE=/home/riscos/env/toolchain-riscos.cmake \
|
||||||
|
-DRISCOS=ON \
|
||||||
|
-DSDL_GCC_ATOMICS=OFF \
|
||||||
|
-DSDL_TESTS=ON \
|
||||||
|
-DSDL_INSTALL_TESTS=ON \
|
||||||
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/prefix_cmake
|
||||||
|
- name: Build (CMake)
|
||||||
|
if: ${{ contains(matrix.platform.name, 'CMake') }}
|
||||||
|
run: cmake --build build --verbose
|
||||||
|
- name: Install (CMake)
|
||||||
|
if: ${{ contains(matrix.platform.name, 'CMake') }}
|
||||||
|
run: |
|
||||||
|
echo "SDL2_DIR=${{ github.workspace }}/prefix_cmake" >> $GITHUB_ENV
|
||||||
|
cmake --install build/
|
||||||
|
( cd ${{ github.workspace }}/prefix_cmake; find ) | LC_ALL=C sort -u
|
||||||
|
- name: Verify CMake configuration files
|
||||||
|
run: |
|
||||||
|
cmake -S cmake/test -B cmake_config_build -G Ninja \
|
||||||
|
-DCMAKE_TOOLCHAIN_FILE=/home/riscos/env/toolchain-riscos.cmake \
|
||||||
|
-DCMAKE_PREFIX_PATH=${{ env.SDL2_DIR }} \
|
||||||
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
${{ matrix.platform.test_args }}
|
||||||
|
cmake --build cmake_config_build --verbose
|
||||||
@@ -16,8 +16,27 @@ jobs:
|
|||||||
- name: Install CMake and GNU Make
|
- name: Install CMake and GNU Make
|
||||||
run: |
|
run: |
|
||||||
apk update
|
apk update
|
||||||
apk add cmake make
|
apk add cmake make ninja
|
||||||
- name: Configure CMake
|
- name: Configure CMake
|
||||||
run: cmake -S. -Bbuild -DCMAKE_TOOLCHAIN_FILE=${VITASDK}/share/vita.toolchain.cmake -DCMAKE_BUILD_TYPE=Release
|
run: |
|
||||||
|
cmake -S . -B build -G Ninja \
|
||||||
|
-DCMAKE_TOOLCHAIN_FILE=${VITASDK}/share/vita.toolchain.cmake \
|
||||||
|
-DSDL_TESTS=ON \
|
||||||
|
-DSDL_INSTALL_TESTS=ON \
|
||||||
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-DCMAKE_INSTALL_PREFIX=prefix
|
||||||
- name: Build
|
- name: Build
|
||||||
run: cmake --build build
|
run: cmake --build build --verbose
|
||||||
|
- name: Install CMake
|
||||||
|
run: |
|
||||||
|
echo "SDL2_DIR=$(pwd)/prefix" >> $GITHUB_ENV
|
||||||
|
cmake --install build/
|
||||||
|
( cd prefix; find ) | LC_ALL=C sort -u
|
||||||
|
- name: Verify CMake configuration files
|
||||||
|
run: |
|
||||||
|
cmake -S cmake/test -B cmake_config_build -G Ninja \
|
||||||
|
-DCMAKE_TOOLCHAIN_FILE=${VITASDK}/share/vita.toolchain.cmake \
|
||||||
|
-DTEST_SHARED=FALSE \
|
||||||
|
-DCMAKE_PREFIX_PATH=${{ env.SDL2_DIR }} \
|
||||||
|
-DCMAKE_BUILD_TYPE=Release
|
||||||
|
cmake --build cmake_config_build --verbose
|
||||||
@@ -0,0 +1,35 @@
|
|||||||
|
name: Build (OpenWatcom)
|
||||||
|
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
os2:
|
||||||
|
name: ${{ matrix.platform.name }}
|
||||||
|
runs-on: windows-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
platform:
|
||||||
|
- { name: Windows, makefile: Makefile.w32 }
|
||||||
|
- { name: OS/2, makefile: Makefile.os2 }
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- uses: open-watcom/setup-watcom@v0
|
||||||
|
- name: Build SDL2
|
||||||
|
run: |
|
||||||
|
wmake -f ${{ matrix.platform.makefile }}
|
||||||
|
- name: Build tests
|
||||||
|
run: |
|
||||||
|
cd test && wmake -f ${{ matrix.platform.makefile }}
|
||||||
|
cd ..
|
||||||
|
- name: Run tests
|
||||||
|
if: "matrix.platform.makefile == 'Makefile.w32'"
|
||||||
|
run: |
|
||||||
|
cd test && wmake -f ${{ matrix.platform.makefile }} check-quick
|
||||||
|
cd ..
|
||||||
|
- name: distclean
|
||||||
|
run: |
|
||||||
|
wmake -f ${{ matrix.platform.makefile }} distclean
|
||||||
|
cd test && wmake -f ${{ matrix.platform.makefile }} distclean
|
||||||
|
cd ..
|
||||||
@@ -22,6 +22,7 @@ buildbot
|
|||||||
*.exe
|
*.exe
|
||||||
*.o
|
*.o
|
||||||
*.obj
|
*.obj
|
||||||
|
*.res
|
||||||
*.lib
|
*.lib
|
||||||
*.a
|
*.a
|
||||||
*.la
|
*.la
|
||||||
|
|||||||
@@ -0,0 +1,15 @@
|
|||||||
|
projectfullname = SDL_mixer
|
||||||
|
projectshortname = SDL_mixer
|
||||||
|
incsubdir = include
|
||||||
|
wikisubdir =
|
||||||
|
apiprefixregex = (SDL_|SDLK_|KMOD_|AUDIO_)
|
||||||
|
mainincludefname = SDL.h
|
||||||
|
versionfname = include/SDL_version.h
|
||||||
|
versionmajorregex = \A\#define\s+SDL_MAJOR_VERSION\s+(\d+)\Z
|
||||||
|
versionminorregex = \A\#define\s+SDL_MINOR_VERSION\s+(\d+)\Z
|
||||||
|
versionpatchregex = \A\#define\s+SDL_PATCHLEVEL\s+(\d+)\Z
|
||||||
|
selectheaderregex = \ASDL.*?\.h\Z
|
||||||
|
projecturl = https://libsdl.org/
|
||||||
|
wikiurl = https://wiki.libsdl.org
|
||||||
|
bugreporturl = https://github.com/libsdl-org/sdlwiki/issues/new
|
||||||
|
warn_about_missing = 0
|
||||||
+775
-404
File diff suppressed because it is too large.
Load diff
+2
-2
@@ -8,10 +8,10 @@ To compile and install SDL:
|
|||||||
* Read the FAQ at https://wiki.libsdl.org/FAQWindows
|
* Read the FAQ at https://wiki.libsdl.org/FAQWindows
|
||||||
* Run './configure; make; make install'
|
* Run './configure; make; make install'
|
||||||
|
|
||||||
Mac OS X with Xcode:
|
macOS with Xcode:
|
||||||
* Read docs/README-macosx.md
|
* Read docs/README-macosx.md
|
||||||
|
|
||||||
Mac OS X from the command line:
|
macOS from the command line:
|
||||||
* Run './configure; make; make install'
|
* Run './configure; make; make install'
|
||||||
|
|
||||||
Linux and other UNIX systems:
|
Linux and other UNIX systems:
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
Copyright (C) 1997-2021 Sam Lantinga <slouken@libsdl.org>
|
Copyright (C) 1997-2022 Sam Lantinga <slouken@libsdl.org>
|
||||||
|
|
||||||
This software is provided 'as-is', without any express or implied
|
This software is provided 'as-is', without any express or implied
|
||||||
warranty. In no event will the authors be held liable for any damages
|
warranty. In no event will the authors be held liable for any damages
|
||||||
|
|||||||
+3
-1
@@ -19,6 +19,7 @@ distfile = $(distdir).tar.gz
|
|||||||
@SET_MAKE@
|
@SET_MAKE@
|
||||||
SHELL = @SHELL@
|
SHELL = @SHELL@
|
||||||
CC = @CC@
|
CC = @CC@
|
||||||
|
CXX = @CXX@
|
||||||
INCLUDE = @INCLUDE@
|
INCLUDE = @INCLUDE@
|
||||||
CFLAGS = @BUILD_CFLAGS@
|
CFLAGS = @BUILD_CFLAGS@
|
||||||
EXTRA_CFLAGS = @EXTRA_CFLAGS@
|
EXTRA_CFLAGS = @EXTRA_CFLAGS@
|
||||||
@@ -49,7 +50,7 @@ WAYLAND_SCANNER_CODE_MODE = @WAYLAND_SCANNER_CODE_MODE@
|
|||||||
|
|
||||||
INSTALL_SDL2_CONFIG = @INSTALL_SDL2_CONFIG@
|
INSTALL_SDL2_CONFIG = @INSTALL_SDL2_CONFIG@
|
||||||
|
|
||||||
SRC_DIST = *.md *.txt acinclude Android.mk autogen.sh android-project build-scripts cmake cmake_uninstall.cmake.in configure configure.ac debian docs include Makefile.* sdl2-config.cmake.in sdl2-config-version.cmake.in sdl2-config.in sdl2.m4 sdl2.pc.in SDL2.spec.in SDL2Config.cmake src test VisualC VisualC-WinRT Xcode Xcode-iOS wayland-protocols
|
SRC_DIST = *.md *.txt acinclude Android.mk autogen.sh android-project build-scripts cmake cmake_uninstall.cmake.in configure configure.ac docs include Makefile.* mingw sdl2-config.cmake.in sdl2-config-version.cmake.in sdl2-config.in sdl2.m4 sdl2.pc.in SDL2.spec.in SDL2Config.cmake src test VisualC VisualC-WinRT Xcode Xcode-iOS wayland-protocols
|
||||||
GEN_DIST = SDL2.spec
|
GEN_DIST = SDL2.spec
|
||||||
|
|
||||||
ifneq ($V,1)
|
ifneq ($V,1)
|
||||||
@@ -79,6 +80,7 @@ HDRS = \
|
|||||||
SDL_filesystem.h \
|
SDL_filesystem.h \
|
||||||
SDL_gamecontroller.h \
|
SDL_gamecontroller.h \
|
||||||
SDL_gesture.h \
|
SDL_gesture.h \
|
||||||
|
SDL_guid.h \
|
||||||
SDL_haptic.h \
|
SDL_haptic.h \
|
||||||
SDL_hidapi.h \
|
SDL_hidapi.h \
|
||||||
SDL_hints.h \
|
SDL_hints.h \
|
||||||
|
|||||||
+179
-49
@@ -1,10 +1,25 @@
|
|||||||
# Open Watcom makefile to build SDL2.dll for OS/2
|
# Open Watcom makefile to build SDL2.dll for OS/2
|
||||||
# wmake -f Makefile.os2
|
# wmake -f Makefile.os2
|
||||||
|
#
|
||||||
|
# If you have GNU libiconv installed (iconv2.dll), you
|
||||||
|
# can compile against it by specifying LIBICONV=1, e.g.:
|
||||||
|
# wmake -f Makefile.os2 LIBICONV=1
|
||||||
|
#
|
||||||
|
# If you have libusb-1.0 installed (usb100.dll, libusb.h), you
|
||||||
|
# can compile hidapi joystick support against it (experimental)
|
||||||
|
# by specifying HIDAPI=1, e.g.:
|
||||||
|
# wmake -f Makefile.os2 HIDAPI=1
|
||||||
|
|
||||||
LIBNAME = SDL2
|
LIBNAME = SDL2
|
||||||
VERSION = 2.0.18
|
MAJOR_VERSION = 2
|
||||||
|
MINOR_VERSION = 23
|
||||||
|
MICRO_VERSION = 1
|
||||||
|
VERSION = $(MAJOR_VERSION).$(MINOR_VERSION).$(MICRO_VERSION)
|
||||||
DESCRIPTION = Simple DirectMedia Layer 2
|
DESCRIPTION = Simple DirectMedia Layer 2
|
||||||
|
|
||||||
|
LIBICONV=0
|
||||||
|
ICONVLIB=$(LIBICONV_LIB)
|
||||||
|
|
||||||
LIBHOME = .
|
LIBHOME = .
|
||||||
DLLFILE = $(LIBHOME)/$(LIBNAME).dll
|
DLLFILE = $(LIBHOME)/$(LIBNAME).dll
|
||||||
LIBFILE = $(LIBHOME)/$(LIBNAME).lib
|
LIBFILE = $(LIBHOME)/$(LIBNAME).lib
|
||||||
@@ -12,42 +27,55 @@ LNKFILE = $(LIBNAME).lnk
|
|||||||
|
|
||||||
INCPATH = -I"$(%WATCOM)/h/os2" -I"$(%WATCOM)/h"
|
INCPATH = -I"$(%WATCOM)/h/os2" -I"$(%WATCOM)/h"
|
||||||
INCPATH+= -Iinclude
|
INCPATH+= -Iinclude
|
||||||
INCPATH+= -I"src/core/os2" -I"src/core/os2/geniconv"
|
|
||||||
|
|
||||||
LIBM = libm.lib
|
|
||||||
LIBS = mmpm2.lib libuls.lib libconv.lib $(LIBM)
|
|
||||||
|
|
||||||
CFLAGS = -bt=os2 -d0 -q -bm -5s -fp5 -fpi87 -sg -oteanbmier -ei
|
|
||||||
# max warnings:
|
|
||||||
CFLAGS+= -wx
|
|
||||||
# newer OpenWatcom versions enable W303 by default
|
|
||||||
CFLAGS+= -wcd=303
|
|
||||||
# building dll:
|
|
||||||
CFLAGS+= -bd
|
|
||||||
# the include paths :
|
|
||||||
CFLAGS+= $(INCPATH)
|
|
||||||
# building SDL itself (for DECLSPEC):
|
|
||||||
CFLAGS+= -DBUILD_SDL
|
|
||||||
|
|
||||||
|
LIBM = SDL2libm.lib
|
||||||
|
TLIB = SDL2test.lib
|
||||||
|
LIBS = mmpm2.lib $(LIBM)
|
||||||
|
CFLAGS = -bt=os2 -d0 -q -bm -5s -fp5 -fpi87 -sg -oeatxhn -ei
|
||||||
# Debug options:
|
# Debug options:
|
||||||
# - debug messages from OS/2 related code to stdout:
|
# - debug messages from OS/2 related code to stdout:
|
||||||
#CFLAGS+= -DOS2DEBUG
|
#CFLAGS+= -DOS2DEBUG
|
||||||
# - debug messages from OS/2 code via SDL_LogDebug():
|
# - debug messages from OS/2 code via SDL_LogDebug():
|
||||||
#CFLAGS+= -DOS2DEBUG=2
|
#CFLAGS+= -DOS2DEBUG=2
|
||||||
|
|
||||||
MSRCS= e_atan2.c e_exp.c e_fmod.c e_log10.c e_log.c e_pow.c e_rem_pio2.c e_sqrt.c &
|
# max warnings:
|
||||||
k_cos.c k_rem_pio2.c k_sin.c k_tan.c &
|
CFLAGS+= -wx
|
||||||
s_atan.c s_copysign.c s_cos.c s_fabs.c s_floor.c s_scalbn.c s_sin.c s_tan.c
|
# newer OpenWatcom versions enable W303 by default
|
||||||
|
CFLAGS+= -wcd=303
|
||||||
|
# the include paths :
|
||||||
|
CFLAGS+= $(INCPATH)
|
||||||
|
CFLAGS_STATIC=$(CFLAGS)
|
||||||
|
# building dll:
|
||||||
|
CFLAGS_DLL =$(CFLAGS)
|
||||||
|
CFLAGS_DLL+= -bd
|
||||||
|
# iconv:
|
||||||
|
LIBICONV_LIB=iconv2.lib
|
||||||
|
!ifeq LIBICONV 1
|
||||||
|
CFLAGS_DLL+= -DHAVE_ICONV=1 -DHAVE_ICONV_H=1
|
||||||
|
LIBS+= $(ICONVLIB)
|
||||||
|
!else
|
||||||
|
LIBS+= libuls.lib libconv.lib
|
||||||
|
!endif
|
||||||
|
# hidapi (libusb):
|
||||||
|
!ifeq HIDAPI 1
|
||||||
|
CFLAGS_DLL+= -DHAVE_LIBUSB_H=1
|
||||||
|
!endif
|
||||||
|
# building SDL itself (for DECLSPEC):
|
||||||
|
CFLAGS_DLL+= -DBUILD_SDL
|
||||||
|
|
||||||
SRCS = SDL.c SDL_assert.c SDL_error.c SDL_log.c SDL_dataqueue.c SDL_hints.c
|
CFLAGS_DLL+= -DSDL_BUILD_MAJOR_VERSION=$(MAJOR_VERSION)
|
||||||
SRCS+= SDL_getenv.c SDL_iconv.c SDL_malloc.c SDL_qsort.c SDL_stdlib.c SDL_string.c SDL_strtokr.c SDL_crc32.c
|
CFLAGS_DLL+= -DSDL_BUILD_MINOR_VERSION=$(MINOR_VERSION)
|
||||||
|
CFLAGS_DLL+= -DSDL_BUILD_MICRO_VERSION=$(MICRO_VERSION)
|
||||||
|
|
||||||
|
SRCS = SDL.c SDL_assert.c SDL_error.c SDL_guid.c SDL_log.c SDL_dataqueue.c SDL_hints.c SDL_list.c
|
||||||
|
SRCS+= SDL_getenv.c SDL_iconv.c SDL_malloc.c SDL_memcpy.c SDL_memset.c SDL_qsort.c SDL_stdlib.c SDL_string.c SDL_strtokr.c SDL_crc32.c
|
||||||
SRCS+= SDL_cpuinfo.c SDL_atomic.c SDL_spinlock.c SDL_thread.c SDL_timer.c
|
SRCS+= SDL_cpuinfo.c SDL_atomic.c SDL_spinlock.c SDL_thread.c SDL_timer.c
|
||||||
SRCS+= SDL_rwops.c SDL_power.c
|
SRCS+= SDL_rwops.c SDL_power.c
|
||||||
SRCS+= SDL_audio.c SDL_audiocvt.c SDL_audiodev.c SDL_audiotypecvt.c SDL_mixer.c SDL_wave.c
|
SRCS+= SDL_audio.c SDL_audiocvt.c SDL_audiodev.c SDL_audiotypecvt.c SDL_mixer.c SDL_wave.c
|
||||||
SRCS+= SDL_events.c SDL_quit.c SDL_keyboard.c SDL_mouse.c SDL_windowevents.c &
|
SRCS+= SDL_events.c SDL_quit.c SDL_keyboard.c SDL_mouse.c SDL_windowevents.c &
|
||||||
SDL_clipboardevents.c SDL_dropevents.c SDL_displayevents.c SDL_gesture.c &
|
SDL_clipboardevents.c SDL_dropevents.c SDL_displayevents.c SDL_gesture.c &
|
||||||
SDL_sensor.c SDL_touch.c
|
SDL_sensor.c SDL_touch.c
|
||||||
SRCS+= SDL_haptic.c SDL_hidapi.c SDL_gamecontroller.c SDL_joystick.c
|
SRCS+= SDL_haptic.c SDL_hidapi.c SDL_gamecontroller.c SDL_joystick.c controller_type.c
|
||||||
SRCS+= SDL_render.c yuv_rgb.c SDL_yuv.c SDL_yuv_sw.c SDL_blendfillrect.c &
|
SRCS+= SDL_render.c yuv_rgb.c SDL_yuv.c SDL_yuv_sw.c SDL_blendfillrect.c &
|
||||||
SDL_blendline.c SDL_blendpoint.c SDL_drawline.c SDL_drawpoint.c &
|
SDL_blendline.c SDL_blendpoint.c SDL_drawline.c SDL_drawpoint.c &
|
||||||
SDL_render_sw.c SDL_rotate.c SDL_triangle.c
|
SDL_render_sw.c SDL_rotate.c SDL_triangle.c
|
||||||
@@ -68,7 +96,10 @@ SRCS+= SDL_dummysensor.c
|
|||||||
SRCS+= SDL_locale.c SDL_syslocale.c
|
SRCS+= SDL_locale.c SDL_syslocale.c
|
||||||
SRCS+= SDL_url.c SDL_sysurl.c
|
SRCS+= SDL_url.c SDL_sysurl.c
|
||||||
|
|
||||||
SRCS+= SDL_os2.c geniconv.c os2cp.c os2iconv.c sys2utf8.c
|
SRCS+= SDL_os2.c
|
||||||
|
!ifeq LIBICONV 0
|
||||||
|
SRCS+= geniconv.c os2cp.c os2iconv.c sys2utf8.c
|
||||||
|
!endif
|
||||||
SRCS+= SDL_os2audio.c
|
SRCS+= SDL_os2audio.c
|
||||||
SRCS+= SDL_os2video.c SDL_os2util.c SDL_os2dive.c SDL_os2vman.c &
|
SRCS+= SDL_os2video.c SDL_os2util.c SDL_os2dive.c SDL_os2vman.c &
|
||||||
SDL_os2mouse.c SDL_os2messagebox.c
|
SDL_os2mouse.c SDL_os2messagebox.c
|
||||||
@@ -76,19 +107,22 @@ SRCS+= SDL_os2video.c SDL_os2util.c SDL_os2dive.c SDL_os2vman.c &
|
|||||||
SRCS+= SDL_dynapi.c
|
SRCS+= SDL_dynapi.c
|
||||||
|
|
||||||
OBJS = $(SRCS:.c=.obj)
|
OBJS = $(SRCS:.c=.obj)
|
||||||
MOBJS= $(MSRCS:.c=.obj)
|
|
||||||
|
|
||||||
.extensions:
|
.extensions:
|
||||||
.extensions: .lib .dll .obj .c .asm
|
.extensions: .lib .dll .obj .c .asm
|
||||||
|
|
||||||
.c: ./src;./src/dynapi;./src/audio;./src/cpuinfo;./src/events;./src/file;./src/haptic;./src/joystick;./src/power;./src/render;./src/render/software;./src/sensor;./src/stdlib;./src/thread;./src/timer;./src/video;./src/video/yuv2rgb;./src/atomic;./src/audio/disk;
|
.c: ./src;./src/dynapi;./src/audio;./src/cpuinfo;./src/events;./src/file;./src/haptic;./src/joystick;./src/power;./src/render;./src/render/software;./src/sensor;./src/stdlib;./src/thread;./src/timer;./src/video;./src/video/yuv2rgb;./src/atomic;./src/audio/disk;
|
||||||
.c: ./src/haptic/dummy;./src/joystick/dummy;./src/joystick/virtual;./src/audio/dummy;./src/video/dummy;./src/sensor/dummy;
|
.c: ./src/haptic/dummy;./src/joystick/dummy;./src/joystick/virtual;./src/audio/dummy;./src/video/dummy;./src/sensor/dummy;
|
||||||
.c: ./src/core/os2;./src/core/os2/geniconv;./src/audio/os2;./src/loadso/os2;./src/filesystem/os2;./src/joystick/os2;./src/thread/os2;./src/timer/os2;./src/video/os2;
|
.c: ./src/core/os2;./src/audio/os2;./src/loadso/os2;./src/filesystem/os2;./src/joystick/os2;./src/thread/os2;./src/timer/os2;./src/video/os2;
|
||||||
|
.c: ./src/core/os2/geniconv;
|
||||||
.c: ./src/locale/;./src/locale/unix;./src/misc;./src/misc/dummy;./src/joystick/hidapi;./src/hidapi
|
.c: ./src/locale/;./src/locale/unix;./src/misc;./src/misc/dummy;./src/joystick/hidapi;./src/hidapi
|
||||||
|
|
||||||
all: $(DLLFILE) $(LIBFILE) .symbolic
|
all: $(DLLFILE) $(LIBFILE) $(TLIB) .symbolic
|
||||||
|
|
||||||
$(DLLFILE): $(OBJS) $(LIBM) $(LNKFILE)
|
build_dll: .symbolic
|
||||||
|
@echo * Compiling dll objects
|
||||||
|
|
||||||
|
$(DLLFILE): build_dll $(OBJS) $(LIBM) $(LIBICONV_LIB) $(LNKFILE)
|
||||||
@echo * Linking: $@
|
@echo * Linking: $@
|
||||||
wlink @$(LNKFILE)
|
wlink @$(LNKFILE)
|
||||||
|
|
||||||
@@ -97,40 +131,134 @@ $(LIBFILE): $(DLLFILE)
|
|||||||
wlib -q -b -n -c -pa -s -t -zld -ii -io $* $(DLLFILE)
|
wlib -q -b -n -c -pa -s -t -zld -ii -io $* $(DLLFILE)
|
||||||
|
|
||||||
.c.obj:
|
.c.obj:
|
||||||
wcc386 $(CFLAGS) -fo=$^@ $<
|
wcc386 $(CFLAGS_DLL) -fo=$^@ $<
|
||||||
|
|
||||||
SDL_syscond.obj: "src/thread/generic/SDL_syscond.c"
|
SDL_syscond.obj: "src/thread/generic/SDL_syscond.c"
|
||||||
wcc386 $(CFLAGS) -fo=$^@ $<
|
wcc386 $(CFLAGS_DLL) -fo=$^@ $<
|
||||||
|
|
||||||
SDL_cpuinfo.obj: SDL_cpuinfo.c
|
SDL_cpuinfo.obj: SDL_cpuinfo.c
|
||||||
wcc386 $(CFLAGS) -wcd=200 -fo=$^@ $<
|
wcc386 $(CFLAGS_DLL) -wcd=200 -fo=$^@ $<
|
||||||
|
|
||||||
SDL_rwops.obj: SDL_rwops.c
|
|
||||||
wcc386 $(CFLAGS) -wcd=136 -fo=$^@ $<
|
|
||||||
|
|
||||||
SDL_wave.obj: SDL_wave.c
|
SDL_wave.obj: SDL_wave.c
|
||||||
wcc386 $(CFLAGS) -wcd=124 -fo=$^@ $<
|
wcc386 $(CFLAGS_DLL) -wcd=124 -fo=$^@ $<
|
||||||
|
|
||||||
SDL_blendfillrect.obj: SDL_blendfillrect.c
|
SDL_blendfillrect.obj: SDL_blendfillrect.c
|
||||||
wcc386 $(CFLAGS) -wcd=200 -fo=$^@ $<
|
wcc386 $(CFLAGS_DLL) -wcd=200 -fo=$^@ $<
|
||||||
|
|
||||||
SDL_blendline.obj: SDL_blendline.c
|
SDL_blendline.obj: SDL_blendline.c
|
||||||
wcc386 $(CFLAGS) -wcd=200 -fo=$^@ $<
|
wcc386 $(CFLAGS_DLL) -wcd=200 -fo=$^@ $<
|
||||||
|
|
||||||
SDL_blendpoint.obj: SDL_blendpoint.c
|
SDL_blendpoint.obj: SDL_blendpoint.c
|
||||||
wcc386 $(CFLAGS) -wcd=200 -fo=$^@ $<
|
wcc386 $(CFLAGS_DLL) -wcd=200 -fo=$^@ $<
|
||||||
|
|
||||||
SDL_RLEaccel.obj: SDL_RLEaccel.c
|
SDL_RLEaccel.obj: SDL_RLEaccel.c
|
||||||
wcc386 $(CFLAGS) -wcd=201 -fo=$^@ $<
|
wcc386 $(CFLAGS_DLL) -wcd=201 -fo=$^@ $<
|
||||||
|
!ifeq HIDAPI 1
|
||||||
# c99 mode needed because of structs with flexible array members in libusb.h
|
# c99 mode needed because of structs with flexible array members in libusb.h
|
||||||
SDL_hidapi.obj: SDL_hidapi.c
|
SDL_hidapi.obj: SDL_hidapi.c
|
||||||
wcc386 $(CFLAGS) -za99 -fo=$^@ $<
|
wcc386 $(CFLAGS_DLL) -za99 -fo=$^@ $<
|
||||||
|
!endif
|
||||||
|
|
||||||
|
$(LIBICONV_LIB): "src/core/os2/iconv2.lbc"
|
||||||
|
@echo * Creating: $@
|
||||||
|
wlib -q -b -n -c -pa -s -t -zld -ii -io $@ @$<
|
||||||
|
|
||||||
|
# SDL2libm
|
||||||
|
MSRCS= e_atan2.c e_exp.c e_fmod.c e_log10.c e_log.c e_pow.c e_rem_pio2.c e_sqrt.c &
|
||||||
|
k_cos.c k_rem_pio2.c k_sin.c k_tan.c &
|
||||||
|
s_atan.c s_copysign.c s_cos.c s_fabs.c s_floor.c s_scalbn.c s_sin.c s_tan.c
|
||||||
|
MOBJS= $(MSRCS:.c=.obj)
|
||||||
|
|
||||||
.c: ./src/libm;
|
.c: ./src/libm;
|
||||||
$(LIBM): $(MOBJS)
|
e_atan2.obj: e_atan2.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
e_exp.obj: e_exp.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
e_fmod.obj: e_fmod.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
e_log10.obj: e_log10.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
e_log.obj: e_log.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
e_pow.obj: e_pow.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
e_rem_pio2.obj: e_rem_pio2.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
e_sqrt.obj: e_sqrt.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
k_cos.obj: k_cos.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
k_rem_pio2.obj: k_rem_pio2.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
k_sin.obj: k_sin.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
k_tan.obj: k_tan.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
s_atan.obj: s_atan.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
s_copysign.obj: s_copysign.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
s_cos.obj: s_cos.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
s_fabs.obj: s_fabs.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
s_floor.obj: s_floor.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
s_scalbn.obj: s_scalbn.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
s_sin.obj: s_sin.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
s_tan.obj: s_tan.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
|
||||||
|
build_libm: .symbolic
|
||||||
|
@echo * Compiling libm objects
|
||||||
|
$(LIBM): build_libm $(MOBJS)
|
||||||
|
@echo * Creating: $@
|
||||||
wlib -q -b -n -c -pa -s -t -zld -ii -io $@ $(MOBJS)
|
wlib -q -b -n -c -pa -s -t -zld -ii -io $@ $(MOBJS)
|
||||||
|
|
||||||
|
# SDL2test
|
||||||
|
TSRCS = SDL_test_assert.c SDL_test_common.c SDL_test_compare.c &
|
||||||
|
SDL_test_crc32.c SDL_test_font.c SDL_test_fuzzer.c SDL_test_harness.c &
|
||||||
|
SDL_test_imageBlit.c SDL_test_imageBlitBlend.c SDL_test_imageFace.c &
|
||||||
|
SDL_test_imagePrimitives.c SDL_test_imagePrimitivesBlend.c &
|
||||||
|
SDL_test_log.c SDL_test_md5.c SDL_test_random.c SDL_test_memory.c
|
||||||
|
TOBJS= $(TSRCS:.c=.obj)
|
||||||
|
|
||||||
|
.c: ./src/test;
|
||||||
|
SDL_test_assert.obj: SDL_test_assert.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
SDL_test_common.obj: SDL_test_common.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
SDL_test_compare.obj: SDL_test_compare.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
SDL_test_crc32.obj: SDL_test_crc32.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
SDL_test_font.obj: SDL_test_font.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
SDL_test_fuzzer.obj: SDL_test_fuzzer.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
SDL_test_harness.obj: SDL_test_harness.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
SDL_test_imageBlit.obj: SDL_test_imageBlit.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
SDL_test_imageBlitBlend.obj: SDL_test_imageBlitBlend.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
SDL_test_imageFace.obj: SDL_test_imageFace.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
SDL_test_imagePrimitives.obj: SDL_test_imagePrimitives.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
SDL_test_imagePrimitivesBlend.obj: SDL_test_imagePrimitivesBlend.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
SDL_test_log.obj: SDL_test_log.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
SDL_test_md5.obj: SDL_test_md5.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
SDL_test_random.obj: SDL_test_random.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
SDL_test_memory.obj: SDL_test_memory.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
|
||||||
|
build_tlib: .symbolic
|
||||||
|
@echo * Compiling testlib objects
|
||||||
|
$(TLIB): build_tlib $(TOBJS)
|
||||||
|
@echo * Creating: $@
|
||||||
|
wlib -q -b -n -c -pa -s -t -zld -ii -io $@ $(TOBJS)
|
||||||
|
|
||||||
$(LNKFILE):
|
$(LNKFILE):
|
||||||
@echo * Creating linker file: $@
|
@echo * Creating linker file: $@
|
||||||
@%create $@
|
@%create $@
|
||||||
@@ -148,14 +276,16 @@ $(LNKFILE):
|
|||||||
@%append $@ OPTION SHOWDEAD
|
@%append $@ OPTION SHOWDEAD
|
||||||
|
|
||||||
clean: .SYMBOLIC
|
clean: .SYMBOLIC
|
||||||
@ echo * Clean: $(LIBNAME)
|
@echo * Clean: $(LIBNAME)
|
||||||
@if exist *.obj rm *.obj
|
@if exist *.obj rm *.obj
|
||||||
@if exist *.err rm *.err
|
@if exist *.err rm *.err
|
||||||
@if exist $(LNKFILE) rm $(LNKFILE)
|
@if exist $(LNKFILE) rm $(LNKFILE)
|
||||||
@if exist $(LIBM) rm $(LIBM)
|
@if exist $(LIBM) rm $(LIBM)
|
||||||
|
@if exist $(LIBICONV_LIB) rm $(LIBICONV_LIB)
|
||||||
|
|
||||||
distclean: .SYMBOLIC clean
|
distclean: .SYMBOLIC clean
|
||||||
@if exist $(LIBHOME)/*.exp rm $(LIBHOME)/*.exp
|
@if exist $(LIBHOME)/*.exp rm $(LIBHOME)/*.exp
|
||||||
@if exist $(LIBHOME)/*.map rm $(LIBHOME)/*.map
|
@if exist $(LIBHOME)/*.map rm $(LIBHOME)/*.map
|
||||||
@if exist $(LIBFILE) rm $(LIBFILE)
|
@if exist $(LIBFILE) rm $(LIBFILE)
|
||||||
@if exist $(DLLFILE) rm $(DLLFILE)
|
@if exist $(DLLFILE) rm $(DLLFILE)
|
||||||
|
@if exist $(TLIB) rm $(TLIB)
|
||||||
-107
@@ -1,107 +0,0 @@
|
|||||||
TARGET_LIB = libSDL2.a
|
|
||||||
OBJS= src/SDL.o \
|
|
||||||
src/SDL_assert.o \
|
|
||||||
src/SDL_dataqueue.o \
|
|
||||||
src/SDL_error.o \
|
|
||||||
src/SDL_hints.o \
|
|
||||||
src/SDL_log.o \
|
|
||||||
src/atomic/SDL_atomic.o \
|
|
||||||
src/atomic/SDL_spinlock.o \
|
|
||||||
src/audio/SDL_audio.o \
|
|
||||||
src/audio/SDL_audiocvt.o \
|
|
||||||
src/audio/SDL_audiodev.o \
|
|
||||||
src/audio/SDL_audiotypecvt.o \
|
|
||||||
src/audio/SDL_mixer.o \
|
|
||||||
src/audio/SDL_wave.o \
|
|
||||||
src/audio/psp/SDL_pspaudio.o \
|
|
||||||
src/cpuinfo/SDL_cpuinfo.o \
|
|
||||||
src/events/SDL_clipboardevents.o \
|
|
||||||
src/events/SDL_displayevents.o \
|
|
||||||
src/events/SDL_dropevents.o \
|
|
||||||
src/events/SDL_events.o \
|
|
||||||
src/events/SDL_gesture.o \
|
|
||||||
src/events/SDL_keyboard.o \
|
|
||||||
src/events/SDL_mouse.o \
|
|
||||||
src/events/SDL_quit.o \
|
|
||||||
src/events/SDL_touch.o \
|
|
||||||
src/events/SDL_windowevents.o \
|
|
||||||
src/file/SDL_rwops.o \
|
|
||||||
src/haptic/SDL_haptic.o \
|
|
||||||
src/haptic/dummy/SDL_syshaptic.o \
|
|
||||||
src/hidapi/SDL_hidapi.o \
|
|
||||||
src/joystick/SDL_joystick.o \
|
|
||||||
src/joystick/SDL_gamecontroller.o \
|
|
||||||
src/joystick/psp/SDL_sysjoystick.o \
|
|
||||||
src/joystick/virtual/SDL_virtualjoystick.o \
|
|
||||||
src/power/SDL_power.o \
|
|
||||||
src/power/psp/SDL_syspower.o \
|
|
||||||
src/filesystem/dummy/SDL_sysfilesystem.o \
|
|
||||||
src/locale/SDL_locale.o \
|
|
||||||
src/locale/dummy/SDL_syslocale.o \
|
|
||||||
src/misc/SDL_url.o \
|
|
||||||
src/misc/dummy/SDL_sysurl.o \
|
|
||||||
src/render/SDL_render.o \
|
|
||||||
src/render/SDL_yuv_sw.o \
|
|
||||||
src/render/psp/SDL_render_psp.o \
|
|
||||||
src/render/software/SDL_blendfillrect.o \
|
|
||||||
src/render/software/SDL_blendline.o \
|
|
||||||
src/render/software/SDL_blendpoint.o \
|
|
||||||
src/render/software/SDL_drawline.o \
|
|
||||||
src/render/software/SDL_drawpoint.o \
|
|
||||||
src/render/software/SDL_render_sw.o \
|
|
||||||
src/render/software/SDL_rotate.o \
|
|
||||||
src/render/software/SDL_triangle.o \
|
|
||||||
src/sensor/SDL_sensor.o \
|
|
||||||
src/sensor/dummy/SDL_dummysensor.o \
|
|
||||||
src/stdlib/SDL_getenv.o \
|
|
||||||
src/stdlib/SDL_iconv.o \
|
|
||||||
src/stdlib/SDL_malloc.o \
|
|
||||||
src/stdlib/SDL_qsort.o \
|
|
||||||
src/stdlib/SDL_stdlib.o \
|
|
||||||
src/stdlib/SDL_string.o \
|
|
||||||
src/stdlib/SDL_strtokr.o \
|
|
||||||
src/thread/SDL_thread.o \
|
|
||||||
src/thread/generic/SDL_systls.o \
|
|
||||||
src/thread/psp/SDL_syssem.o \
|
|
||||||
src/thread/psp/SDL_systhread.o \
|
|
||||||
src/thread/psp/SDL_sysmutex.o \
|
|
||||||
src/thread/psp/SDL_syscond.o \
|
|
||||||
src/timer/SDL_timer.o \
|
|
||||||
src/timer/psp/SDL_systimer.o \
|
|
||||||
src/video/SDL_RLEaccel.o \
|
|
||||||
src/video/SDL_blit.o \
|
|
||||||
src/video/SDL_blit_0.o \
|
|
||||||
src/video/SDL_blit_1.o \
|
|
||||||
src/video/SDL_blit_A.o \
|
|
||||||
src/video/SDL_blit_N.o \
|
|
||||||
src/video/SDL_blit_auto.o \
|
|
||||||
src/video/SDL_blit_copy.o \
|
|
||||||
src/video/SDL_blit_slow.o \
|
|
||||||
src/video/SDL_bmp.o \
|
|
||||||
src/video/SDL_clipboard.o \
|
|
||||||
src/video/SDL_fillrect.o \
|
|
||||||
src/video/SDL_pixels.o \
|
|
||||||
src/video/SDL_rect.o \
|
|
||||||
src/video/SDL_stretch.o \
|
|
||||||
src/video/SDL_surface.o \
|
|
||||||
src/video/SDL_video.o \
|
|
||||||
src/video/SDL_yuv.o \
|
|
||||||
src/video/psp/SDL_pspevents.o \
|
|
||||||
src/video/psp/SDL_pspvideo.o \
|
|
||||||
src/video/psp/SDL_pspgl.o \
|
|
||||||
src/video/psp/SDL_pspmouse.o \
|
|
||||||
src/video/yuv2rgb/yuv_rgb.o
|
|
||||||
|
|
||||||
INCDIR = ./include
|
|
||||||
CFLAGS = -g -O2 -G0 -Wall -D__PSP__ -DHAVE_OPENGL
|
|
||||||
CXXFLAGS = $(CFLAGS) -fno-exceptions -fno-rtti
|
|
||||||
ASFLAGS = $(CFLAGS)
|
|
||||||
|
|
||||||
LIBDIR =
|
|
||||||
LIBS = -lGL -lGLU -lglut -lz \
|
|
||||||
-lpspvfpu -lpsphprm -lpspsdk -lpspctrl -lpspumd -lpsprtc -lpsppower -lpspgum -lpspgu -lpspaudiolib -lpspaudio -lpsphttp -lpspssl -lpspwlan \
|
|
||||||
-lpspnet_adhocmatching -lpspnet_adhoc -lpspnet_adhocctl -lm -lpspvram
|
|
||||||
|
|
||||||
PSPSDK=$(shell psp-config --pspsdk-path)
|
|
||||||
include $(PSPSDK)/lib/build.mak
|
|
||||||
|
|
||||||
+273
@@ -0,0 +1,273 @@
|
|||||||
|
# Open Watcom makefile to build SDL2.dll for Win32
|
||||||
|
# wmake -f Makefile.w32
|
||||||
|
|
||||||
|
LIBNAME = SDL2
|
||||||
|
MAJOR_VERSION = 2
|
||||||
|
MINOR_VERSION = 23
|
||||||
|
MICRO_VERSION = 1
|
||||||
|
VERSION = $(MAJOR_VERSION).$(MINOR_VERSION).$(MICRO_VERSION)
|
||||||
|
DESCRIPTION = Simple DirectMedia Layer 2
|
||||||
|
|
||||||
|
LIBHOME = .
|
||||||
|
DLLFILE = $(LIBHOME)/$(LIBNAME).dll
|
||||||
|
LIBFILE = $(LIBHOME)/$(LIBNAME).lib
|
||||||
|
EXPFILE = $(LIBHOME)/$(LIBNAME).exp
|
||||||
|
LNKFILE = $(LIBNAME).lnk
|
||||||
|
|
||||||
|
INCPATH = -I"$(%WATCOM)/h/nt" -I"$(%WATCOM)/h/nt/directx" -I"$(%WATCOM)/h"
|
||||||
|
INCPATH+= -Iinclude
|
||||||
|
INCPATH+= -I"src/video/khronos"
|
||||||
|
|
||||||
|
LIBM = SDL2libm.lib
|
||||||
|
TLIB = SDL2test.lib
|
||||||
|
LIBS = user32.lib gdi32.lib winmm.lib imm32.lib ole32.lib oleaut32.lib shell32.lib setupapi.lib version.lib uuid.lib dxguid.lib $(LIBM)
|
||||||
|
|
||||||
|
CFLAGS = -bt=nt -d0 -q -bm -5s -fp5 -fpi87 -sg -oeatxhn -ei
|
||||||
|
# max warnings:
|
||||||
|
CFLAGS+= -wx
|
||||||
|
# newer OpenWatcom versions enable W303 by default
|
||||||
|
CFLAGS+= -wcd=303
|
||||||
|
# the include paths :
|
||||||
|
CFLAGS+= $(INCPATH)
|
||||||
|
CFLAGS_STATIC=$(CFLAGS)
|
||||||
|
# building dll:
|
||||||
|
CFLAGS_DLL =$(CFLAGS)
|
||||||
|
CFLAGS_DLL+= -bd
|
||||||
|
# we override the DECLSPEC define in begin_code.h, because we are using
|
||||||
|
# an exports file to remove the _cdecl '_' prefix from the symbol names
|
||||||
|
CFLAGS_DLL+= -DDECLSPEC=
|
||||||
|
|
||||||
|
CFLAGS_DLL+= -DSDL_BUILD_MAJOR_VERSION=$(MAJOR_VERSION)
|
||||||
|
CFLAGS_DLL+= -DSDL_BUILD_MINOR_VERSION=$(MINOR_VERSION)
|
||||||
|
CFLAGS_DLL+= -DSDL_BUILD_MICRO_VERSION=$(MICRO_VERSION)
|
||||||
|
|
||||||
|
RCFLAGS = -q -r -bt=nt $(INCPATH)
|
||||||
|
|
||||||
|
SRCS = SDL.c SDL_assert.c SDL_error.c SDL_guid.c SDL_log.c SDL_dataqueue.c SDL_hints.c SDL_list.c
|
||||||
|
SRCS+= SDL_getenv.c SDL_iconv.c SDL_malloc.c SDL_memcpy.c SDL_memset.c SDL_qsort.c SDL_stdlib.c SDL_string.c SDL_strtokr.c SDL_crc32.c
|
||||||
|
SRCS+= SDL_cpuinfo.c SDL_atomic.c SDL_spinlock.c SDL_thread.c SDL_timer.c
|
||||||
|
SRCS+= SDL_rwops.c SDL_power.c
|
||||||
|
SRCS+= SDL_audio.c SDL_audiocvt.c SDL_audiodev.c SDL_audiotypecvt.c SDL_mixer.c SDL_wave.c
|
||||||
|
SRCS+= SDL_events.c SDL_quit.c SDL_keyboard.c SDL_mouse.c SDL_windowevents.c &
|
||||||
|
SDL_clipboardevents.c SDL_dropevents.c SDL_displayevents.c SDL_gesture.c &
|
||||||
|
SDL_sensor.c SDL_touch.c
|
||||||
|
SRCS+= SDL_haptic.c SDL_hidapi.c SDL_gamecontroller.c SDL_joystick.c controller_type.c
|
||||||
|
SRCS+= SDL_render.c yuv_rgb.c SDL_yuv.c SDL_yuv_sw.c SDL_blendfillrect.c &
|
||||||
|
SDL_blendline.c SDL_blendpoint.c SDL_drawline.c SDL_drawpoint.c &
|
||||||
|
SDL_render_sw.c SDL_rotate.c SDL_triangle.c
|
||||||
|
SRCS+= SDL_blit.c SDL_blit_0.c SDL_blit_1.c SDL_blit_A.c SDL_blit_auto.c &
|
||||||
|
SDL_blit_copy.c SDL_blit_N.c SDL_blit_slow.c SDL_fillrect.c SDL_bmp.c &
|
||||||
|
SDL_pixels.c SDL_rect.c SDL_RLEaccel.c SDL_shape.c SDL_stretch.c &
|
||||||
|
SDL_surface.c SDL_video.c SDL_clipboard.c SDL_vulkan_utils.c SDL_egl.c
|
||||||
|
|
||||||
|
SRCS+= SDL_syscond.c SDL_sysmutex.c SDL_syssem.c SDL_systhread.c SDL_systls.c
|
||||||
|
SRCS+= SDL_systimer.c
|
||||||
|
SRCS+= SDL_sysloadso.c
|
||||||
|
SRCS+= SDL_sysfilesystem.c
|
||||||
|
SRCS+= SDL_syshaptic.c SDL_sysjoystick.c SDL_virtualjoystick.c
|
||||||
|
SRCS+= SDL_hidapijoystick.c SDL_hidapi_rumble.c SDL_hidapi_gamecube.c SDL_hidapi_luna.c SDL_hidapi_ps4.c SDL_hidapi_ps5.c SDL_hidapi_stadia.c SDL_hidapi_switch.c SDL_hidapi_xbox360.c SDL_hidapi_xbox360w.c SDL_hidapi_xboxone.c SDL_hidapi_steam.c
|
||||||
|
SRCS+= SDL_dummyaudio.c SDL_diskaudio.c
|
||||||
|
SRCS+= SDL_nullvideo.c SDL_nullframebuffer.c SDL_nullevents.c
|
||||||
|
SRCS+= SDL_dummysensor.c
|
||||||
|
SRCS+= SDL_locale.c SDL_syslocale.c
|
||||||
|
SRCS+= SDL_url.c SDL_sysurl.c
|
||||||
|
|
||||||
|
SRCS+= SDL_winmm.c SDL_directsound.c SDL_wasapi.c SDL_wasapi_win32.c
|
||||||
|
SRCS+= SDL_hid.c SDL_windows.c SDL_xinput.c
|
||||||
|
SRCS+= SDL_dinputhaptic.c SDL_windowshaptic.c SDL_xinputhaptic.c
|
||||||
|
SRCS+= SDL_dinputjoystick.c SDL_rawinputjoystick.c SDL_windowsjoystick.c SDL_windows_gaming_input.c SDL_xinputjoystick.c
|
||||||
|
SRCS+= SDL_syspower.c
|
||||||
|
SRCS+= SDL_d3dmath.c
|
||||||
|
SRCS+= SDL_render_d3d.c SDL_shaders_d3d.c
|
||||||
|
SRCS+= SDL_render_d3d11.c SDL_shaders_d3d11.c
|
||||||
|
SRCS+= SDL_render_d3d12.c SDL_shaders_d3d12.c
|
||||||
|
SRCS+= SDL_render_gl.c SDL_shaders_gl.c
|
||||||
|
SRCS+= SDL_render_gles2.c SDL_shaders_gles2.c
|
||||||
|
SRCS+= SDL_windowssensor.c
|
||||||
|
SRCS+= SDL_syscond_cv.c
|
||||||
|
SRCS+= SDL_windowsclipboard.c SDL_windowsevents.c SDL_windowsframebuffer.c SDL_windowskeyboard.c SDL_windowsmessagebox.c SDL_windowsmodes.c SDL_windowsmouse.c SDL_windowsopengl.c SDL_windowsopengles.c SDL_windowsshape.c SDL_windowsvideo.c SDL_windowsvulkan.c SDL_windowswindow.c
|
||||||
|
|
||||||
|
SRCS+= SDL_dynapi.c
|
||||||
|
|
||||||
|
RCSRCS = version.rc
|
||||||
|
|
||||||
|
OBJS = $(SRCS:.c=.obj)
|
||||||
|
RCOBJS= $(RCSRCS:.rc=.res)
|
||||||
|
|
||||||
|
.extensions:
|
||||||
|
.extensions: .lib .dll .obj .res .c .rc .asm
|
||||||
|
|
||||||
|
.c: ./src;./src/dynapi;./src/audio;./src/cpuinfo;./src/events;./src/file;./src/haptic;./src/joystick;./src/power;./src/render;./src/render/software;./src/sensor;./src/stdlib;./src/thread;./src/timer;./src/video;./src/video/yuv2rgb;./src/atomic;./src/audio/disk;
|
||||||
|
.c: ./src/haptic/dummy;./src/joystick/dummy;./src/joystick/virtual;./src/audio/dummy;./src/video/dummy;./src/sensor/dummy;
|
||||||
|
.c: ./src/core/windows;./src/audio/winmm;./src/audio/directsound;./src/audio/wasapi;./src/loadso/windows;./src/filesystem/windows;./src/haptic/windows;./src/joystick/windows;./src/sensor/windows;./src/thread/windows;./src/timer/windows;./src/video/windows;
|
||||||
|
.c: ./src/locale/;./src/locale/windows;./src/misc;./src/misc/windows;./src/power/windows;./src/joystick/hidapi;./src/hidapi;./src/render/direct3d;./src/render/direct3d11;./src/render/direct3d12;./src/render/opengl;./src/render/opengles2
|
||||||
|
.rc: ./src/main/windows
|
||||||
|
|
||||||
|
all: $(DLLFILE) $(LIBFILE) $(TLIB) .symbolic
|
||||||
|
|
||||||
|
build_dll: .symbolic
|
||||||
|
@echo * Compiling dll objects
|
||||||
|
|
||||||
|
$(DLLFILE): build_dll $(OBJS) $(LIBM) $(RCOBJS) $(LNKFILE)
|
||||||
|
@echo * Linking: $@
|
||||||
|
wlink @$(LNKFILE)
|
||||||
|
|
||||||
|
$(LIBFILE): $(DLLFILE)
|
||||||
|
@echo * Creating LIB file: $@
|
||||||
|
wlib -q -b -n -c -pa -s -t -zld -ii -io $* @$(EXPFILE)
|
||||||
|
|
||||||
|
.c.obj:
|
||||||
|
wcc386 $(CFLAGS_DLL) -fo=$^@ $<
|
||||||
|
|
||||||
|
.rc.res:
|
||||||
|
wrc $(RCFLAGS) -fo=$^@ $<
|
||||||
|
|
||||||
|
SDL_syscond.obj: "src/thread/generic/SDL_syscond.c"
|
||||||
|
wcc386 $(CFLAGS_DLL) -fo=$^@ $<
|
||||||
|
SDL_cpuinfo.obj: SDL_cpuinfo.c
|
||||||
|
wcc386 $(CFLAGS_DLL) -wcd=200 -fo=$^@ $<
|
||||||
|
SDL_wave.obj: SDL_wave.c
|
||||||
|
wcc386 $(CFLAGS_DLL) -wcd=124 -fo=$^@ $<
|
||||||
|
SDL_blendfillrect.obj: SDL_blendfillrect.c
|
||||||
|
wcc386 $(CFLAGS_DLL) -wcd=200 -fo=$^@ $<
|
||||||
|
SDL_blendline.obj: SDL_blendline.c
|
||||||
|
wcc386 $(CFLAGS_DLL) -wcd=200 -fo=$^@ $<
|
||||||
|
SDL_blendpoint.obj: SDL_blendpoint.c
|
||||||
|
wcc386 $(CFLAGS_DLL) -wcd=200 -fo=$^@ $<
|
||||||
|
SDL_RLEaccel.obj: SDL_RLEaccel.c
|
||||||
|
wcc386 $(CFLAGS_DLL) -wcd=201 -fo=$^@ $<
|
||||||
|
SDL_malloc.obj: SDL_malloc.c
|
||||||
|
wcc386 $(CFLAGS_DLL) -wcd=201 -fo=$^@ $<
|
||||||
|
|
||||||
|
# SDL2libm
|
||||||
|
MSRCS= e_atan2.c e_exp.c e_fmod.c e_log10.c e_log.c e_pow.c e_rem_pio2.c e_sqrt.c &
|
||||||
|
k_cos.c k_rem_pio2.c k_sin.c k_tan.c &
|
||||||
|
s_atan.c s_copysign.c s_cos.c s_fabs.c s_floor.c s_scalbn.c s_sin.c s_tan.c
|
||||||
|
MOBJS= $(MSRCS:.c=.obj)
|
||||||
|
|
||||||
|
.c: ./src/libm;
|
||||||
|
e_atan2.obj: e_atan2.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
e_exp.obj: e_exp.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
e_fmod.obj: e_fmod.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
e_log10.obj: e_log10.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
e_log.obj: e_log.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
e_pow.obj: e_pow.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
e_rem_pio2.obj: e_rem_pio2.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
e_sqrt.obj: e_sqrt.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
k_cos.obj: k_cos.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
k_rem_pio2.obj: k_rem_pio2.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
k_sin.obj: k_sin.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
k_tan.obj: k_tan.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
s_atan.obj: s_atan.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
s_copysign.obj: s_copysign.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
s_cos.obj: s_cos.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
s_fabs.obj: s_fabs.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
s_floor.obj: s_floor.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
s_scalbn.obj: s_scalbn.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
s_sin.obj: s_sin.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
s_tan.obj: s_tan.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
|
||||||
|
build_libm: .symbolic
|
||||||
|
@echo * Compiling libm objects
|
||||||
|
$(LIBM): build_libm $(MOBJS)
|
||||||
|
@echo * Creating: $@
|
||||||
|
wlib -q -b -n -c -pa -s -t -zld -ii -io $@ $(MOBJS)
|
||||||
|
|
||||||
|
# SDL2test
|
||||||
|
TSRCS = SDL_test_assert.c SDL_test_common.c SDL_test_compare.c &
|
||||||
|
SDL_test_crc32.c SDL_test_font.c SDL_test_fuzzer.c SDL_test_harness.c &
|
||||||
|
SDL_test_imageBlit.c SDL_test_imageBlitBlend.c SDL_test_imageFace.c &
|
||||||
|
SDL_test_imagePrimitives.c SDL_test_imagePrimitivesBlend.c &
|
||||||
|
SDL_test_log.c SDL_test_md5.c SDL_test_random.c SDL_test_memory.c
|
||||||
|
TOBJS= $(TSRCS:.c=.obj)
|
||||||
|
|
||||||
|
.c: ./src/test;
|
||||||
|
SDL_test_assert.obj: SDL_test_assert.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
SDL_test_common.obj: SDL_test_common.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
SDL_test_compare.obj: SDL_test_compare.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
SDL_test_crc32.obj: SDL_test_crc32.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
SDL_test_font.obj: SDL_test_font.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
SDL_test_fuzzer.obj: SDL_test_fuzzer.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
SDL_test_harness.obj: SDL_test_harness.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
SDL_test_imageBlit.obj: SDL_test_imageBlit.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
SDL_test_imageBlitBlend.obj: SDL_test_imageBlitBlend.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
SDL_test_imageFace.obj: SDL_test_imageFace.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
SDL_test_imagePrimitives.obj: SDL_test_imagePrimitives.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
SDL_test_imagePrimitivesBlend.obj: SDL_test_imagePrimitivesBlend.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
SDL_test_log.obj: SDL_test_log.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
SDL_test_md5.obj: SDL_test_md5.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
SDL_test_random.obj: SDL_test_random.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
SDL_test_memory.obj: SDL_test_memory.c
|
||||||
|
wcc386 $(CFLAGS_STATIC) -fo=$^@ $<
|
||||||
|
|
||||||
|
build_tlib: .symbolic
|
||||||
|
@echo * Compiling testlib objects
|
||||||
|
$(TLIB): build_tlib $(TOBJS)
|
||||||
|
@echo * Creating: $@
|
||||||
|
wlib -q -b -n -c -pa -s -t -zld -ii -io $@ $(TOBJS)
|
||||||
|
|
||||||
|
$(LNKFILE): Makefile.w32
|
||||||
|
@echo * Creating linker file: $@
|
||||||
|
@%create $@
|
||||||
|
@%append $@ SYSTEM nt_dll INITINSTANCE TERMINSTANCE
|
||||||
|
@%append $@ NAME $(DLLFILE)
|
||||||
|
@for %i in ($(OBJS)) do @%append $@ FILE %i
|
||||||
|
@for %i in ($(LIBS)) do @%append $@ LIB %i
|
||||||
|
@%append $@ OPTION RESOURCE=$(RCOBJS)
|
||||||
|
@%append $@ EXPORT=src/dynapi/SDL2.exports
|
||||||
|
@%append $@ OPTION QUIET
|
||||||
|
@%append $@ OPTION IMPF=$(EXPFILE)
|
||||||
|
@%append $@ OPTION MAP=$(LIBHOME)/$^&.map
|
||||||
|
@%append $@ OPTION DESCRIPTION '@$#libsdl org:$(VERSION)$#@$(DESCRIPTION)'
|
||||||
|
@%append $@ OPTION ELIMINATE
|
||||||
|
@%append $@ OPTION SHOWDEAD
|
||||||
|
|
||||||
|
clean: .SYMBOLIC
|
||||||
|
@echo * Clean: $(LIBNAME)
|
||||||
|
@if exist *.obj rm *.obj
|
||||||
|
@if exist *.res rm *.res
|
||||||
|
@if exist *.err rm *.err
|
||||||
|
@if exist $(LNKFILE) rm $(LNKFILE)
|
||||||
|
@if exist $(LIBM) rm $(LIBM)
|
||||||
|
|
||||||
|
distclean: .SYMBOLIC clean
|
||||||
|
@if exist $(LIBHOME)/*.exp rm $(LIBHOME)/*.exp
|
||||||
|
@if exist $(LIBHOME)/*.map rm $(LIBHOME)/*.map
|
||||||
|
@if exist $(LIBFILE) rm $(LIBFILE)
|
||||||
|
@if exist $(DLLFILE) rm $(DLLFILE)
|
||||||
|
@if exist $(TLIB) rm $(TLIB)
|
||||||
@@ -1,88 +0,0 @@
|
|||||||
# Makefile to build the pandora SDL library
|
|
||||||
WIZSDK = /mythtv/media/devel/toolchains/openwiz/arm-openwiz-linux-gnu
|
|
||||||
|
|
||||||
AR = $(WIZSDK)/bin/arm-openwiz-linux-gnu-ar
|
|
||||||
RANLIB = $(WIZSDK)/bin/arm-openwiz-linux-gnu-ranlib
|
|
||||||
CC = $(WIZSDK)/bin/arm-openwiz-linux-gnu-gcc
|
|
||||||
CXX = $(WIZSDK)/bin/arm-openwiz-linux-gnu-g++
|
|
||||||
STRIP = $(WIZSDK)/bin/arm-openwiz-linux-gnu-strip
|
|
||||||
|
|
||||||
CFLAGS = -Wall -fPIC -I./include -I$(WIZSDK)/include -DWIZ_GLES_LITE
|
|
||||||
|
|
||||||
TARGET_STATIC = libSDL2.a
|
|
||||||
TARGET_SHARED = libSDL2.so
|
|
||||||
|
|
||||||
SOURCES = \
|
|
||||||
./src/*.c \
|
|
||||||
./src/atomic/*.c \
|
|
||||||
./src/audio/*.c \
|
|
||||||
./src/audio/disk/*.c \
|
|
||||||
./src/audio/dsp/*.c \
|
|
||||||
./src/audio/dummy/*.c \
|
|
||||||
./src/cpuinfo/*.c \
|
|
||||||
./src/events/*.c \
|
|
||||||
./src/file/*.c \
|
|
||||||
./src/filesystem/unix/*.c \
|
|
||||||
./src/haptic/*.c \
|
|
||||||
./src/haptic/linux/*.c \
|
|
||||||
./src/hidapi/*.c \
|
|
||||||
./src/joystick/*.c \
|
|
||||||
./src/joystick/linux/*.c \
|
|
||||||
./src/loadso/dlopen/*.c \
|
|
||||||
./src/locale/*.c \
|
|
||||||
./src/locale/unix/*.c \
|
|
||||||
./src/misc/*.c \
|
|
||||||
./src/misc/unix/*.c \
|
|
||||||
./src/power/*.c \
|
|
||||||
./src/sensor/*.c \
|
|
||||||
./src/sensor/dummy/*.c \
|
|
||||||
./src/stdlib/*.c \
|
|
||||||
./src/thread/*.c \
|
|
||||||
./src/thread/pthread/SDL_syscond.c \
|
|
||||||
./src/thread/pthread/SDL_sysmutex.c \
|
|
||||||
./src/thread/pthread/SDL_syssem.c \
|
|
||||||
./src/thread/pthread/SDL_systhread.c \
|
|
||||||
./src/timer/*.c \
|
|
||||||
./src/timer/unix/*.c \
|
|
||||||
./src/video/*.c \
|
|
||||||
./src/video/yuv2rgb/*.c \
|
|
||||||
./src/video/dummy/*.c \
|
|
||||||
./src/video/pandora/*.c
|
|
||||||
|
|
||||||
OBJECTS = $(shell echo $(SOURCES) | sed -e 's,\.c,\.o,g')
|
|
||||||
|
|
||||||
all: config_copy $(TARGET_STATIC) $(TARGET_SHARED)
|
|
||||||
|
|
||||||
$(TARGET_STATIC): $(OBJECTS)
|
|
||||||
$(AR) crv $@ $^
|
|
||||||
$(RANLIB) $@
|
|
||||||
|
|
||||||
$(TARGET_SHARED):
|
|
||||||
$(CC) -shared -Wl,-soname,$(TARGET_SHARED).0 -o $(TARGET_SHARED).0.0.1 $(OBJECTS)
|
|
||||||
ln -s $(TARGET_SHARED).0.0.1 $(TARGET_SHARED).0
|
|
||||||
ln -s $(TARGET_SHARED).0 $(TARGET_SHARED)
|
|
||||||
|
|
||||||
config_copy:
|
|
||||||
cp include/SDL_config_wiz.h include/SDL_config.h
|
|
||||||
|
|
||||||
clean:
|
|
||||||
rm -f $(TARGET_STATIC) $(TARGET_SHARED)* $(OBJECTS)
|
|
||||||
|
|
||||||
install:
|
|
||||||
mkdir -p $(WIZSDK)/lib
|
|
||||||
mkdir -p $(WIZSDK)/include/SDL2
|
|
||||||
cp -f $(TARGET_STATIC) $(WIZSDK)/lib
|
|
||||||
cp -f $(TARGET_SHARED).0.0.1 $(WIZSDK)/lib
|
|
||||||
rm -f $(WIZSDK)/lib/$(TARGET_SHARED).0 $(WIZSDK)/lib/$(TARGET_SHARED)
|
|
||||||
ln -s $(WIZSDK)/lib/$(TARGET_SHARED).0.0.1 $(WIZSDK)/lib/$(TARGET_SHARED).0
|
|
||||||
ln -s $(WIZSDK)/lib/$(TARGET_SHARED).0 $(WIZSDK)/lib/$(TARGET_SHARED)
|
|
||||||
|
|
||||||
cp $(TARGET_STATIC) ../../toolchain/libs
|
|
||||||
cp $(TARGET_SHARED).0.0.1 ../../toolchain/libs
|
|
||||||
rm -f ../../toolchain/libs/$(TARGET_SHARED).0 ../../toolchain/libs/$(TARGET_SHARED)
|
|
||||||
ln -s ../../toolchain/libs/$(TARGET_SHARED).0.0.1 ../../toolchain/libs/$(TARGET_SHARED).0
|
|
||||||
ln -s ../../toolchain/libs/$(TARGET_SHARED).0 ../../toolchain/libs/$(TARGET_SHARED)
|
|
||||||
|
|
||||||
cp $(TARGET_SHARED).0.0.1 ../nehe_demos/build/$(TARGET_SHARED).0
|
|
||||||
cp -f include/*.h $(WIZSDK)/include/SDL2/
|
|
||||||
cp -f include/*.h ../../toolchain/include/SDL2/
|
|
||||||
@@ -1,111 +0,0 @@
|
|||||||
include("${CMAKE_CURRENT_LIST_DIR}/SDL2Targets.cmake")
|
|
||||||
|
|
||||||
# on static-only builds create an alias
|
|
||||||
if(NOT TARGET SDL2::SDL2 AND TARGET SDL2::SDL2-static)
|
|
||||||
if(CMAKE_VERSION VERSION_LESS "3.18")
|
|
||||||
# Aliasing local targets is not supported on CMake < 3.18, so make it global.
|
|
||||||
set_target_properties(SDL2::SDL2-static PROPERTIES IMPORTED_GLOBAL TRUE)
|
|
||||||
endif()
|
|
||||||
add_library(SDL2::SDL2 ALIAS SDL2::SDL2-static)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# provide ${SDL2_LIBRARIES}, ${SDL2_INCLUDE_DIRS} etc, like sdl2-config.cmake does,
|
|
||||||
# for compatibility between SDL2 built with autotools and SDL2 built with CMake
|
|
||||||
|
|
||||||
# the following seems to work on Windows for both MSVC and MINGW+MSYS and with both SDL2Config/Target.cmake
|
|
||||||
# from vcpkg and from building myself with cmake from latest git
|
|
||||||
# AND on Linux when building SDL2 (tested current git) with CMake
|
|
||||||
|
|
||||||
# the headers are easy - but note that this adds both .../include/ and .../include/SDL2/
|
|
||||||
# while the SDL2_INCLUDE_DIRS of sdl2-config.cmake only add ...include/SDL2/
|
|
||||||
# But at least if building worked with sdl2-config.cmake it will also work with this.
|
|
||||||
get_target_property(SDL2_INCLUDE_DIRS SDL2::SDL2 INTERFACE_INCLUDE_DIRECTORIES)
|
|
||||||
|
|
||||||
# get the paths to the files to link against (.lib or .dll.a on Windows, .so or .a on Unix, ...) for both SDL2 and SDL2main
|
|
||||||
|
|
||||||
# for the "normal"/release build they could be in lots of different properties..
|
|
||||||
set(relprops IMPORTED_IMPLIB_RELEASE IMPORTED_IMPLIB_NOCONFIG IMPORTED_IMPLIB IMPORTED_IMPLIB_MINSIZEREL IMPORTED_IMPLIB_RELWITHDEBINFO
|
|
||||||
IMPORTED_LOCATION_RELEASE IMPORTED_LOCATION_NOCONFIG IMPORTED_LOCATION IMPORTED_LOCATION_MINSIZEREL IMPORTED_LOCATION_RELWITHDEBINFO)
|
|
||||||
|
|
||||||
# fewer possibilities for debug builds
|
|
||||||
set(dbgprops IMPORTED_IMPLIB_DEBUG IMPORTED_LOCATION_DEBUG)
|
|
||||||
|
|
||||||
foreach(prop ${relprops})
|
|
||||||
get_target_property(sdl2implib SDL2::SDL2 ${prop})
|
|
||||||
if(sdl2implib)
|
|
||||||
#message("set sdl2implib from ${prop}")
|
|
||||||
break()
|
|
||||||
endif()
|
|
||||||
endforeach()
|
|
||||||
|
|
||||||
foreach(prop ${relprops})
|
|
||||||
get_target_property(sdl2mainimplib SDL2::SDL2main ${prop})
|
|
||||||
if(sdl2mainimplib)
|
|
||||||
#message("set sdl2mainimplib from ${prop}")
|
|
||||||
break()
|
|
||||||
endif()
|
|
||||||
endforeach()
|
|
||||||
|
|
||||||
foreach(prop ${dbgprops})
|
|
||||||
get_target_property(sdl2implibdbg SDL2::SDL2 ${prop})
|
|
||||||
if(sdl2implibdbg)
|
|
||||||
#message("set sdl2implibdbg from ${prop}")
|
|
||||||
break()
|
|
||||||
endif()
|
|
||||||
endforeach()
|
|
||||||
|
|
||||||
foreach(prop ${dbgprops})
|
|
||||||
get_target_property(sdl2mainimplibdbg SDL2::SDL2main ${prop})
|
|
||||||
if(sdl2mainimplibdbg)
|
|
||||||
#message("set sdl2mainimplibdbg from ${prop}")
|
|
||||||
break()
|
|
||||||
endif()
|
|
||||||
endforeach()
|
|
||||||
|
|
||||||
if( sdl2implib AND sdl2mainimplib AND sdl2implibdbg AND sdl2mainimplibdbg )
|
|
||||||
# we have both release and debug builds of SDL2 and SDL2main, so use this ugly
|
|
||||||
# generator expression in SDL2_LIBRARIES to support both in MSVC, depending on build type configured there
|
|
||||||
set(SDL2_LIBRARIES $<IF:$<CONFIG:Debug>,${sdl2mainimplibdbg},${sdl2mainimplib}> $<IF:$<CONFIG:Debug>,${sdl2implibdbg},${sdl2implib}>)
|
|
||||||
else()
|
|
||||||
if( (NOT sdl2implib) AND sdl2implibdbg ) # if we only have a debug version of the lib
|
|
||||||
set(sdl2implib ${sdl2implibdbg})
|
|
||||||
endif()
|
|
||||||
if( (NOT sdl2mainimplib) AND sdl2mainimplibdbg ) # if we only have a debug version of the lib
|
|
||||||
set(sdl2mainimplib ${sdl2mainimplibdbg})
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if( sdl2implib AND sdl2mainimplib )
|
|
||||||
set(SDL2_LIBRARIES ${sdl2mainimplib} ${sdl2implib})
|
|
||||||
elseif(WIN32 OR APPLE) # I think these platforms have a non-dummy SDLmain?
|
|
||||||
message(FATAL_ERROR, "SDL2::SDL2 and/or SDL2::SDL2main don't seem to contain any kind of IMPORTED_IMPLIB* or IMPORTED_LOCATION*")
|
|
||||||
elseif(sdl2implib) # on other platforms just libSDL2 will hopefully do?
|
|
||||||
set(SDL2_LIBRARIES ${sdl2implib})
|
|
||||||
message(STATUS, "No SDL2main lib not found, I hope you don't need it..")
|
|
||||||
else()
|
|
||||||
message(FATAL_ERROR, "SDL2::SDL2 doesn't seem to contain any kind of lib to link against in IMPORTED_IMPLIB* or IMPORTED_LOCATION*")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# TODO: should something like INTERFACE_LINK_LIBRARIES be appended? or wherever -mwindows and things like that
|
|
||||||
# might be defined (if they were defined by the CMake build at all; autotools has @SDL_RLD_FLAGS@ @SDL_LIBS@)?
|
|
||||||
# LINK_DEPENDS? LINK_FLAGS?
|
|
||||||
|
|
||||||
endif()
|
|
||||||
|
|
||||||
get_filename_component(SDL2_LIBDIR ${sdl2implib} PATH)
|
|
||||||
|
|
||||||
# NOTE: SDL2_LIBRARIES now looks like "c:/path/to/SDL2main.lib;c:/path/to/SDL2.lib"
|
|
||||||
# which is different to what it looks like when coming from sdl2-config.cmake
|
|
||||||
# (there it's more like "-L${SDL2_LIBDIR} -lSDL2main -lSDL2" - and also -lmingw32 and -mwindows)
|
|
||||||
# This seems to work with both MSVC and MinGW though, while the other only worked with MinGW
|
|
||||||
# On Linux it looks like "/tmp/sdl2inst/lib/libSDL2main.a;/tmp/sdl2inst/lib/libSDL2-2.0.so.0.14.1" which also seems to work
|
|
||||||
|
|
||||||
# the exec prefix is one level up from lib/ - TODO: really, always? at least on Linux there's /usr/lib/x86_64-bla-blub/libSDL2-asdf.so.0 ..
|
|
||||||
get_filename_component(SDL2_EXEC_PREFIX ${SDL2_LIBDIR} PATH)
|
|
||||||
set(SDL2_PREFIX ${SDL2_EXEC_PREFIX}) # TODO: could this be somewhere else? parent dir of include or sth?
|
|
||||||
|
|
||||||
unset(sdl2implib)
|
|
||||||
unset(sdl2mainimplib)
|
|
||||||
unset(sdl2implibdbg)
|
|
||||||
unset(sdl2mainimplibdbg)
|
|
||||||
unset(relprops)
|
|
||||||
unset(dbgprops)
|
|
||||||
@@ -0,0 +1,65 @@
|
|||||||
|
# sdl2 cmake project-config input for CMakeLists.txt script
|
||||||
|
|
||||||
|
include(FeatureSummary)
|
||||||
|
set_package_properties(SDL2 PROPERTIES
|
||||||
|
URL "https://www.libsdl.org/"
|
||||||
|
DESCRIPTION "low level access to audio, keyboard, mouse, joystick, and graphics hardware"
|
||||||
|
)
|
||||||
|
|
||||||
|
@PACKAGE_INIT@
|
||||||
|
|
||||||
|
set(SDL2_FOUND TRUE)
|
||||||
|
|
||||||
|
if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/SDL2Targets.cmake")
|
||||||
|
include("${CMAKE_CURRENT_LIST_DIR}/SDL2Targets.cmake")
|
||||||
|
set(SDL2_SDL2_FOUND TRUE)
|
||||||
|
endif()
|
||||||
|
if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/SDL2staticTargets.cmake")
|
||||||
|
if(ANDROID)
|
||||||
|
enable_language(CXX)
|
||||||
|
endif()
|
||||||
|
include("${CMAKE_CURRENT_LIST_DIR}/SDL2staticTargets.cmake")
|
||||||
|
set(SDL2_SDL2-static_FOUND TRUE)
|
||||||
|
endif()
|
||||||
|
if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/SDL2mainTargets.cmake")
|
||||||
|
include("${CMAKE_CURRENT_LIST_DIR}/SDL2mainTargets.cmake")
|
||||||
|
set(SDL2_SDL2main_FOUND TRUE)
|
||||||
|
endif()
|
||||||
|
if(EXISTS "${CMAKE_CURRENT_LIST_DIR}/SDL2testTargets.cmake")
|
||||||
|
include("${CMAKE_CURRENT_LIST_DIR}/SDL2testTargets.cmake")
|
||||||
|
set(SDL2_SDL2test_FOUND TRUE)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
check_required_components(SDL2)
|
||||||
|
|
||||||
|
# Create SDL2::SDL2 alias for static-only builds
|
||||||
|
if(TARGET SDL2::SDL2-static AND NOT TARGET SDL2::SDL2)
|
||||||
|
if(CMAKE_VERSION VERSION_LESS "3.18")
|
||||||
|
# FIXME: Aliasing local targets is not supported on CMake < 3.18, so make it global.
|
||||||
|
add_library(SDL2::SDL2 INTERFACE IMPORTED)
|
||||||
|
set_target_properties(SDL2::SDL2 PROPERTIES INTERFACE_LINK_LIBRARIES "SDL2::SDL2-static")
|
||||||
|
else()
|
||||||
|
add_library(SDL2::SDL2 ALIAS SDL2::SDL2-static)
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# For compatibility with autotools sdl2-config.cmake, provide SDL2_* variables.
|
||||||
|
|
||||||
|
set(SDL2_PREFIX "@PACKAGE_CMAKE_INSTALL_PREFIX@")
|
||||||
|
set(SDL2_EXEC_PREFIX "@PACKAGE_CMAKE_INSTALL_PREFIX@")
|
||||||
|
set(SDL2_INCLUDE_DIR "@PACKAGE_CMAKE_INSTALL_FULL_INCLUDEDIR@/SDL2")
|
||||||
|
set(SDL2_INCLUDE_DIRS "@PACKAGE_CMAKE_INSTALL_FULL_INCLUDEDIR@;@PACKAGE_CMAKE_INSTALL_FULL_INCLUDEDIR@/SDL2")
|
||||||
|
set(SDL2_BINDIR "@PACKAGE_CMAKE_INSTALL_FULL_BINDIR@")
|
||||||
|
set(SDL2_LIBDIR "@PACKAGE_CMAKE_INSTALL_FULL_LIBDIR@")
|
||||||
|
set(SDL2_LIBRARIES SDL2::SDL2)
|
||||||
|
set(SDL2_STATIC_LIBRARIES SDL2::SDL2-static)
|
||||||
|
set(SDL2_STATIC_PRIVATE_LIBS)
|
||||||
|
|
||||||
|
set(SDL2MAIN_LIBRARY)
|
||||||
|
if(TARGET SDL2::SDL2main)
|
||||||
|
set(SDL2MAIN_LIBRARY SDL2::SDL2main)
|
||||||
|
list(INSERT SDL2_LIBRARIES 0 SDL2::SDL2main)
|
||||||
|
list(INSERT SDL2_STATIC_LIBRARIES 0 SDL2::SDL2main)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
set(SDL2TEST_LIBRARY SDL2::SDL2test)
|
||||||
@@ -45,6 +45,7 @@
|
|||||||
<ClInclude Include="..\include\SDL_error.h" />
|
<ClInclude Include="..\include\SDL_error.h" />
|
||||||
<ClInclude Include="..\include\SDL_events.h" />
|
<ClInclude Include="..\include\SDL_events.h" />
|
||||||
<ClInclude Include="..\include\SDL_filesystem.h" />
|
<ClInclude Include="..\include\SDL_filesystem.h" />
|
||||||
|
<ClInclude Include="..\include\SDL_guid.h" />
|
||||||
<ClInclude Include="..\include\SDL_haptic.h" />
|
<ClInclude Include="..\include\SDL_haptic.h" />
|
||||||
<ClInclude Include="..\include\SDL_hints.h" />
|
<ClInclude Include="..\include\SDL_hints.h" />
|
||||||
<ClInclude Include="..\include\SDL_hidapi.h" />
|
<ClInclude Include="..\include\SDL_hidapi.h" />
|
||||||
@@ -114,6 +115,7 @@
|
|||||||
<ClInclude Include="..\src\haptic\windows\SDL_dinputhaptic_c.h" />
|
<ClInclude Include="..\src\haptic\windows\SDL_dinputhaptic_c.h" />
|
||||||
<ClInclude Include="..\src\haptic\windows\SDL_windowshaptic_c.h" />
|
<ClInclude Include="..\src\haptic\windows\SDL_windowshaptic_c.h" />
|
||||||
<ClInclude Include="..\src\haptic\windows\SDL_xinputhaptic_c.h" />
|
<ClInclude Include="..\src\haptic\windows\SDL_xinputhaptic_c.h" />
|
||||||
|
<ClInclude Include="..\src\joystick\controller_type.h" />
|
||||||
<ClInclude Include="..\src\joystick\SDL_gamecontrollerdb.h" />
|
<ClInclude Include="..\src\joystick\SDL_gamecontrollerdb.h" />
|
||||||
<ClInclude Include="..\src\joystick\SDL_joystick_c.h" />
|
<ClInclude Include="..\src\joystick\SDL_joystick_c.h" />
|
||||||
<ClInclude Include="..\src\joystick\SDL_sysjoystick.h" />
|
<ClInclude Include="..\src\joystick\SDL_sysjoystick.h" />
|
||||||
@@ -144,6 +146,8 @@
|
|||||||
<ClInclude Include="..\src\SDL_fatal.h" />
|
<ClInclude Include="..\src\SDL_fatal.h" />
|
||||||
<ClInclude Include="..\src\SDL_hints_c.h" />
|
<ClInclude Include="..\src\SDL_hints_c.h" />
|
||||||
<ClInclude Include="..\src\SDL_internal.h" />
|
<ClInclude Include="..\src\SDL_internal.h" />
|
||||||
|
<ClInclude Include="..\src\SDL_list.h" />
|
||||||
|
<ClInclude Include="..\src\SDL_log_c.h" />
|
||||||
<ClInclude Include="..\src\sensor\dummy\SDL_dummysensor.h" />
|
<ClInclude Include="..\src\sensor\dummy\SDL_dummysensor.h" />
|
||||||
<ClInclude Include="..\src\sensor\SDL_sensor_c.h" />
|
<ClInclude Include="..\src\sensor\SDL_sensor_c.h" />
|
||||||
<ClInclude Include="..\src\sensor\SDL_syssensor.h" />
|
<ClInclude Include="..\src\sensor\SDL_syssensor.h" />
|
||||||
@@ -248,6 +252,7 @@
|
|||||||
<ClCompile Include="..\src\haptic\windows\SDL_xinputhaptic.c" />
|
<ClCompile Include="..\src\haptic\windows\SDL_xinputhaptic.c" />
|
||||||
<ClCompile Include="..\src\hidapi\SDL_hidapi.c" />
|
<ClCompile Include="..\src\hidapi\SDL_hidapi.c" />
|
||||||
<ClCompile Include="..\src\joystick\dummy\SDL_sysjoystick.c" />
|
<ClCompile Include="..\src\joystick\dummy\SDL_sysjoystick.c" />
|
||||||
|
<ClCompile Include="..\src\joystick\controller_type.c" />
|
||||||
<ClCompile Include="..\src\joystick\SDL_gamecontroller.c" />
|
<ClCompile Include="..\src\joystick\SDL_gamecontroller.c" />
|
||||||
<ClCompile Include="..\src\joystick\SDL_joystick.c" />
|
<ClCompile Include="..\src\joystick\SDL_joystick.c" />
|
||||||
<ClCompile Include="..\src\joystick\virtual\SDL_virtualjoystick.c" />
|
<ClCompile Include="..\src\joystick\virtual\SDL_virtualjoystick.c" />
|
||||||
@@ -295,7 +300,9 @@
|
|||||||
<ClCompile Include="..\src\SDL.c" />
|
<ClCompile Include="..\src\SDL.c" />
|
||||||
<ClCompile Include="..\src\SDL_assert.c" />
|
<ClCompile Include="..\src\SDL_assert.c" />
|
||||||
<ClCompile Include="..\src\SDL_dataqueue.c" />
|
<ClCompile Include="..\src\SDL_dataqueue.c" />
|
||||||
|
<ClCompile Include="..\src\SDL_list.c" />
|
||||||
<ClCompile Include="..\src\SDL_error.c" />
|
<ClCompile Include="..\src\SDL_error.c" />
|
||||||
|
<ClCompile Include="..\src\SDL_guid.c" />
|
||||||
<ClCompile Include="..\src\SDL_hints.c" />
|
<ClCompile Include="..\src\SDL_hints.c" />
|
||||||
<ClCompile Include="..\src\SDL_log.c" />
|
<ClCompile Include="..\src\SDL_log.c" />
|
||||||
<ClCompile Include="..\src\sensor\dummy\SDL_dummysensor.c" />
|
<ClCompile Include="..\src\sensor\dummy\SDL_dummysensor.c" />
|
||||||
@@ -304,6 +311,8 @@
|
|||||||
<ClCompile Include="..\src\stdlib\SDL_getenv.c" />
|
<ClCompile Include="..\src\stdlib\SDL_getenv.c" />
|
||||||
<ClCompile Include="..\src\stdlib\SDL_iconv.c" />
|
<ClCompile Include="..\src\stdlib\SDL_iconv.c" />
|
||||||
<ClCompile Include="..\src\stdlib\SDL_malloc.c" />
|
<ClCompile Include="..\src\stdlib\SDL_malloc.c" />
|
||||||
|
<ClCompile Include="..\src\stdlib\SDL_memcpy.c" />
|
||||||
|
<ClCompile Include="..\src\stdlib\SDL_memset.c" />
|
||||||
<ClCompile Include="..\src\stdlib\SDL_qsort.c" />
|
<ClCompile Include="..\src\stdlib\SDL_qsort.c" />
|
||||||
<ClCompile Include="..\src\stdlib\SDL_stdlib.c" />
|
<ClCompile Include="..\src\stdlib\SDL_stdlib.c" />
|
||||||
<ClCompile Include="..\src\stdlib\SDL_string.c" />
|
<ClCompile Include="..\src\stdlib\SDL_string.c" />
|
||||||
@@ -414,10 +423,9 @@
|
|||||||
<AppContainerApplication>true</AppContainerApplication>
|
<AppContainerApplication>true</AppContainerApplication>
|
||||||
<ApplicationType>Windows Store</ApplicationType>
|
<ApplicationType>Windows Store</ApplicationType>
|
||||||
<ApplicationTypeRevision>8.2</ApplicationTypeRevision>
|
<ApplicationTypeRevision>8.2</ApplicationTypeRevision>
|
||||||
<TargetPlatformVersion>10.0.10069.0</TargetPlatformVersion>
|
<TargetPlatformVersion>10.0.16299.0</TargetPlatformVersion>
|
||||||
<TargetPlatformMinVersion>10.0.10069.0</TargetPlatformMinVersion>
|
<TargetPlatformMinVersion>10.0.16299.0</TargetPlatformMinVersion>
|
||||||
<WindowsTargetPlatformVersion>10.0.10240.0</WindowsTargetPlatformVersion>
|
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||||
<WindowsTargetPlatformMinVersion>10.0.10240.0</WindowsTargetPlatformMinVersion>
|
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
|||||||
@@ -63,6 +63,9 @@
|
|||||||
<ClInclude Include="..\include\SDL_filesystem.h">
|
<ClInclude Include="..\include\SDL_filesystem.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\include\SDL_guid.h">
|
||||||
|
<Filter>Header Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
<ClInclude Include="..\include\SDL_haptic.h">
|
<ClInclude Include="..\include\SDL_haptic.h">
|
||||||
<Filter>Header Files</Filter>
|
<Filter>Header Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
@@ -330,6 +333,9 @@
|
|||||||
<ClInclude Include="..\src\SDL_internal.h">
|
<ClInclude Include="..\src\SDL_internal.h">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\src\SDL_log_c.h">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
<ClInclude Include="..\src\locale\SDL_syslocale.h">
|
<ClInclude Include="..\src\locale\SDL_syslocale.h">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
@@ -411,6 +417,9 @@
|
|||||||
<ClInclude Include="..\src\SDL_dataqueue.h">
|
<ClInclude Include="..\src\SDL_dataqueue.h">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\src\SDL_list.h">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
<ClInclude Include="..\src\haptic\windows\SDL_xinputhaptic_c.h">
|
<ClInclude Include="..\src\haptic\windows\SDL_xinputhaptic_c.h">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
@@ -627,6 +636,9 @@
|
|||||||
<ClCompile Include="..\src\SDL_error.c">
|
<ClCompile Include="..\src\SDL_error.c">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\src\SDL_guid.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
<ClCompile Include="..\src\SDL_hints.c">
|
<ClCompile Include="..\src\SDL_hints.c">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
@@ -780,6 +792,9 @@
|
|||||||
<ClCompile Include="..\src\SDL_dataqueue.c">
|
<ClCompile Include="..\src\SDL_dataqueue.c">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\src\SDL_list.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
<ClCompile Include="..\src\haptic\windows\SDL_dinputhaptic.c">
|
<ClCompile Include="..\src\haptic\windows\SDL_dinputhaptic.c">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
@@ -813,10 +828,16 @@
|
|||||||
<ClCompile Include="..\src\misc\SDL_url.c">
|
<ClCompile Include="..\src\misc\SDL_url.c">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClInclude Include="..\src\joystick\controller_type.h">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClInclude>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="..\src\joystick\windows\SDL_windows_gaming_input.c">
|
<ClCompile Include="..\src\joystick\windows\SDL_windows_gaming_input.c">
|
||||||
<Filter>Source Files</Filter>
|
<Filter>Source Files</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\src\joystick\controller_type.c">
|
||||||
|
<Filter>Source Files</Filter>
|
||||||
|
</ClCompile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
+12
-1
@@ -234,6 +234,7 @@
|
|||||||
<ClInclude Include="..\..\include\SDL_filesystem.h" />
|
<ClInclude Include="..\..\include\SDL_filesystem.h" />
|
||||||
<ClInclude Include="..\..\include\SDL_gamecontroller.h" />
|
<ClInclude Include="..\..\include\SDL_gamecontroller.h" />
|
||||||
<ClInclude Include="..\..\include\SDL_gesture.h" />
|
<ClInclude Include="..\..\include\SDL_gesture.h" />
|
||||||
|
<ClInclude Include="..\..\include\SDL_guid.h" />
|
||||||
<ClInclude Include="..\..\include\SDL_haptic.h" />
|
<ClInclude Include="..\..\include\SDL_haptic.h" />
|
||||||
<ClInclude Include="..\..\include\SDL_hints.h" />
|
<ClInclude Include="..\..\include\SDL_hints.h" />
|
||||||
<ClInclude Include="..\..\include\SDL_hidapi.h" />
|
<ClInclude Include="..\..\include\SDL_hidapi.h" />
|
||||||
@@ -347,6 +348,7 @@
|
|||||||
<ClInclude Include="..\..\src\misc\SDL_sysurl.h" />
|
<ClInclude Include="..\..\src\misc\SDL_sysurl.h" />
|
||||||
<ClInclude Include="..\..\src\power\SDL_syspower.h" />
|
<ClInclude Include="..\..\src\power\SDL_syspower.h" />
|
||||||
<ClInclude Include="..\..\src\render\direct3d11\SDL_shaders_d3d11.h" />
|
<ClInclude Include="..\..\src\render\direct3d11\SDL_shaders_d3d11.h" />
|
||||||
|
<ClInclude Include="..\..\src\render\direct3d12\SDL_shaders_d3d12.h" />
|
||||||
<ClInclude Include="..\..\src\render\direct3d\SDL_shaders_d3d.h" />
|
<ClInclude Include="..\..\src\render\direct3d\SDL_shaders_d3d.h" />
|
||||||
<ClInclude Include="..\..\src\render\opengles2\SDL_gles2funcs.h" />
|
<ClInclude Include="..\..\src\render\opengles2\SDL_gles2funcs.h" />
|
||||||
<ClInclude Include="..\..\src\render\opengles2\SDL_shaders_gles2.h" />
|
<ClInclude Include="..\..\src\render\opengles2\SDL_shaders_gles2.h" />
|
||||||
@@ -367,8 +369,11 @@
|
|||||||
<ClInclude Include="..\..\src\SDL_assert_c.h" />
|
<ClInclude Include="..\..\src\SDL_assert_c.h" />
|
||||||
<ClInclude Include="..\..\src\SDL_dataqueue.h" />
|
<ClInclude Include="..\..\src\SDL_dataqueue.h" />
|
||||||
<ClInclude Include="..\..\src\SDL_error_c.h" />
|
<ClInclude Include="..\..\src\SDL_error_c.h" />
|
||||||
|
<ClCompile Include="..\..\src\SDL_guid.c" />
|
||||||
<ClInclude Include="..\..\src\SDL_hints_c.h" />
|
<ClInclude Include="..\..\src\SDL_hints_c.h" />
|
||||||
<ClInclude Include="..\..\src\SDL_internal.h" />
|
<ClInclude Include="..\..\src\SDL_internal.h" />
|
||||||
|
<ClInclude Include="..\..\src\SDL_list.h" />
|
||||||
|
<ClInclude Include="..\..\src\SDL_log_c.h" />
|
||||||
<ClInclude Include="..\..\src\sensor\dummy\SDL_dummysensor.h" />
|
<ClInclude Include="..\..\src\sensor\dummy\SDL_dummysensor.h" />
|
||||||
<ClInclude Include="..\..\src\sensor\SDL_sensor_c.h" />
|
<ClInclude Include="..\..\src\sensor\SDL_sensor_c.h" />
|
||||||
<ClInclude Include="..\..\src\sensor\SDL_syssensor.h" />
|
<ClInclude Include="..\..\src\sensor\SDL_syssensor.h" />
|
||||||
@@ -474,6 +479,7 @@
|
|||||||
<ClCompile Include="..\..\src\haptic\windows\SDL_windowshaptic.c" />
|
<ClCompile Include="..\..\src\haptic\windows\SDL_windowshaptic.c" />
|
||||||
<ClCompile Include="..\..\src\haptic\windows\SDL_xinputhaptic.c" />
|
<ClCompile Include="..\..\src\haptic\windows\SDL_xinputhaptic.c" />
|
||||||
<ClCompile Include="..\..\src\hidapi\SDL_hidapi.c" />
|
<ClCompile Include="..\..\src\hidapi\SDL_hidapi.c" />
|
||||||
|
<ClCompile Include="..\..\src\joystick\controller_type.c" />
|
||||||
<ClCompile Include="..\..\src\joystick\dummy\SDL_sysjoystick.c" />
|
<ClCompile Include="..\..\src\joystick\dummy\SDL_sysjoystick.c" />
|
||||||
<ClCompile Include="..\..\src\joystick\hidapi\SDL_hidapijoystick.c" />
|
<ClCompile Include="..\..\src\joystick\hidapi\SDL_hidapijoystick.c" />
|
||||||
<ClCompile Include="..\..\src\joystick\hidapi\SDL_hidapi_gamecube.c" />
|
<ClCompile Include="..\..\src\joystick\hidapi\SDL_hidapi_gamecube.c" />
|
||||||
@@ -522,6 +528,8 @@
|
|||||||
<ClCompile Include="..\..\src\power\SDL_power.c" />
|
<ClCompile Include="..\..\src\power\SDL_power.c" />
|
||||||
<ClCompile Include="..\..\src\power\windows\SDL_syspower.c" />
|
<ClCompile Include="..\..\src\power\windows\SDL_syspower.c" />
|
||||||
<ClCompile Include="..\..\src\render\direct3d11\SDL_shaders_d3d11.c" />
|
<ClCompile Include="..\..\src\render\direct3d11\SDL_shaders_d3d11.c" />
|
||||||
|
<ClCompile Include="..\..\src\render\direct3d12\SDL_render_d3d12.c" />
|
||||||
|
<ClCompile Include="..\..\src\render\direct3d12\SDL_shaders_d3d12.c" />
|
||||||
<ClCompile Include="..\..\src\render\direct3d\SDL_render_d3d.c" />
|
<ClCompile Include="..\..\src\render\direct3d\SDL_render_d3d.c" />
|
||||||
<ClCompile Include="..\..\src\render\direct3d11\SDL_render_d3d11.c" />
|
<ClCompile Include="..\..\src\render\direct3d11\SDL_render_d3d11.c" />
|
||||||
<ClCompile Include="..\..\src\render\direct3d\SDL_shaders_d3d.c" />
|
<ClCompile Include="..\..\src\render\direct3d\SDL_shaders_d3d.c" />
|
||||||
@@ -543,6 +551,7 @@
|
|||||||
<ClCompile Include="..\..\src\SDL.c" />
|
<ClCompile Include="..\..\src\SDL.c" />
|
||||||
<ClCompile Include="..\..\src\SDL_assert.c" />
|
<ClCompile Include="..\..\src\SDL_assert.c" />
|
||||||
<ClCompile Include="..\..\src\SDL_dataqueue.c" />
|
<ClCompile Include="..\..\src\SDL_dataqueue.c" />
|
||||||
|
<ClCompile Include="..\..\src\SDL_list.c" />
|
||||||
<ClCompile Include="..\..\src\SDL_error.c" />
|
<ClCompile Include="..\..\src\SDL_error.c" />
|
||||||
<ClCompile Include="..\..\src\SDL_hints.c" />
|
<ClCompile Include="..\..\src\SDL_hints.c" />
|
||||||
<ClCompile Include="..\..\src\SDL_log.c" />
|
<ClCompile Include="..\..\src\SDL_log.c" />
|
||||||
@@ -553,6 +562,8 @@
|
|||||||
<ClCompile Include="..\..\src\stdlib\SDL_getenv.c" />
|
<ClCompile Include="..\..\src\stdlib\SDL_getenv.c" />
|
||||||
<ClCompile Include="..\..\src\stdlib\SDL_iconv.c" />
|
<ClCompile Include="..\..\src\stdlib\SDL_iconv.c" />
|
||||||
<ClCompile Include="..\..\src\stdlib\SDL_malloc.c" />
|
<ClCompile Include="..\..\src\stdlib\SDL_malloc.c" />
|
||||||
|
<ClCompile Include="..\..\src\stdlib\SDL_memcpy.c" />
|
||||||
|
<ClCompile Include="..\..\src\stdlib\SDL_memset.c" />
|
||||||
<ClCompile Include="..\..\src\stdlib\SDL_qsort.c" />
|
<ClCompile Include="..\..\src\stdlib\SDL_qsort.c" />
|
||||||
<ClCompile Include="..\..\src\stdlib\SDL_stdlib.c" />
|
<ClCompile Include="..\..\src\stdlib\SDL_stdlib.c" />
|
||||||
<ClCompile Include="..\..\src\stdlib\SDL_string.c" />
|
<ClCompile Include="..\..\src\stdlib\SDL_string.c" />
|
||||||
@@ -611,4 +622,4 @@
|
|||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
<ImportGroup Label="ExtensionTargets">
|
<ImportGroup Label="ExtensionTargets">
|
||||||
</ImportGroup>
|
</ImportGroup>
|
||||||
</Project>
|
</Project>
|
||||||
@@ -169,6 +169,9 @@
|
|||||||
<Filter Include="video\khronos\vulkan">
|
<Filter Include="video\khronos\vulkan">
|
||||||
<UniqueIdentifier>{4755f3a6-49ac-46d6-86be-21f5c21f2197}</UniqueIdentifier>
|
<UniqueIdentifier>{4755f3a6-49ac-46d6-86be-21f5c21f2197}</UniqueIdentifier>
|
||||||
</Filter>
|
</Filter>
|
||||||
|
<Filter Include="render\direct3d12">
|
||||||
|
<UniqueIdentifier>{f48c2b17-1bee-4fec-a7c8-24cf619abe08}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClInclude Include="..\..\include\begin_code.h">
|
<ClInclude Include="..\..\include\begin_code.h">
|
||||||
@@ -231,6 +234,9 @@
|
|||||||
<ClInclude Include="..\..\include\SDL_gesture.h">
|
<ClInclude Include="..\..\include\SDL_gesture.h">
|
||||||
<Filter>API Headers</Filter>
|
<Filter>API Headers</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\..\include\SDL_guid.h">
|
||||||
|
<Filter>API Headers</Filter>
|
||||||
|
</ClInclude>
|
||||||
<ClInclude Include="..\..\include\SDL_haptic.h">
|
<ClInclude Include="..\..\include\SDL_haptic.h">
|
||||||
<Filter>API Headers</Filter>
|
<Filter>API Headers</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
@@ -401,6 +407,7 @@
|
|||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="..\..\src\SDL_dataqueue.h" />
|
<ClInclude Include="..\..\src\SDL_dataqueue.h" />
|
||||||
<ClInclude Include="..\..\src\SDL_error_c.h" />
|
<ClInclude Include="..\..\src\SDL_error_c.h" />
|
||||||
|
<ClInclude Include="..\..\src\SDL_list.h" />
|
||||||
<ClInclude Include="..\..\include\SDL_metal.h">
|
<ClInclude Include="..\..\include\SDL_metal.h">
|
||||||
<Filter>API Headers</Filter>
|
<Filter>API Headers</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
@@ -824,6 +831,10 @@
|
|||||||
<ClInclude Include="..\..\src\SDL_assert_c.h" />
|
<ClInclude Include="..\..\src\SDL_assert_c.h" />
|
||||||
<ClInclude Include="..\..\src\SDL_hints_c.h" />
|
<ClInclude Include="..\..\src\SDL_hints_c.h" />
|
||||||
<ClInclude Include="..\..\src\SDL_internal.h" />
|
<ClInclude Include="..\..\src\SDL_internal.h" />
|
||||||
|
<ClInclude Include="..\..\src\SDL_log_c.h" />
|
||||||
|
<ClInclude Include="..\..\src\render\direct3d12\SDL_shaders_d3d12.h">
|
||||||
|
<Filter>render\direct3d12</Filter>
|
||||||
|
</ClInclude>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="..\..\src\audio\wasapi\SDL_wasapi.c" />
|
<ClCompile Include="..\..\src\audio\wasapi\SDL_wasapi.c" />
|
||||||
@@ -831,7 +842,9 @@
|
|||||||
<ClCompile Include="..\..\src\SDL_assert.c" />
|
<ClCompile Include="..\..\src\SDL_assert.c" />
|
||||||
<ClCompile Include="..\..\src\SDL_dataqueue.c" />
|
<ClCompile Include="..\..\src\SDL_dataqueue.c" />
|
||||||
<ClCompile Include="..\..\src\SDL_error.c" />
|
<ClCompile Include="..\..\src\SDL_error.c" />
|
||||||
|
<ClCompile Include="..\..\src\SDL_guid.c" />
|
||||||
<ClCompile Include="..\..\src\SDL_hints.c" />
|
<ClCompile Include="..\..\src\SDL_hints.c" />
|
||||||
|
<ClCompile Include="..\..\src\SDL_list.c" />
|
||||||
<ClCompile Include="..\..\src\audio\SDL_audio.c">
|
<ClCompile Include="..\..\src\audio\SDL_audio.c">
|
||||||
<Filter>audio</Filter>
|
<Filter>audio</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
@@ -913,6 +926,9 @@
|
|||||||
<ClCompile Include="..\..\src\hidapi\SDL_hidapi.c">
|
<ClCompile Include="..\..\src\hidapi\SDL_hidapi.c">
|
||||||
<Filter>hidapi</Filter>
|
<Filter>hidapi</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\src\joystick\controller_type.c">
|
||||||
|
<Filter>joystick</Filter>
|
||||||
|
</ClCompile>
|
||||||
<ClCompile Include="..\..\src\joystick\SDL_gamecontroller.c">
|
<ClCompile Include="..\..\src\joystick\SDL_gamecontroller.c">
|
||||||
<Filter>joystick</Filter>
|
<Filter>joystick</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
@@ -1201,7 +1217,7 @@
|
|||||||
<ClCompile Include="..\..\src\thread\SDL_thread.c">
|
<ClCompile Include="..\..\src\thread\SDL_thread.c">
|
||||||
<Filter>thread</Filter>
|
<Filter>thread</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="..\..\src\thread\windows\SDL_syscond_cv.c" >
|
<ClCompile Include="..\..\src\thread\windows\SDL_syscond_cv.c">
|
||||||
<Filter>thread\windows</Filter>
|
<Filter>thread\windows</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="..\..\src\thread\windows\SDL_sysmutex.c">
|
<ClCompile Include="..\..\src\thread\windows\SDL_sysmutex.c">
|
||||||
@@ -1316,8 +1332,14 @@
|
|||||||
<ClCompile Include="..\..\src\power\windows\SDL_syspower.c">
|
<ClCompile Include="..\..\src\power\windows\SDL_syspower.c">
|
||||||
<Filter>power\windows</Filter>
|
<Filter>power\windows</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\src\render\direct3d12\SDL_render_d3d12.c">
|
||||||
|
<Filter>render\direct3d12</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\src\render\direct3d12\SDL_shaders_d3d12.c">
|
||||||
|
<Filter>render\direct3d12</Filter>
|
||||||
|
</ClCompile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ResourceCompile Include="..\..\src\main\windows\version.rc" />
|
<ResourceCompile Include="..\..\src\main\windows\version.rc" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
@@ -0,0 +1,54 @@
|
|||||||
|
# based on the files generated by CMake's write_basic_package_version_file
|
||||||
|
|
||||||
|
# SDL2 CMake version configuration file:
|
||||||
|
# This file is meant to be placed in a cmake subfolder of SDL2-devel-2.x.y-VC
|
||||||
|
|
||||||
|
if(NOT EXISTS "${CMAKE_CURRENT_LIST_DIR}/../include/SDL_version.h")
|
||||||
|
message(AUTHOR_WARNING "Could not find SDL_version.h. This script is meant to be placed in the root of SDL2-devel-2.x.y-VC")
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
file(READ "${CMAKE_CURRENT_LIST_DIR}/../include/SDL_version.h" _sdl_version_h)
|
||||||
|
string(REGEX MATCH "#define[ \t]+SDL_MAJOR_VERSION[ \t]+([0-9]+)" _sdl_major_re "${_sdl_version_h}")
|
||||||
|
set(_sdl_major "${CMAKE_MATCH_1}")
|
||||||
|
string(REGEX MATCH "#define[ \t]+SDL_MINOR_VERSION[ \t]+([0-9]+)" _sdl_minor_re "${_sdl_version_h}")
|
||||||
|
set(_sdl_minor "${CMAKE_MATCH_1}")
|
||||||
|
string(REGEX MATCH "#define[ \t]+SDL_PATCHLEVEL[ \t]+([0-9]+)" _sdl_patch_re "${_sdl_version_h}")
|
||||||
|
set(_sdl_patch "${CMAKE_MATCH_1}")
|
||||||
|
if(_sdl_major_re AND _sdl_minor_re AND _sdl_patch_re)
|
||||||
|
set(PACKAGE_VERSION "${_sdl_major}.${_sdl_minor}.${_sdl_patch}")
|
||||||
|
else()
|
||||||
|
message(AUTHOR_WARNING "Could not extract version from SDL_version.h.")
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(PACKAGE_FIND_VERSION_RANGE)
|
||||||
|
# Package version must be in the requested version range
|
||||||
|
if ((PACKAGE_FIND_VERSION_RANGE_MIN STREQUAL "INCLUDE" AND PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION_MIN)
|
||||||
|
OR ((PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "INCLUDE" AND PACKAGE_VERSION VERSION_GREATER PACKAGE_FIND_VERSION_MAX)
|
||||||
|
OR (PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "EXCLUDE" AND PACKAGE_VERSION VERSION_GREATER_EQUAL PACKAGE_FIND_VERSION_MAX)))
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||||
|
else()
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
||||||
|
endif()
|
||||||
|
else()
|
||||||
|
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||||
|
else()
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
||||||
|
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
|
||||||
|
set(PACKAGE_VERSION_EXACT TRUE)
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# if the using project doesn't have CMAKE_SIZEOF_VOID_P set, fail.
|
||||||
|
if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "")
|
||||||
|
set(PACKAGE_VERSION_UNSUITABLE TRUE)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# check that the installed version has the same 32/64bit-ness as the one which is currently searching:
|
||||||
|
if(NOT (CMAKE_SIZEOF_VOID_P STREQUAL "8" OR CMAKE_SIZEOF_VOID_P STREQUAL "4"))
|
||||||
|
set(PACKAGE_VERSION "${PACKAGE_VERSION} (32+64bit)")
|
||||||
|
set(PACKAGE_VERSION_UNSUITABLE TRUE)
|
||||||
|
endif()
|
||||||
@@ -0,0 +1,111 @@
|
|||||||
|
# SDL2 CMake configuration file:
|
||||||
|
# This file is meant to be placed in a cmake subfolder of SDL2-devel-2.x.y-VC
|
||||||
|
|
||||||
|
cmake_minimum_required(VERSION 3.0)
|
||||||
|
|
||||||
|
include(FeatureSummary)
|
||||||
|
set_package_properties(SDL2 PROPERTIES
|
||||||
|
URL "https://www.libsdl.org/"
|
||||||
|
DESCRIPTION "low level access to audio, keyboard, mouse, joystick, and graphics hardware"
|
||||||
|
)
|
||||||
|
|
||||||
|
# Copied from `configure_package_config_file`
|
||||||
|
macro(set_and_check _var _file)
|
||||||
|
set(${_var} "${_file}")
|
||||||
|
if(NOT EXISTS "${_file}")
|
||||||
|
message(FATAL_ERROR "File or directory ${_file} referenced by variable ${_var} does not exist !")
|
||||||
|
endif()
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
# Copied from `configure_package_config_file`
|
||||||
|
macro(check_required_components _NAME)
|
||||||
|
foreach(comp ${${_NAME}_FIND_COMPONENTS})
|
||||||
|
if(NOT ${_NAME}_${comp}_FOUND)
|
||||||
|
if(${_NAME}_FIND_REQUIRED_${comp})
|
||||||
|
set(${_NAME}_FOUND FALSE)
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
set(SDL2_FOUND TRUE)
|
||||||
|
|
||||||
|
if(CMAKE_SIZEOF_VOID_P STREQUAL "4")
|
||||||
|
set(_sdl_arch_subdir "x86")
|
||||||
|
elseif(CMAKE_SIZEOF_VOID_P STREQUAL "8")
|
||||||
|
set(_sdl_arch_subdir "x64")
|
||||||
|
else()
|
||||||
|
set(SDL2_FOUND FALSE)
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# For compatibility with autotools sdl2-config.cmake, provide SDL2_* variables.
|
||||||
|
|
||||||
|
set_and_check(SDL2_PREFIX "${CMAKE_CURRENT_LIST_DIR}/..")
|
||||||
|
set_and_check(SDL2_EXEC_PREFIX "${CMAKE_CURRENT_LIST_DIR}/..")
|
||||||
|
set_and_check(SDL2_INCLUDE_DIR "${SDL2_PREFIX}/include/SDL2")
|
||||||
|
set(SDL2_INCLUDE_DIRS "${CMAKE_CURRENT_LIST_DIR}/../include;${SDL2_INCLUDE_DIR}")
|
||||||
|
set_and_check(SDL2_BINDIR "${SDL2_PREFIX}/lib/${_sdl_arch_subdir}")
|
||||||
|
set_and_check(SDL2_LIBDIR "${SDL2_PREFIX}/lib/${_sdl_arch_subdir}")
|
||||||
|
|
||||||
|
set(SDL2_LIBRARIES SDL2::SDL2main SDL2::SDL2)
|
||||||
|
set(SDL2MAIN_LIBRARY SDL2::SDL2main)
|
||||||
|
set(SDL2TEST_LIBRARY SDL2::SDL2test)
|
||||||
|
|
||||||
|
|
||||||
|
# All targets are created, even when some might not be requested though COMPONENTS.
|
||||||
|
# This is done for compatibility with CMake generated SDL2-target.cmake files.
|
||||||
|
|
||||||
|
set(_sdl2_library "${SDL2_LIBDIR}/SDL2.lib")
|
||||||
|
set(_sdl2_dll_library "${SDL2_BINDIR}/SDL2.dll")
|
||||||
|
if(EXISTS "${_sdl2_library}" AND EXISTS "${_sdl2_dll_library}")
|
||||||
|
if(NOT TARGET SDL2::SDL2)
|
||||||
|
add_library(SDL2::SDL2 SHARED IMPORTED)
|
||||||
|
set_target_properties(SDL2::SDL2
|
||||||
|
PROPERTIES
|
||||||
|
INTERFACE_INCLUDE_DIRECTORIES "${SDL2_INCLUDE_DIRS}"
|
||||||
|
IMPORTED_IMPLIB "${_sdl2_library}"
|
||||||
|
IMPORTED_LOCATION "${_sdl2_dll_library}"
|
||||||
|
COMPATIBLE_INTERFACE_BOOL "SDL2_SHARED"
|
||||||
|
INTERFACE_SDL2_SHARED "ON"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
set(SDL2_SDL2_FOUND TRUE)
|
||||||
|
else()
|
||||||
|
set(SDL2_SDL2_FOUND FALSE)
|
||||||
|
endif()
|
||||||
|
unset(_sdl2_library)
|
||||||
|
unset(_sdl2_dll_library)
|
||||||
|
|
||||||
|
set(_sdl2main_library "${SDL2_LIBDIR}/SDL2main.lib")
|
||||||
|
if(EXISTS "${_sdl2main_library}")
|
||||||
|
if(NOT TARGET SDL2::SDL2main)
|
||||||
|
add_library(SDL2::SDL2main STATIC IMPORTED)
|
||||||
|
set_target_properties(SDL2::SDL2main
|
||||||
|
PROPERTIES
|
||||||
|
IMPORTED_LOCATION "${_sdl2main_library}"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
set(SDL2_SDL2main_FOUND TRUE)
|
||||||
|
else()
|
||||||
|
set(SDL2_SDL2_FOUND FALSE)
|
||||||
|
endif()
|
||||||
|
unset(_sdl2main_library)
|
||||||
|
|
||||||
|
set(_sdl2test_library "${SDL2_LIBDIR}/SDL2test.lib")
|
||||||
|
if(EXISTS "${_sdl2test_library}")
|
||||||
|
if(NOT TARGET SDL2::SDL2test)
|
||||||
|
add_library(SDL2::SDL2test STATIC IMPORTED)
|
||||||
|
set_target_properties(SDL2::SDL2test
|
||||||
|
PROPERTIES
|
||||||
|
INTERFACE_INCLUDE_DIRECTORIES "${SDL2_INCLUDE_DIRS}"
|
||||||
|
IMPORTED_LOCATION "${_sdl2test_library}"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
set(SDL2_SDL2test_FOUND TRUE)
|
||||||
|
else()
|
||||||
|
set(SDL2_SDL2_FOUND FALSE)
|
||||||
|
endif()
|
||||||
|
unset(_sdl2test_library)
|
||||||
|
|
||||||
|
check_required_components(SDL2)
|
||||||
@@ -271,6 +271,7 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="..\..\..\test\controllermap.c" />
|
<ClCompile Include="..\..\..\test\controllermap.c" />
|
||||||
|
<ClCompile Include="..\..\..\test\testutils.c" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
<ImportGroup Label="ExtensionTargets">
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
|||||||
@@ -203,6 +203,7 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="..\..\..\Test\loopwave.c" />
|
<ClCompile Include="..\..\..\Test\loopwave.c" />
|
||||||
|
<ClCompile Include="..\..\..\test\testutils.c" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<CustomBuild Include="..\..\..\test\sample.wav">
|
<CustomBuild Include="..\..\..\test\sample.wav">
|
||||||
@@ -227,4 +228,4 @@
|
|||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
<ImportGroup Label="ExtensionTargets">
|
<ImportGroup Label="ExtensionTargets">
|
||||||
</ImportGroup>
|
</ImportGroup>
|
||||||
</Project>
|
</Project>
|
||||||
@@ -209,6 +209,7 @@
|
|||||||
<ClCompile Include="..\..\..\test\testautomation_hints.c" />
|
<ClCompile Include="..\..\..\test\testautomation_hints.c" />
|
||||||
<ClCompile Include="..\..\..\test\testautomation_keyboard.c" />
|
<ClCompile Include="..\..\..\test\testautomation_keyboard.c" />
|
||||||
<ClCompile Include="..\..\..\test\testautomation_main.c" />
|
<ClCompile Include="..\..\..\test\testautomation_main.c" />
|
||||||
|
<ClCompile Include="..\..\..\test\testautomation_math.c" />
|
||||||
<ClCompile Include="..\..\..\test\testautomation_mouse.c" />
|
<ClCompile Include="..\..\..\test\testautomation_mouse.c" />
|
||||||
<ClCompile Include="..\..\..\test\testautomation_pixels.c" />
|
<ClCompile Include="..\..\..\test\testautomation_pixels.c" />
|
||||||
<ClCompile Include="..\..\..\test\testautomation_platform.c" />
|
<ClCompile Include="..\..\..\test\testautomation_platform.c" />
|
||||||
|
|||||||
@@ -271,6 +271,7 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="..\..\..\test\testgamecontroller.c" />
|
<ClCompile Include="..\..\..\test\testgamecontroller.c" />
|
||||||
|
<ClCompile Include="..\..\..\test\testutils.c" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
<ImportGroup Label="ExtensionTargets">
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
|||||||
@@ -217,6 +217,7 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="..\..\..\test\testoverlay2.c" />
|
<ClCompile Include="..\..\..\test\testoverlay2.c" />
|
||||||
|
<ClCompile Include="..\..\..\test\testutils.c" />
|
||||||
<ClCompile Include="..\..\..\test\testyuv_cvt.c" />
|
<ClCompile Include="..\..\..\test\testyuv_cvt.c" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
|||||||
@@ -241,8 +241,9 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="..\..\..\test\testrendertarget.c" />
|
<ClCompile Include="..\..\..\test\testrendertarget.c" />
|
||||||
|
<ClCompile Include="..\..\..\test\testutils.c" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
<ImportGroup Label="ExtensionTargets">
|
<ImportGroup Label="ExtensionTargets">
|
||||||
</ImportGroup>
|
</ImportGroup>
|
||||||
</Project>
|
</Project>
|
||||||
@@ -241,8 +241,9 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="..\..\..\test\testscale.c" />
|
<ClCompile Include="..\..\..\test\testscale.c" />
|
||||||
|
<ClCompile Include="..\..\..\test\testutils.c" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
<ImportGroup Label="ExtensionTargets">
|
<ImportGroup Label="ExtensionTargets">
|
||||||
</ImportGroup>
|
</ImportGroup>
|
||||||
</Project>
|
</Project>
|
||||||
@@ -223,8 +223,9 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="..\..\..\test\testsprite2.c" />
|
<ClCompile Include="..\..\..\test\testsprite2.c" />
|
||||||
|
<ClCompile Include="..\..\..\test\testutils.c" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
<ImportGroup Label="ExtensionTargets">
|
<ImportGroup Label="ExtensionTargets">
|
||||||
</ImportGroup>
|
</ImportGroup>
|
||||||
</Project>
|
</Project>
|
||||||
@@ -22,28 +22,29 @@
|
|||||||
<ProjectName>testquit</ProjectName>
|
<ProjectName>testquit</ProjectName>
|
||||||
<RootNamespace>testquit</RootNamespace>
|
<RootNamespace>testquit</RootNamespace>
|
||||||
<ProjectGuid>{1D12C737-7C71-45CE-AE2C-AAB47B690BC8}</ProjectGuid>
|
<ProjectGuid>{1D12C737-7C71-45CE-AE2C-AAB47B690BC8}</ProjectGuid>
|
||||||
|
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
<ConfigurationType>Application</ConfigurationType>
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
<UseOfMfc>false</UseOfMfc>
|
<UseOfMfc>false</UseOfMfc>
|
||||||
<PlatformToolset>v110</PlatformToolset>
|
<PlatformToolset Condition="'$(VisualStudioVersion)' != '10.0'">$(DefaultPlatformToolset)</PlatformToolset>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
<ConfigurationType>Application</ConfigurationType>
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
<UseOfMfc>false</UseOfMfc>
|
<UseOfMfc>false</UseOfMfc>
|
||||||
<CharacterSet>MultiByte</CharacterSet>
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
<PlatformToolset>v110</PlatformToolset>
|
<PlatformToolset Condition="'$(VisualStudioVersion)' != '10.0'">$(DefaultPlatformToolset)</PlatformToolset>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
<ConfigurationType>Application</ConfigurationType>
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
<UseOfMfc>false</UseOfMfc>
|
<UseOfMfc>false</UseOfMfc>
|
||||||
<PlatformToolset>v110</PlatformToolset>
|
<PlatformToolset Condition="'$(VisualStudioVersion)' != '10.0'">$(DefaultPlatformToolset)</PlatformToolset>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
<ConfigurationType>Application</ConfigurationType>
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
<UseOfMfc>false</UseOfMfc>
|
<UseOfMfc>false</UseOfMfc>
|
||||||
<PlatformToolset>v110</PlatformToolset>
|
<PlatformToolset Condition="'$(VisualStudioVersion)' != '10.0'">$(DefaultPlatformToolset)</PlatformToolset>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
<ImportGroup Label="ExtensionSettings">
|
<ImportGroup Label="ExtensionSettings">
|
||||||
@@ -200,13 +201,13 @@
|
|||||||
<ClCompile Include="..\..\..\..\visualtest\unittest\testquit.c" />
|
<ClCompile Include="..\..\..\..\visualtest\unittest\testquit.c" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\..\..\SDLmain\SDLmain_VS2012.vcxproj">
|
<ProjectReference Include="..\..\..\SDLmain\SDLmain.vcxproj">
|
||||||
<Project>{da956fd3-e142-46f2-9dd5-c78bebb56b7a}</Project>
|
<Project>{da956fd3-e142-46f2-9dd5-c78bebb56b7a}</Project>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
<ProjectReference Include="..\..\..\SDLtest\SDLtest_VS2012.vcxproj">
|
<ProjectReference Include="..\..\..\SDLtest\SDLtest.vcxproj">
|
||||||
<Project>{da956fd3-e143-46f2-9fe5-c77bebc56b1a}</Project>
|
<Project>{da956fd3-e143-46f2-9fe5-c77bebc56b1a}</Project>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
<ProjectReference Include="..\..\..\SDL\SDL_VS2012.vcxproj">
|
<ProjectReference Include="..\..\..\SDL\SDL.vcxproj">
|
||||||
<Project>{81ce8daf-ebb2-4761-8e45-b71abcca8c68}</Project>
|
<Project>{81ce8daf-ebb2-4761-8e45-b71abcca8c68}</Project>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|||||||
@@ -22,28 +22,29 @@
|
|||||||
<ProjectName>visualtest</ProjectName>
|
<ProjectName>visualtest</ProjectName>
|
||||||
<RootNamespace>visualtest</RootNamespace>
|
<RootNamespace>visualtest</RootNamespace>
|
||||||
<ProjectGuid>{13DDF23A-4A8F-4AF9-9734-CC09D9157924}</ProjectGuid>
|
<ProjectGuid>{13DDF23A-4A8F-4AF9-9734-CC09D9157924}</ProjectGuid>
|
||||||
|
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
<ConfigurationType>Application</ConfigurationType>
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
<UseOfMfc>false</UseOfMfc>
|
<UseOfMfc>false</UseOfMfc>
|
||||||
<PlatformToolset>v110</PlatformToolset>
|
<PlatformToolset Condition="'$(VisualStudioVersion)' != '10.0'">$(DefaultPlatformToolset)</PlatformToolset>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
<ConfigurationType>Application</ConfigurationType>
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
<UseOfMfc>false</UseOfMfc>
|
<UseOfMfc>false</UseOfMfc>
|
||||||
<CharacterSet>MultiByte</CharacterSet>
|
<CharacterSet>MultiByte</CharacterSet>
|
||||||
<PlatformToolset>v110</PlatformToolset>
|
<PlatformToolset Condition="'$(VisualStudioVersion)' != '10.0'">$(DefaultPlatformToolset)</PlatformToolset>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
<ConfigurationType>Application</ConfigurationType>
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
<UseOfMfc>false</UseOfMfc>
|
<UseOfMfc>false</UseOfMfc>
|
||||||
<PlatformToolset>v110</PlatformToolset>
|
<PlatformToolset Condition="'$(VisualStudioVersion)' != '10.0'">$(DefaultPlatformToolset)</PlatformToolset>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
<ConfigurationType>Application</ConfigurationType>
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
<UseOfMfc>false</UseOfMfc>
|
<UseOfMfc>false</UseOfMfc>
|
||||||
<PlatformToolset>v110</PlatformToolset>
|
<PlatformToolset Condition="'$(VisualStudioVersion)' != '10.0'">$(DefaultPlatformToolset)</PlatformToolset>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
<ImportGroup Label="ExtensionSettings">
|
<ImportGroup Label="ExtensionSettings">
|
||||||
@@ -110,6 +111,7 @@
|
|||||||
<Link>
|
<Link>
|
||||||
<SuppressStartupBanner>true</SuppressStartupBanner>
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
<SubSystem>Windows</SubSystem>
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
</Link>
|
</Link>
|
||||||
<PostBuildEvent>
|
<PostBuildEvent>
|
||||||
<Command>copy "$(SolutionDir)..\test\icon.bmp" "$(ProjectDir)icon.bmp"
|
<Command>copy "$(SolutionDir)..\test\icon.bmp" "$(ProjectDir)icon.bmp"
|
||||||
@@ -152,6 +154,7 @@ copy /y "$(SolutionDir)..\visualtest\unittest\*.actions" "$(ProjectDir)"</Comman
|
|||||||
<Link>
|
<Link>
|
||||||
<SuppressStartupBanner>true</SuppressStartupBanner>
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
<SubSystem>Windows</SubSystem>
|
<SubSystem>Windows</SubSystem>
|
||||||
|
<AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
</Link>
|
</Link>
|
||||||
<PostBuildEvent>
|
<PostBuildEvent>
|
||||||
<Command>copy "$(SolutionDir)..\test\icon.bmp" "$(ProjectDir)icon.bmp"
|
<Command>copy "$(SolutionDir)..\test\icon.bmp" "$(ProjectDir)icon.bmp"
|
||||||
@@ -196,7 +199,7 @@ copy /y "$(SolutionDir)..\visualtest\unittest\*.actions" "$(ProjectDir)"</Comman
|
|||||||
<SuppressStartupBanner>true</SuppressStartupBanner>
|
<SuppressStartupBanner>true</SuppressStartupBanner>
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
<SubSystem>Windows</SubSystem>
|
<SubSystem>Windows</SubSystem>
|
||||||
<AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;Shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
||||||
</Link>
|
</Link>
|
||||||
<PostBuildEvent>
|
<PostBuildEvent>
|
||||||
@@ -241,6 +244,7 @@ copy /y "$(SolutionDir)..\visualtest\unittest\*.actions" "$(ProjectDir)"</Comman
|
|||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
<SubSystem>Windows</SubSystem>
|
<SubSystem>Windows</SubSystem>
|
||||||
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
<ImageHasSafeExceptionHandlers>false</ImageHasSafeExceptionHandlers>
|
||||||
|
<AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
</Link>
|
</Link>
|
||||||
<PostBuildEvent>
|
<PostBuildEvent>
|
||||||
<Command>copy "$(SolutionDir)..\test\icon.bmp" "$(ProjectDir)icon.bmp"
|
<Command>copy "$(SolutionDir)..\test\icon.bmp" "$(ProjectDir)icon.bmp"
|
||||||
@@ -288,13 +292,13 @@ copy /y "$(SolutionDir)..\visualtest\unittest\*.actions" "$(ProjectDir)"</Comman
|
|||||||
<ClCompile Include="..\..\visualtest\src\windows\windows_screenshot.c" />
|
<ClCompile Include="..\..\visualtest\src\windows\windows_screenshot.c" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\SDLmain\SDLmain_VS2012.vcxproj">
|
<ProjectReference Include="..\SDLmain\SDLmain.vcxproj">
|
||||||
<Project>{da956fd3-e142-46f2-9dd5-c78bebb56b7a}</Project>
|
<Project>{da956fd3-e142-46f2-9dd5-c78bebb56b7a}</Project>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
<ProjectReference Include="..\SDLtest\SDLtest_VS2012.vcxproj">
|
<ProjectReference Include="..\SDLtest\SDLtest.vcxproj">
|
||||||
<Project>{da956fd3-e143-46f2-9fe5-c77bebc56b1a}</Project>
|
<Project>{da956fd3-e143-46f2-9fe5-c77bebc56b1a}</Project>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
<ProjectReference Include="..\SDL\SDL_VS2012.vcxproj">
|
<ProjectReference Include="..\SDL\SDL.vcxproj">
|
||||||
<Project>{81ce8daf-ebb2-4761-8e45-b71abcca8c68}</Project>
|
<Project>{81ce8daf-ebb2-4761-8e45-b71abcca8c68}</Project>
|
||||||
</ProjectReference>
|
</ProjectReference>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|||||||
@@ -1,6 +1,100 @@
|
|||||||
|
|
||||||
This is a list of major changes in SDL's version history.
|
This is a list of major changes in SDL's version history.
|
||||||
|
|
||||||
|
---------------------------------------------------------------------------
|
||||||
|
2.24.0:
|
||||||
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
General:
|
||||||
|
* New version numbering scheme, similar to GLib and Flatpak.
|
||||||
|
* An even number in the minor version (second component) indicates
|
||||||
|
a production-ready stable release such as 2.24.0, which would have
|
||||||
|
been 2.0.24 under the old system.
|
||||||
|
* The patchlevel (micro version, third component) indicates a
|
||||||
|
bugfix-only update: for example, 2.24.1 would be a bugfix-only
|
||||||
|
release to fix bugs in 2.24.0, without adding new features.
|
||||||
|
* An odd number in the minor version indicates a prerelease such
|
||||||
|
as 2.23.0. Stable distributions should not use these prereleases.
|
||||||
|
* The patchlevel indicates successive prereleases, for example
|
||||||
|
2.23.1 and 2.23.2 would be prereleases during development of
|
||||||
|
the SDL 2.24.0 stable release.
|
||||||
|
* Added SDL_bsearch() and SDL_utf8strnlen() to the stdlib routines
|
||||||
|
* Added SDL_size_mul_overflow() and SDL_size_add_overflow() for better size overflow protection
|
||||||
|
* Added functions to get the platform dependent name for a joystick or game controller:
|
||||||
|
* SDL_JoystickPathForIndex()
|
||||||
|
* SDL_JoystickPath()
|
||||||
|
* SDL_GameControllerPathForIndex()
|
||||||
|
* SDL_GameControllerPath()
|
||||||
|
* Added SDL_GameControllerGetFirmwareVersion() and SDL_JoystickGetFirmwareVersion(), currently implemented for DualSense(tm) Wireless Controllers using HIDAPI
|
||||||
|
* Added SDL_JoystickAttachVirtualEx() for extended virtual controller support
|
||||||
|
* Added joystick event SDL_JOYBATTERYUPDATED for when battery status changes.
|
||||||
|
* Added SDL_GUIDToString() and SDL_GUIDFromString() to convert between SDL GUID and string
|
||||||
|
* Added SDL_HasLSX() and SDL_HasLASX() to detect LoongArch SIMD support
|
||||||
|
|
||||||
|
Windows:
|
||||||
|
* Added a D3D12 renderer implementation and SDL_RenderGetD3D12Device() to retrieve the D3D12 device associated with it
|
||||||
|
* Added the hint SDL_HINT_WINDOWS_DPI_AWARENESS to set whether the application is DPI-aware. This hint must be set before initializing the video subsystem.
|
||||||
|
* Added the hint SDL_HINT_WINDOWS_DPI_SCALING to control whether the SDL coordinates are in DPI-scaled points or pixels.
|
||||||
|
|
||||||
|
Linux:
|
||||||
|
* Added the hint SDL_HINT_VIDEO_WAYLAND_MODE_EMULATION to control whether to expose a set of emulated modes in addition to the native resolution modes available on Wayland
|
||||||
|
* Added the hint SDL_HINT_LINUX_DIGITAL_HATS to control whether to treat hats as digital rather than checking to see if they may be analog
|
||||||
|
* Added the hint SDL_HINT_LINUX_HAT_DEADZONES to control whether to use deadzones on analog hats
|
||||||
|
|
||||||
|
---------------------------------------------------------------------------
|
||||||
|
2.0.22:
|
||||||
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
General:
|
||||||
|
* Added SDL_RenderGetWindow() to get the window associated with a renderer
|
||||||
|
* Added floating point rectangle functions:
|
||||||
|
* SDL_PointInFRect()
|
||||||
|
* SDL_FRectEmpty()
|
||||||
|
* SDL_FRectEquals()
|
||||||
|
* SDL_FRectEqualsEpsilon()
|
||||||
|
* SDL_HasIntersectionF()
|
||||||
|
* SDL_IntersectFRect()
|
||||||
|
* SDL_UnionFRect()
|
||||||
|
* SDL_EncloseFPoints()
|
||||||
|
* SDL_IntersectFRectAndLine()
|
||||||
|
* Added SDL_IsTextInputShown() which returns whether the IME window is currently shown
|
||||||
|
* Added SDL_ClearComposition() to dismiss the composition window without disabling IME input
|
||||||
|
* Added SDL_TEXTEDITING_EXT event for handling long composition text, and a hint SDL_HINT_IME_SUPPORT_EXTENDED_TEXT to enable it
|
||||||
|
* Added the hint SDL_HINT_MOUSE_RELATIVE_MODE_CENTER to control whether the mouse should be constrained to the whole window or the center of the window when relative mode is enabled
|
||||||
|
* The mouse is now automatically captured when mouse buttons are pressed, and the hint SDL_HINT_MOUSE_AUTO_CAPTURE allows you to control this behavior
|
||||||
|
* Added the hint SDL_HINT_VIDEO_FOREIGN_WINDOW_OPENGL to let SDL know that a foreign window will be used with OpenGL
|
||||||
|
* Added the hint SDL_HINT_VIDEO_FOREIGN_WINDOW_VULKAN to let SDL know that a foreign window will be used with Vulkan
|
||||||
|
* Added the hint SDL_HINT_QUIT_ON_LAST_WINDOW_CLOSE to specify whether an SDL_QUIT event will be delivered when the last application window is closed
|
||||||
|
* Added the hint SDL_HINT_JOYSTICK_ROG_CHAKRAM to control whether ROG Chakram mice show up as joysticks
|
||||||
|
|
||||||
|
Windows:
|
||||||
|
* Added support for SDL_BLENDOPERATION_MINIMUM and SDL_BLENDOPERATION_MAXIMUM to the D3D9 renderer
|
||||||
|
|
||||||
|
Linux:
|
||||||
|
* Compiling with Wayland support requires libwayland-client version 1.18.0 or later
|
||||||
|
* Added the hint SDL_HINT_X11_WINDOW_TYPE to specify the _NET_WM_WINDOW_TYPE of SDL windows
|
||||||
|
* Added the hint SDL_HINT_VIDEO_WAYLAND_PREFER_LIBDECOR to allow using libdecor with compositors that support xdg-decoration
|
||||||
|
|
||||||
|
Android:
|
||||||
|
* Added SDL_AndroidSendMessage() to send a custom command to the SDL java activity
|
||||||
|
|
||||||
|
|
||||||
|
---------------------------------------------------------------------------
|
||||||
|
2.0.20:
|
||||||
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
General:
|
||||||
|
* SDL_RenderGeometryRaw() takes a pointer to SDL_Color, not int. You can cast color data in SDL_PIXELFORMAT_RGBA32 format (SDL_PIXELFORMAT_ABGR8888 on little endian systems) for this parameter.
|
||||||
|
* Improved accuracy of horizontal and vertical line drawing when using OpenGL or OpenGLES
|
||||||
|
* Added the hint SDL_HINT_RENDER_LINE_METHOD to control the method of line drawing used, to select speed, correctness, and compatibility.
|
||||||
|
|
||||||
|
Windows:
|
||||||
|
* Fixed size of custom cursors
|
||||||
|
|
||||||
|
Linux:
|
||||||
|
* Fixed hotplug controller detection, broken in 2.0.18
|
||||||
|
|
||||||
|
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
2.0.18:
|
2.0.18:
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
@@ -8,6 +102,7 @@ This is a list of major changes in SDL's version history.
|
|||||||
General:
|
General:
|
||||||
* The SDL wiki documentation and development headers are automatically kept in sync
|
* The SDL wiki documentation and development headers are automatically kept in sync
|
||||||
* Each function has information about in which version of SDL it was introduced
|
* Each function has information about in which version of SDL it was introduced
|
||||||
|
* SDL-specific CMake options are now prefixed with 'SDL_'. Be sure to update your CMake build scripts accordingly!
|
||||||
* Added the hint SDL_HINT_APP_NAME to let SDL know the name of your application for various places it might show up in system information
|
* Added the hint SDL_HINT_APP_NAME to let SDL know the name of your application for various places it might show up in system information
|
||||||
* Added SDL_RenderGeometry() and SDL_RenderGeometryRaw() to allow rendering of arbitrary shapes using the SDL 2D render API
|
* Added SDL_RenderGeometry() and SDL_RenderGeometryRaw() to allow rendering of arbitrary shapes using the SDL 2D render API
|
||||||
* Added SDL_SetTextureUserData() and SDL_GetTextureUserData() to associate application data with an SDL texture
|
* Added SDL_SetTextureUserData() and SDL_GetTextureUserData() to associate application data with an SDL texture
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 82 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 18 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 2.4 KiB |
@@ -1,28 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>CFBundleDevelopmentRegion</key>
|
|
||||||
<string>en</string>
|
|
||||||
<key>CFBundleDisplayName</key>
|
|
||||||
<string>${PRODUCT_NAME}</string>
|
|
||||||
<key>CFBundleExecutable</key>
|
|
||||||
<string>${EXECUTABLE_NAME}</string>
|
|
||||||
<key>CFBundleIconFile</key>
|
|
||||||
<string>Icon</string>
|
|
||||||
<key>CFBundleIdentifier</key>
|
|
||||||
<string>com.yourcompany.${PRODUCT_NAME:identifier}</string>
|
|
||||||
<key>CFBundleInfoDictionaryVersion</key>
|
|
||||||
<string>6.0</string>
|
|
||||||
<key>CFBundleName</key>
|
|
||||||
<string>${PRODUCT_NAME}</string>
|
|
||||||
<key>CFBundlePackageType</key>
|
|
||||||
<string>APPL</string>
|
|
||||||
<key>CFBundleSignature</key>
|
|
||||||
<string>????</string>
|
|
||||||
<key>CFBundleVersion</key>
|
|
||||||
<string>1.0</string>
|
|
||||||
<key>LSRequiresIPhoneOS</key>
|
|
||||||
<false/>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
||||||
Binary file not shown.
@@ -1,10 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>Description</key>
|
|
||||||
<string>This project builds an SDL based project for iPhone OS using C or Objective-C. It includes everything you need to get up and running with SDL on iPhone.</string>
|
|
||||||
<key>CFBundleIconFile</key>
|
|
||||||
<string>Icon.png</string>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
||||||
@@ -1,500 +0,0 @@
|
|||||||
// !$*UTF8*$!
|
|
||||||
{
|
|
||||||
archiveVersion = 1;
|
|
||||||
classes = {
|
|
||||||
};
|
|
||||||
objectVersion = 46;
|
|
||||||
objects = {
|
|
||||||
|
|
||||||
/* Begin PBXBuildFile section */
|
|
||||||
1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D30AB110D05D00D00671497 /* Foundation.framework */; };
|
|
||||||
1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1DF5F4DF0D08C38300B7A737 /* UIKit.framework */; };
|
|
||||||
28FD15000DC6FC520079059D /* OpenGLES.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 28FD14FF0DC6FC520079059D /* OpenGLES.framework */; };
|
|
||||||
28FD15080DC6FC5B0079059D /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 28FD15070DC6FC5B0079059D /* QuartzCore.framework */; };
|
|
||||||
945C4F53195AF17F00DBBF61 /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 945C4F52195AF17F00DBBF61 /* Default-568h@2x.png */; };
|
|
||||||
F3A497AC2555F0BD00E92A8B /* CoreHaptics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F3A497AB2555F0BD00E92A8B /* CoreHaptics.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
|
|
||||||
F3A497AD2555F0C000E92A8B /* libSDL2.a in Frameworks */ = {isa = PBXBuildFile; fileRef = F3A4978F2555F07100E92A8B /* libSDL2.a */; };
|
|
||||||
F3A497B02555F0FF00E92A8B /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F3A497AF2555F0FF00E92A8B /* Metal.framework */; };
|
|
||||||
F3A497B32555F11600E92A8B /* AVFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F3A497B22555F11600E92A8B /* AVFoundation.framework */; };
|
|
||||||
FA8B4B97196703B400F8EB7C /* CoreMotion.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FA8B4B96196703B400F8EB7C /* CoreMotion.framework */; };
|
|
||||||
FAE0E9651BAF967F0098DFA4 /* GameController.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FAE0E9641BAF967F0098DFA4 /* GameController.framework */; };
|
|
||||||
FD779EDE0E26BA1200F39101 /* CoreAudio.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FD779EDD0E26BA1200F39101 /* CoreAudio.framework */; };
|
|
||||||
FD77A07D0E26BD8C00F39101 /* Icon.png in Resources */ = {isa = PBXBuildFile; fileRef = FD77A07C0E26BD8C00F39101 /* Icon.png */; };
|
|
||||||
FD77A07F0E26BDA900F39101 /* Default.png in Resources */ = {isa = PBXBuildFile; fileRef = FD77A07E0E26BDA900F39101 /* Default.png */; };
|
|
||||||
FD77A0850E26BDB800F39101 /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FD77A0840E26BDB800F39101 /* AudioToolbox.framework */; };
|
|
||||||
FD77A09D0E26BDE500F39101 /* main.c in Sources */ = {isa = PBXBuildFile; fileRef = FD77A09C0E26BDE500F39101 /* main.c */; };
|
|
||||||
FDB8BFC60E5A0F6A00980157 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FDB8BFC50E5A0F6A00980157 /* CoreGraphics.framework */; };
|
|
||||||
/* End PBXBuildFile section */
|
|
||||||
|
|
||||||
/* Begin PBXContainerItemProxy section */
|
|
||||||
F3A497862555F07100E92A8B /* PBXContainerItemProxy */ = {
|
|
||||||
isa = PBXContainerItemProxy;
|
|
||||||
containerPortal = 944A65681957463F0094A81E /* SDL.xcodeproj */;
|
|
||||||
proxyType = 2;
|
|
||||||
remoteGlobalIDString = BECDF66C0761BA81005FE872;
|
|
||||||
remoteInfo = Framework;
|
|
||||||
};
|
|
||||||
F3A497882555F07100E92A8B /* PBXContainerItemProxy */ = {
|
|
||||||
isa = PBXContainerItemProxy;
|
|
||||||
containerPortal = 944A65681957463F0094A81E /* SDL.xcodeproj */;
|
|
||||||
proxyType = 2;
|
|
||||||
remoteGlobalIDString = A7D88B5423E2437C00DCD162;
|
|
||||||
remoteInfo = "Framework-iOS";
|
|
||||||
};
|
|
||||||
F3A4978A2555F07100E92A8B /* PBXContainerItemProxy */ = {
|
|
||||||
isa = PBXContainerItemProxy;
|
|
||||||
containerPortal = 944A65681957463F0094A81E /* SDL.xcodeproj */;
|
|
||||||
proxyType = 2;
|
|
||||||
remoteGlobalIDString = A7D88D1523E24BED00DCD162;
|
|
||||||
remoteInfo = "Framework-tvOS";
|
|
||||||
};
|
|
||||||
F3A4978C2555F07100E92A8B /* PBXContainerItemProxy */ = {
|
|
||||||
isa = PBXContainerItemProxy;
|
|
||||||
containerPortal = 944A65681957463F0094A81E /* SDL.xcodeproj */;
|
|
||||||
proxyType = 2;
|
|
||||||
remoteGlobalIDString = BECDF6B30761BA81005FE872;
|
|
||||||
remoteInfo = "Static Library";
|
|
||||||
};
|
|
||||||
F3A4978E2555F07100E92A8B /* PBXContainerItemProxy */ = {
|
|
||||||
isa = PBXContainerItemProxy;
|
|
||||||
containerPortal = 944A65681957463F0094A81E /* SDL.xcodeproj */;
|
|
||||||
proxyType = 2;
|
|
||||||
remoteGlobalIDString = A7D88E5423E24D3B00DCD162;
|
|
||||||
remoteInfo = "Static Library-iOS";
|
|
||||||
};
|
|
||||||
F3A497902555F07100E92A8B /* PBXContainerItemProxy */ = {
|
|
||||||
isa = PBXContainerItemProxy;
|
|
||||||
containerPortal = 944A65681957463F0094A81E /* SDL.xcodeproj */;
|
|
||||||
proxyType = 2;
|
|
||||||
remoteGlobalIDString = A769B23D23E259AE00872273;
|
|
||||||
remoteInfo = "Static Library-tvOS";
|
|
||||||
};
|
|
||||||
F3A497922555F07100E92A8B /* PBXContainerItemProxy */ = {
|
|
||||||
isa = PBXContainerItemProxy;
|
|
||||||
containerPortal = 944A65681957463F0094A81E /* SDL.xcodeproj */;
|
|
||||||
proxyType = 2;
|
|
||||||
remoteGlobalIDString = DB31407717554B71006C0E22;
|
|
||||||
remoteInfo = "Shared Library";
|
|
||||||
};
|
|
||||||
F3A497942555F07100E92A8B /* PBXContainerItemProxy */ = {
|
|
||||||
isa = PBXContainerItemProxy;
|
|
||||||
containerPortal = 944A65681957463F0094A81E /* SDL.xcodeproj */;
|
|
||||||
proxyType = 2;
|
|
||||||
remoteGlobalIDString = A75FCEB323E25AB700529352;
|
|
||||||
remoteInfo = "Shared Library-iOS";
|
|
||||||
};
|
|
||||||
F3A497962555F07100E92A8B /* PBXContainerItemProxy */ = {
|
|
||||||
isa = PBXContainerItemProxy;
|
|
||||||
containerPortal = 944A65681957463F0094A81E /* SDL.xcodeproj */;
|
|
||||||
proxyType = 2;
|
|
||||||
remoteGlobalIDString = A75FD06C23E25AC700529352;
|
|
||||||
remoteInfo = "Shared Library-tvOS";
|
|
||||||
};
|
|
||||||
F3A497982555F07100E92A8B /* PBXContainerItemProxy */ = {
|
|
||||||
isa = PBXContainerItemProxy;
|
|
||||||
containerPortal = 944A65681957463F0094A81E /* SDL.xcodeproj */;
|
|
||||||
proxyType = 2;
|
|
||||||
remoteGlobalIDString = BECDF6BE0761BA81005FE872;
|
|
||||||
remoteInfo = "Standard DMG";
|
|
||||||
};
|
|
||||||
F3A4979A2555F07100E92A8B /* PBXContainerItemProxy */ = {
|
|
||||||
isa = PBXContainerItemProxy;
|
|
||||||
containerPortal = 944A65681957463F0094A81E /* SDL.xcodeproj */;
|
|
||||||
proxyType = 2;
|
|
||||||
remoteGlobalIDString = A75FDB8C23E4C74400529352;
|
|
||||||
remoteInfo = hidapi;
|
|
||||||
};
|
|
||||||
F3A4979C2555F07100E92A8B /* PBXContainerItemProxy */ = {
|
|
||||||
isa = PBXContainerItemProxy;
|
|
||||||
containerPortal = 944A65681957463F0094A81E /* SDL.xcodeproj */;
|
|
||||||
proxyType = 2;
|
|
||||||
remoteGlobalIDString = A75FDB4923E399AC00529352;
|
|
||||||
remoteInfo = "hidapi-iOS";
|
|
||||||
};
|
|
||||||
F3A4979E2555F07100E92A8B /* PBXContainerItemProxy */ = {
|
|
||||||
isa = PBXContainerItemProxy;
|
|
||||||
containerPortal = 944A65681957463F0094A81E /* SDL.xcodeproj */;
|
|
||||||
proxyType = 2;
|
|
||||||
remoteGlobalIDString = A75FDB6E23E3A2C900529352;
|
|
||||||
remoteInfo = "hidapi-tvOS";
|
|
||||||
};
|
|
||||||
/* End PBXContainerItemProxy section */
|
|
||||||
|
|
||||||
/* Begin PBXFileReference section */
|
|
||||||
1D30AB110D05D00D00671497 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; };
|
|
||||||
1D6058910D05DD3D006BFB54 /* ___PROJECTNAME___.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "___PROJECTNAME___.app"; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
||||||
1DF5F4DF0D08C38300B7A737 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
|
|
||||||
28FD14FF0DC6FC520079059D /* OpenGLES.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGLES.framework; path = System/Library/Frameworks/OpenGLES.framework; sourceTree = SDKROOT; };
|
|
||||||
28FD15070DC6FC5B0079059D /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; };
|
|
||||||
8D1107310486CEB800E47090 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
|
||||||
944A65681957463F0094A81E /* SDL.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = SDL.xcodeproj; path = ../../../Xcode/SDL/SDL.xcodeproj; sourceTree = "<group>"; };
|
|
||||||
945C4F52195AF17F00DBBF61 /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = "<group>"; };
|
|
||||||
F3A497AB2555F0BD00E92A8B /* CoreHaptics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreHaptics.framework; path = System/Library/Frameworks/CoreHaptics.framework; sourceTree = SDKROOT; };
|
|
||||||
F3A497AF2555F0FF00E92A8B /* Metal.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Metal.framework; path = System/Library/Frameworks/Metal.framework; sourceTree = SDKROOT; };
|
|
||||||
F3A497B22555F11600E92A8B /* AVFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AVFoundation.framework; path = System/Library/Frameworks/AVFoundation.framework; sourceTree = SDKROOT; };
|
|
||||||
FA8B4B96196703B400F8EB7C /* CoreMotion.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreMotion.framework; path = System/Library/Frameworks/CoreMotion.framework; sourceTree = SDKROOT; };
|
|
||||||
FAE0E9641BAF967F0098DFA4 /* GameController.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GameController.framework; path = System/Library/Frameworks/GameController.framework; sourceTree = SDKROOT; };
|
|
||||||
FD779EDD0E26BA1200F39101 /* CoreAudio.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreAudio.framework; path = System/Library/Frameworks/CoreAudio.framework; sourceTree = SDKROOT; };
|
|
||||||
FD77A07C0E26BD8C00F39101 /* Icon.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Icon.png; sourceTree = "<group>"; };
|
|
||||||
FD77A07E0E26BDA900F39101 /* Default.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Default.png; sourceTree = "<group>"; };
|
|
||||||
FD77A0840E26BDB800F39101 /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = System/Library/Frameworks/AudioToolbox.framework; sourceTree = SDKROOT; };
|
|
||||||
FD77A09C0E26BDE500F39101 /* main.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = main.c; sourceTree = "<group>"; };
|
|
||||||
FDB8BFC50E5A0F6A00980157 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
|
|
||||||
/* End PBXFileReference section */
|
|
||||||
|
|
||||||
/* Begin PBXFrameworksBuildPhase section */
|
|
||||||
1D60588F0D05DD3D006BFB54 /* Frameworks */ = {
|
|
||||||
isa = PBXFrameworksBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
F3A497AD2555F0C000E92A8B /* libSDL2.a in Frameworks */,
|
|
||||||
FD77A0850E26BDB800F39101 /* AudioToolbox.framework in Frameworks */,
|
|
||||||
F3A497B32555F11600E92A8B /* AVFoundation.framework in Frameworks */,
|
|
||||||
1D60589F0D05DD5A006BFB54 /* Foundation.framework in Frameworks */,
|
|
||||||
FD779EDE0E26BA1200F39101 /* CoreAudio.framework in Frameworks */,
|
|
||||||
FDB8BFC60E5A0F6A00980157 /* CoreGraphics.framework in Frameworks */,
|
|
||||||
F3A497AC2555F0BD00E92A8B /* CoreHaptics.framework in Frameworks */,
|
|
||||||
FA8B4B97196703B400F8EB7C /* CoreMotion.framework in Frameworks */,
|
|
||||||
FAE0E9651BAF967F0098DFA4 /* GameController.framework in Frameworks */,
|
|
||||||
F3A497B02555F0FF00E92A8B /* Metal.framework in Frameworks */,
|
|
||||||
28FD15000DC6FC520079059D /* OpenGLES.framework in Frameworks */,
|
|
||||||
28FD15080DC6FC5B0079059D /* QuartzCore.framework in Frameworks */,
|
|
||||||
1DF5F4E00D08C38300B7A737 /* UIKit.framework in Frameworks */,
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
};
|
|
||||||
/* End PBXFrameworksBuildPhase section */
|
|
||||||
|
|
||||||
/* Begin PBXGroup section */
|
|
||||||
19C28FACFE9D520D11CA2CBB /* Products */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
1D6058910D05DD3D006BFB54 /* ___PROJECTNAME___.app */,
|
|
||||||
);
|
|
||||||
name = Products;
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
29B97314FDCFA39411CA2CEA /* CustomTemplate */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
945C4F52195AF17F00DBBF61 /* Default-568h@2x.png */,
|
|
||||||
29B97315FDCFA39411CA2CEA /* Sources */,
|
|
||||||
29B97317FDCFA39411CA2CEA /* Resources */,
|
|
||||||
29B97323FDCFA39411CA2CEA /* Frameworks */,
|
|
||||||
19C28FACFE9D520D11CA2CBB /* Products */,
|
|
||||||
);
|
|
||||||
name = CustomTemplate;
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
29B97315FDCFA39411CA2CEA /* Sources */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
944A65681957463F0094A81E /* SDL.xcodeproj */,
|
|
||||||
FD77A09C0E26BDE500F39101 /* main.c */,
|
|
||||||
);
|
|
||||||
name = Sources;
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
29B97317FDCFA39411CA2CEA /* Resources */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
FD77A07E0E26BDA900F39101 /* Default.png */,
|
|
||||||
FD77A07C0E26BD8C00F39101 /* Icon.png */,
|
|
||||||
8D1107310486CEB800E47090 /* Info.plist */,
|
|
||||||
);
|
|
||||||
name = Resources;
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
29B97323FDCFA39411CA2CEA /* Frameworks */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
F3A497B22555F11600E92A8B /* AVFoundation.framework */,
|
|
||||||
F3A497AF2555F0FF00E92A8B /* Metal.framework */,
|
|
||||||
F3A497AB2555F0BD00E92A8B /* CoreHaptics.framework */,
|
|
||||||
FAE0E9641BAF967F0098DFA4 /* GameController.framework */,
|
|
||||||
FA8B4B96196703B400F8EB7C /* CoreMotion.framework */,
|
|
||||||
FDB8BFC50E5A0F6A00980157 /* CoreGraphics.framework */,
|
|
||||||
FD77A0840E26BDB800F39101 /* AudioToolbox.framework */,
|
|
||||||
FD779EDD0E26BA1200F39101 /* CoreAudio.framework */,
|
|
||||||
28FD15070DC6FC5B0079059D /* QuartzCore.framework */,
|
|
||||||
28FD14FF0DC6FC520079059D /* OpenGLES.framework */,
|
|
||||||
1DF5F4DF0D08C38300B7A737 /* UIKit.framework */,
|
|
||||||
1D30AB110D05D00D00671497 /* Foundation.framework */,
|
|
||||||
);
|
|
||||||
name = Frameworks;
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
F3A497772555F07100E92A8B /* Products */ = {
|
|
||||||
isa = PBXGroup;
|
|
||||||
children = (
|
|
||||||
F3A497872555F07100E92A8B /* SDL2.framework */,
|
|
||||||
F3A497892555F07100E92A8B /* SDL2.framework */,
|
|
||||||
F3A4978B2555F07100E92A8B /* SDL2.framework */,
|
|
||||||
F3A4978D2555F07100E92A8B /* libSDL2.a */,
|
|
||||||
F3A4978F2555F07100E92A8B /* libSDL2.a */,
|
|
||||||
F3A497912555F07100E92A8B /* libSDL2.a */,
|
|
||||||
F3A497932555F07100E92A8B /* libSDL2.dylib */,
|
|
||||||
F3A497952555F07100E92A8B /* libSDL2.dylib */,
|
|
||||||
F3A497972555F07100E92A8B /* libSDL2.dylib */,
|
|
||||||
F3A497992555F07100E92A8B /* SDL2 */,
|
|
||||||
F3A4979B2555F07100E92A8B /* hidapi.framework */,
|
|
||||||
F3A4979D2555F07100E92A8B /* hidapi.framework */,
|
|
||||||
F3A4979F2555F07100E92A8B /* hidapi.framework */,
|
|
||||||
);
|
|
||||||
name = Products;
|
|
||||||
sourceTree = "<group>";
|
|
||||||
};
|
|
||||||
/* End PBXGroup section */
|
|
||||||
|
|
||||||
/* Begin PBXNativeTarget section */
|
|
||||||
1D6058900D05DD3D006BFB54 /* ___PROJECTNAME___ */ = {
|
|
||||||
isa = PBXNativeTarget;
|
|
||||||
buildConfigurationList = 1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "___PROJECTNAME___" */;
|
|
||||||
buildPhases = (
|
|
||||||
1D60588D0D05DD3D006BFB54 /* Resources */,
|
|
||||||
1D60588E0D05DD3D006BFB54 /* Sources */,
|
|
||||||
1D60588F0D05DD3D006BFB54 /* Frameworks */,
|
|
||||||
);
|
|
||||||
buildRules = (
|
|
||||||
);
|
|
||||||
dependencies = (
|
|
||||||
);
|
|
||||||
name = "___PROJECTNAME___";
|
|
||||||
productName = "___PROJECTNAME___";
|
|
||||||
productReference = 1D6058910D05DD3D006BFB54 /* ___PROJECTNAME___.app */;
|
|
||||||
productType = "com.apple.product-type.application";
|
|
||||||
};
|
|
||||||
/* End PBXNativeTarget section */
|
|
||||||
|
|
||||||
/* Begin PBXProject section */
|
|
||||||
29B97313FDCFA39411CA2CEA /* Project object */ = {
|
|
||||||
isa = PBXProject;
|
|
||||||
attributes = {
|
|
||||||
LastUpgradeCheck = 0510;
|
|
||||||
};
|
|
||||||
buildConfigurationList = C01FCF4E08A954540054247B /* Build configuration list for PBXProject "___PROJECTNAME___" */;
|
|
||||||
compatibilityVersion = "Xcode 3.2";
|
|
||||||
developmentRegion = English;
|
|
||||||
hasScannedForEncodings = 1;
|
|
||||||
knownRegions = (
|
|
||||||
English,
|
|
||||||
Japanese,
|
|
||||||
French,
|
|
||||||
German,
|
|
||||||
);
|
|
||||||
mainGroup = 29B97314FDCFA39411CA2CEA /* CustomTemplate */;
|
|
||||||
projectDirPath = "";
|
|
||||||
projectReferences = (
|
|
||||||
{
|
|
||||||
ProductGroup = F3A497772555F07100E92A8B /* Products */;
|
|
||||||
ProjectRef = 944A65681957463F0094A81E /* SDL.xcodeproj */;
|
|
||||||
},
|
|
||||||
);
|
|
||||||
projectRoot = "";
|
|
||||||
targets = (
|
|
||||||
1D6058900D05DD3D006BFB54 /* ___PROJECTNAME___ */,
|
|
||||||
);
|
|
||||||
};
|
|
||||||
/* End PBXProject section */
|
|
||||||
|
|
||||||
/* Begin PBXReferenceProxy section */
|
|
||||||
F3A497872555F07100E92A8B /* SDL2.framework */ = {
|
|
||||||
isa = PBXReferenceProxy;
|
|
||||||
fileType = wrapper.framework;
|
|
||||||
path = SDL2.framework;
|
|
||||||
remoteRef = F3A497862555F07100E92A8B /* PBXContainerItemProxy */;
|
|
||||||
sourceTree = BUILT_PRODUCTS_DIR;
|
|
||||||
};
|
|
||||||
F3A497892555F07100E92A8B /* SDL2.framework */ = {
|
|
||||||
isa = PBXReferenceProxy;
|
|
||||||
fileType = wrapper.framework;
|
|
||||||
path = SDL2.framework;
|
|
||||||
remoteRef = F3A497882555F07100E92A8B /* PBXContainerItemProxy */;
|
|
||||||
sourceTree = BUILT_PRODUCTS_DIR;
|
|
||||||
};
|
|
||||||
F3A4978B2555F07100E92A8B /* SDL2.framework */ = {
|
|
||||||
isa = PBXReferenceProxy;
|
|
||||||
fileType = wrapper.framework;
|
|
||||||
path = SDL2.framework;
|
|
||||||
remoteRef = F3A4978A2555F07100E92A8B /* PBXContainerItemProxy */;
|
|
||||||
sourceTree = BUILT_PRODUCTS_DIR;
|
|
||||||
};
|
|
||||||
F3A4978D2555F07100E92A8B /* libSDL2.a */ = {
|
|
||||||
isa = PBXReferenceProxy;
|
|
||||||
fileType = archive.ar;
|
|
||||||
path = libSDL2.a;
|
|
||||||
remoteRef = F3A4978C2555F07100E92A8B /* PBXContainerItemProxy */;
|
|
||||||
sourceTree = BUILT_PRODUCTS_DIR;
|
|
||||||
};
|
|
||||||
F3A4978F2555F07100E92A8B /* libSDL2.a */ = {
|
|
||||||
isa = PBXReferenceProxy;
|
|
||||||
fileType = archive.ar;
|
|
||||||
path = libSDL2.a;
|
|
||||||
remoteRef = F3A4978E2555F07100E92A8B /* PBXContainerItemProxy */;
|
|
||||||
sourceTree = BUILT_PRODUCTS_DIR;
|
|
||||||
};
|
|
||||||
F3A497912555F07100E92A8B /* libSDL2.a */ = {
|
|
||||||
isa = PBXReferenceProxy;
|
|
||||||
fileType = archive.ar;
|
|
||||||
path = libSDL2.a;
|
|
||||||
remoteRef = F3A497902555F07100E92A8B /* PBXContainerItemProxy */;
|
|
||||||
sourceTree = BUILT_PRODUCTS_DIR;
|
|
||||||
};
|
|
||||||
F3A497932555F07100E92A8B /* libSDL2.dylib */ = {
|
|
||||||
isa = PBXReferenceProxy;
|
|
||||||
fileType = "compiled.mach-o.dylib";
|
|
||||||
path = libSDL2.dylib;
|
|
||||||
remoteRef = F3A497922555F07100E92A8B /* PBXContainerItemProxy */;
|
|
||||||
sourceTree = BUILT_PRODUCTS_DIR;
|
|
||||||
};
|
|
||||||
F3A497952555F07100E92A8B /* libSDL2.dylib */ = {
|
|
||||||
isa = PBXReferenceProxy;
|
|
||||||
fileType = "compiled.mach-o.dylib";
|
|
||||||
path = libSDL2.dylib;
|
|
||||||
remoteRef = F3A497942555F07100E92A8B /* PBXContainerItemProxy */;
|
|
||||||
sourceTree = BUILT_PRODUCTS_DIR;
|
|
||||||
};
|
|
||||||
F3A497972555F07100E92A8B /* libSDL2.dylib */ = {
|
|
||||||
isa = PBXReferenceProxy;
|
|
||||||
fileType = "compiled.mach-o.dylib";
|
|
||||||
path = libSDL2.dylib;
|
|
||||||
remoteRef = F3A497962555F07100E92A8B /* PBXContainerItemProxy */;
|
|
||||||
sourceTree = BUILT_PRODUCTS_DIR;
|
|
||||||
};
|
|
||||||
F3A497992555F07100E92A8B /* SDL2 */ = {
|
|
||||||
isa = PBXReferenceProxy;
|
|
||||||
fileType = "compiled.mach-o.executable";
|
|
||||||
path = SDL2;
|
|
||||||
remoteRef = F3A497982555F07100E92A8B /* PBXContainerItemProxy */;
|
|
||||||
sourceTree = BUILT_PRODUCTS_DIR;
|
|
||||||
};
|
|
||||||
F3A4979B2555F07100E92A8B /* hidapi.framework */ = {
|
|
||||||
isa = PBXReferenceProxy;
|
|
||||||
fileType = wrapper.framework;
|
|
||||||
path = hidapi.framework;
|
|
||||||
remoteRef = F3A4979A2555F07100E92A8B /* PBXContainerItemProxy */;
|
|
||||||
sourceTree = BUILT_PRODUCTS_DIR;
|
|
||||||
};
|
|
||||||
F3A4979D2555F07100E92A8B /* hidapi.framework */ = {
|
|
||||||
isa = PBXReferenceProxy;
|
|
||||||
fileType = wrapper.framework;
|
|
||||||
path = hidapi.framework;
|
|
||||||
remoteRef = F3A4979C2555F07100E92A8B /* PBXContainerItemProxy */;
|
|
||||||
sourceTree = BUILT_PRODUCTS_DIR;
|
|
||||||
};
|
|
||||||
F3A4979F2555F07100E92A8B /* hidapi.framework */ = {
|
|
||||||
isa = PBXReferenceProxy;
|
|
||||||
fileType = wrapper.framework;
|
|
||||||
path = hidapi.framework;
|
|
||||||
remoteRef = F3A4979E2555F07100E92A8B /* PBXContainerItemProxy */;
|
|
||||||
sourceTree = BUILT_PRODUCTS_DIR;
|
|
||||||
};
|
|
||||||
/* End PBXReferenceProxy section */
|
|
||||||
|
|
||||||
/* Begin PBXResourcesBuildPhase section */
|
|
||||||
1D60588D0D05DD3D006BFB54 /* Resources */ = {
|
|
||||||
isa = PBXResourcesBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
FD77A07D0E26BD8C00F39101 /* Icon.png in Resources */,
|
|
||||||
FD77A07F0E26BDA900F39101 /* Default.png in Resources */,
|
|
||||||
945C4F53195AF17F00DBBF61 /* Default-568h@2x.png in Resources */,
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
};
|
|
||||||
/* End PBXResourcesBuildPhase section */
|
|
||||||
|
|
||||||
/* Begin PBXSourcesBuildPhase section */
|
|
||||||
1D60588E0D05DD3D006BFB54 /* Sources */ = {
|
|
||||||
isa = PBXSourcesBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
FD77A09D0E26BDE500F39101 /* main.c in Sources */,
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
};
|
|
||||||
/* End PBXSourcesBuildPhase section */
|
|
||||||
|
|
||||||
/* Begin XCBuildConfiguration section */
|
|
||||||
1D6058940D05DD3E006BFB54 /* Debug */ = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
||||||
COPY_PHASE_STRIP = NO;
|
|
||||||
GCC_DYNAMIC_NO_PIC = NO;
|
|
||||||
GCC_OPTIMIZATION_LEVEL = 0;
|
|
||||||
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
|
||||||
GCC_PREFIX_HEADER = "";
|
|
||||||
INFOPLIST_FILE = Info.plist;
|
|
||||||
LIBRARY_SEARCH_PATHS = "$(inherited)";
|
|
||||||
PRODUCT_NAME = "___PROJECTNAME___";
|
|
||||||
USER_HEADER_SEARCH_PATHS = ../../../include;
|
|
||||||
};
|
|
||||||
name = Debug;
|
|
||||||
};
|
|
||||||
1D6058950D05DD3E006BFB54 /* Release */ = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
||||||
COPY_PHASE_STRIP = YES;
|
|
||||||
GCC_PRECOMPILE_PREFIX_HEADER = YES;
|
|
||||||
GCC_PREFIX_HEADER = "";
|
|
||||||
INFOPLIST_FILE = Info.plist;
|
|
||||||
LIBRARY_SEARCH_PATHS = "$(inherited)";
|
|
||||||
PRODUCT_NAME = "___PROJECTNAME___";
|
|
||||||
USER_HEADER_SEARCH_PATHS = ../../../include;
|
|
||||||
};
|
|
||||||
name = Release;
|
|
||||||
};
|
|
||||||
C01FCF4F08A954540054247B /* Debug */ = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
|
||||||
GCC_C_LANGUAGE_STANDARD = c99;
|
|
||||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
|
||||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
||||||
ONLY_ACTIVE_ARCH = YES;
|
|
||||||
OTHER_CFLAGS = "";
|
|
||||||
PREBINDING = NO;
|
|
||||||
SDKROOT = iphoneos;
|
|
||||||
};
|
|
||||||
name = Debug;
|
|
||||||
};
|
|
||||||
C01FCF5008A954540054247B /* Release */ = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
|
||||||
GCC_C_LANGUAGE_STANDARD = c99;
|
|
||||||
GCC_WARN_ABOUT_RETURN_TYPE = YES;
|
|
||||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
||||||
OTHER_CFLAGS = "";
|
|
||||||
PREBINDING = NO;
|
|
||||||
SDKROOT = iphoneos;
|
|
||||||
};
|
|
||||||
name = Release;
|
|
||||||
};
|
|
||||||
/* End XCBuildConfiguration section */
|
|
||||||
|
|
||||||
/* Begin XCConfigurationList section */
|
|
||||||
1D6058960D05DD3E006BFB54 /* Build configuration list for PBXNativeTarget "___PROJECTNAME___" */ = {
|
|
||||||
isa = XCConfigurationList;
|
|
||||||
buildConfigurations = (
|
|
||||||
1D6058940D05DD3E006BFB54 /* Debug */,
|
|
||||||
1D6058950D05DD3E006BFB54 /* Release */,
|
|
||||||
);
|
|
||||||
defaultConfigurationIsVisible = 0;
|
|
||||||
defaultConfigurationName = Release;
|
|
||||||
};
|
|
||||||
C01FCF4E08A954540054247B /* Build configuration list for PBXProject "___PROJECTNAME___" */ = {
|
|
||||||
isa = XCConfigurationList;
|
|
||||||
buildConfigurations = (
|
|
||||||
C01FCF4F08A954540054247B /* Debug */,
|
|
||||||
C01FCF5008A954540054247B /* Release */,
|
|
||||||
);
|
|
||||||
defaultConfigurationIsVisible = 0;
|
|
||||||
defaultConfigurationName = Release;
|
|
||||||
};
|
|
||||||
/* End XCConfigurationList section */
|
|
||||||
};
|
|
||||||
rootObject = 29B97313FDCFA39411CA2CEA /* Project object */;
|
|
||||||
}
|
|
||||||
@@ -1,100 +0,0 @@
|
|||||||
/*
|
|
||||||
* rectangles.c
|
|
||||||
* written by Holmes Futrell
|
|
||||||
* use however you want
|
|
||||||
*/
|
|
||||||
|
|
||||||
#include "SDL.h"
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <stdlib.h>
|
|
||||||
#include <time.h>
|
|
||||||
|
|
||||||
#define SCREEN_WIDTH 320
|
|
||||||
#define SCREEN_HEIGHT 480
|
|
||||||
|
|
||||||
int
|
|
||||||
randomInt(int min, int max)
|
|
||||||
{
|
|
||||||
return min + rand() % (max - min + 1);
|
|
||||||
}
|
|
||||||
|
|
||||||
void
|
|
||||||
render(SDL_Renderer *renderer)
|
|
||||||
{
|
|
||||||
|
|
||||||
SDL_Rect rect;
|
|
||||||
Uint8 r, g, b;
|
|
||||||
|
|
||||||
/* Clear the screen */
|
|
||||||
SDL_SetRenderDrawColor(renderer, 0, 0, 0, 255);
|
|
||||||
SDL_RenderClear(renderer);
|
|
||||||
|
|
||||||
/* Come up with a random rectangle */
|
|
||||||
rect.w = randomInt(64, 128);
|
|
||||||
rect.h = randomInt(64, 128);
|
|
||||||
rect.x = randomInt(0, SCREEN_WIDTH);
|
|
||||||
rect.y = randomInt(0, SCREEN_HEIGHT);
|
|
||||||
|
|
||||||
/* Come up with a random color */
|
|
||||||
r = randomInt(50, 255);
|
|
||||||
g = randomInt(50, 255);
|
|
||||||
b = randomInt(50, 255);
|
|
||||||
SDL_SetRenderDrawColor(renderer, r, g, b, 255);
|
|
||||||
|
|
||||||
/* Fill the rectangle in the color */
|
|
||||||
SDL_RenderFillRect(renderer, &rect);
|
|
||||||
|
|
||||||
/* update screen */
|
|
||||||
SDL_RenderPresent(renderer);
|
|
||||||
}
|
|
||||||
|
|
||||||
int
|
|
||||||
main(int argc, char *argv[])
|
|
||||||
{
|
|
||||||
|
|
||||||
SDL_Window *window;
|
|
||||||
SDL_Renderer *renderer;
|
|
||||||
int done;
|
|
||||||
SDL_Event event;
|
|
||||||
|
|
||||||
/* initialize SDL */
|
|
||||||
if (SDL_Init(SDL_INIT_VIDEO) < 0) {
|
|
||||||
printf("Could not initialize SDL\n");
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* seed random number generator */
|
|
||||||
srand(time(NULL));
|
|
||||||
|
|
||||||
/* create window and renderer */
|
|
||||||
window =
|
|
||||||
SDL_CreateWindow(NULL, 0, 0, SCREEN_WIDTH, SCREEN_HEIGHT,
|
|
||||||
SDL_WINDOW_OPENGL);
|
|
||||||
if (!window) {
|
|
||||||
printf("Could not initialize Window\n");
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
renderer = SDL_CreateRenderer(window, -1, 0);
|
|
||||||
if (!renderer) {
|
|
||||||
printf("Could not create renderer\n");
|
|
||||||
return 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Enter render loop, waiting for user to quit */
|
|
||||||
done = 0;
|
|
||||||
while (!done) {
|
|
||||||
while (SDL_PollEvent(&event)) {
|
|
||||||
if (event.type == SDL_QUIT) {
|
|
||||||
done = 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
render(renderer);
|
|
||||||
SDL_Delay(1);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* shutdown SDL */
|
|
||||||
SDL_Quit();
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
@@ -19,10 +19,10 @@
|
|||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
<string>FMWK</string>
|
<string>FMWK</string>
|
||||||
<key>CFBundleShortVersionString</key>
|
<key>CFBundleShortVersionString</key>
|
||||||
<string>2.0.18</string>
|
<string>2.23.1</string>
|
||||||
<key>CFBundleSignature</key>
|
<key>CFBundleSignature</key>
|
||||||
<string>SDLX</string>
|
<string>SDLX</string>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>2.0.18</string>
|
<string>2.23.1</string>
|
||||||
</dict>
|
</dict>
|
||||||
</plist>
|
</plist>
|
||||||
@@ -111,6 +111,24 @@
|
|||||||
A1626A582617008D003F1973 /* SDL_triangle.h in Headers */ = {isa = PBXBuildFile; fileRef = A1626A512617008C003F1973 /* SDL_triangle.h */; };
|
A1626A582617008D003F1973 /* SDL_triangle.h in Headers */ = {isa = PBXBuildFile; fileRef = A1626A512617008C003F1973 /* SDL_triangle.h */; };
|
||||||
A1626A592617008D003F1973 /* SDL_triangle.h in Headers */ = {isa = PBXBuildFile; fileRef = A1626A512617008C003F1973 /* SDL_triangle.h */; };
|
A1626A592617008D003F1973 /* SDL_triangle.h in Headers */ = {isa = PBXBuildFile; fileRef = A1626A512617008C003F1973 /* SDL_triangle.h */; };
|
||||||
A1626A5A2617008D003F1973 /* SDL_triangle.h in Headers */ = {isa = PBXBuildFile; fileRef = A1626A512617008C003F1973 /* SDL_triangle.h */; };
|
A1626A5A2617008D003F1973 /* SDL_triangle.h in Headers */ = {isa = PBXBuildFile; fileRef = A1626A512617008C003F1973 /* SDL_triangle.h */; };
|
||||||
|
A1BB8B6327F6CF330057CFA8 /* SDL_list.c in Sources */ = {isa = PBXBuildFile; fileRef = A1BB8B6127F6CF320057CFA8 /* SDL_list.c */; };
|
||||||
|
A1BB8B6427F6CF330057CFA8 /* SDL_list.c in Sources */ = {isa = PBXBuildFile; fileRef = A1BB8B6127F6CF320057CFA8 /* SDL_list.c */; };
|
||||||
|
A1BB8B6527F6CF330057CFA8 /* SDL_list.c in Sources */ = {isa = PBXBuildFile; fileRef = A1BB8B6127F6CF320057CFA8 /* SDL_list.c */; };
|
||||||
|
A1BB8B6627F6CF330057CFA8 /* SDL_list.c in Sources */ = {isa = PBXBuildFile; fileRef = A1BB8B6127F6CF320057CFA8 /* SDL_list.c */; };
|
||||||
|
A1BB8B6727F6CF330057CFA8 /* SDL_list.c in Sources */ = {isa = PBXBuildFile; fileRef = A1BB8B6127F6CF320057CFA8 /* SDL_list.c */; };
|
||||||
|
A1BB8B6827F6CF330057CFA8 /* SDL_list.c in Sources */ = {isa = PBXBuildFile; fileRef = A1BB8B6127F6CF320057CFA8 /* SDL_list.c */; };
|
||||||
|
A1BB8B6927F6CF330057CFA8 /* SDL_list.c in Sources */ = {isa = PBXBuildFile; fileRef = A1BB8B6127F6CF320057CFA8 /* SDL_list.c */; };
|
||||||
|
A1BB8B6A27F6CF330057CFA8 /* SDL_list.c in Sources */ = {isa = PBXBuildFile; fileRef = A1BB8B6127F6CF320057CFA8 /* SDL_list.c */; };
|
||||||
|
A1BB8B6B27F6CF330057CFA8 /* SDL_list.c in Sources */ = {isa = PBXBuildFile; fileRef = A1BB8B6127F6CF320057CFA8 /* SDL_list.c */; };
|
||||||
|
A1BB8B6C27F6CF330057CFA8 /* SDL_list.h in Headers */ = {isa = PBXBuildFile; fileRef = A1BB8B6227F6CF330057CFA8 /* SDL_list.h */; };
|
||||||
|
A1BB8B6D27F6CF330057CFA8 /* SDL_list.h in Headers */ = {isa = PBXBuildFile; fileRef = A1BB8B6227F6CF330057CFA8 /* SDL_list.h */; };
|
||||||
|
A1BB8B6E27F6CF330057CFA8 /* SDL_list.h in Headers */ = {isa = PBXBuildFile; fileRef = A1BB8B6227F6CF330057CFA8 /* SDL_list.h */; };
|
||||||
|
A1BB8B6F27F6CF330057CFA8 /* SDL_list.h in Headers */ = {isa = PBXBuildFile; fileRef = A1BB8B6227F6CF330057CFA8 /* SDL_list.h */; };
|
||||||
|
A1BB8B7027F6CF330057CFA8 /* SDL_list.h in Headers */ = {isa = PBXBuildFile; fileRef = A1BB8B6227F6CF330057CFA8 /* SDL_list.h */; };
|
||||||
|
A1BB8B7127F6CF330057CFA8 /* SDL_list.h in Headers */ = {isa = PBXBuildFile; fileRef = A1BB8B6227F6CF330057CFA8 /* SDL_list.h */; };
|
||||||
|
A1BB8B7227F6CF330057CFA8 /* SDL_list.h in Headers */ = {isa = PBXBuildFile; fileRef = A1BB8B6227F6CF330057CFA8 /* SDL_list.h */; };
|
||||||
|
A1BB8B7327F6CF330057CFA8 /* SDL_list.h in Headers */ = {isa = PBXBuildFile; fileRef = A1BB8B6227F6CF330057CFA8 /* SDL_list.h */; };
|
||||||
|
A1BB8B7427F6CF330057CFA8 /* SDL_list.h in Headers */ = {isa = PBXBuildFile; fileRef = A1BB8B6227F6CF330057CFA8 /* SDL_list.h */; };
|
||||||
A7381E961D8B69D600B177DD /* CoreAudio.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A7381E951D8B69D600B177DD /* CoreAudio.framework */; };
|
A7381E961D8B69D600B177DD /* CoreAudio.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A7381E951D8B69D600B177DD /* CoreAudio.framework */; };
|
||||||
A7381E971D8B6A0300B177DD /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A7381E931D8B69C300B177DD /* AudioToolbox.framework */; };
|
A7381E971D8B6A0300B177DD /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A7381E931D8B69C300B177DD /* AudioToolbox.framework */; };
|
||||||
A75FCCFD23E25AB700529352 /* SDL_shaders_metal_tvos.h in Headers */ = {isa = PBXBuildFile; fileRef = A7D8A8E323E2514000DCD162 /* SDL_shaders_metal_tvos.h */; };
|
A75FCCFD23E25AB700529352 /* SDL_shaders_metal_tvos.h in Headers */ = {isa = PBXBuildFile; fileRef = A7D8A8E323E2514000DCD162 /* SDL_shaders_metal_tvos.h */; };
|
||||||
@@ -3364,6 +3382,24 @@
|
|||||||
DB31407017554B71006C0E22 /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0073179F0858DECD00B2BC32 /* IOKit.framework */; };
|
DB31407017554B71006C0E22 /* IOKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0073179F0858DECD00B2BC32 /* IOKit.framework */; };
|
||||||
DB31407217554B71006C0E22 /* Carbon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 007317C10858E15000B2BC32 /* Carbon.framework */; };
|
DB31407217554B71006C0E22 /* Carbon.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 007317C10858E15000B2BC32 /* Carbon.framework */; };
|
||||||
DB31408D17554D3C006C0E22 /* ForceFeedback.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 00CFA89C106B4BA100758660 /* ForceFeedback.framework */; };
|
DB31408D17554D3C006C0E22 /* ForceFeedback.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 00CFA89C106B4BA100758660 /* ForceFeedback.framework */; };
|
||||||
|
F3249B1E285A85FF00DB9B5C /* SDL_memset.c in Sources */ = {isa = PBXBuildFile; fileRef = F3249B1C285A85FF00DB9B5C /* SDL_memset.c */; };
|
||||||
|
F3249B1F285A85FF00DB9B5C /* SDL_memset.c in Sources */ = {isa = PBXBuildFile; fileRef = F3249B1C285A85FF00DB9B5C /* SDL_memset.c */; };
|
||||||
|
F3249B20285A85FF00DB9B5C /* SDL_memset.c in Sources */ = {isa = PBXBuildFile; fileRef = F3249B1C285A85FF00DB9B5C /* SDL_memset.c */; };
|
||||||
|
F3249B21285A85FF00DB9B5C /* SDL_memset.c in Sources */ = {isa = PBXBuildFile; fileRef = F3249B1C285A85FF00DB9B5C /* SDL_memset.c */; };
|
||||||
|
F3249B22285A85FF00DB9B5C /* SDL_memset.c in Sources */ = {isa = PBXBuildFile; fileRef = F3249B1C285A85FF00DB9B5C /* SDL_memset.c */; };
|
||||||
|
F3249B23285A85FF00DB9B5C /* SDL_memset.c in Sources */ = {isa = PBXBuildFile; fileRef = F3249B1C285A85FF00DB9B5C /* SDL_memset.c */; };
|
||||||
|
F3249B24285A85FF00DB9B5C /* SDL_memset.c in Sources */ = {isa = PBXBuildFile; fileRef = F3249B1C285A85FF00DB9B5C /* SDL_memset.c */; };
|
||||||
|
F3249B25285A85FF00DB9B5C /* SDL_memset.c in Sources */ = {isa = PBXBuildFile; fileRef = F3249B1C285A85FF00DB9B5C /* SDL_memset.c */; };
|
||||||
|
F3249B26285A85FF00DB9B5C /* SDL_memset.c in Sources */ = {isa = PBXBuildFile; fileRef = F3249B1C285A85FF00DB9B5C /* SDL_memset.c */; };
|
||||||
|
F3249B27285A85FF00DB9B5C /* SDL_memcpy.c in Sources */ = {isa = PBXBuildFile; fileRef = F3249B1D285A85FF00DB9B5C /* SDL_memcpy.c */; };
|
||||||
|
F3249B28285A85FF00DB9B5C /* SDL_memcpy.c in Sources */ = {isa = PBXBuildFile; fileRef = F3249B1D285A85FF00DB9B5C /* SDL_memcpy.c */; };
|
||||||
|
F3249B29285A85FF00DB9B5C /* SDL_memcpy.c in Sources */ = {isa = PBXBuildFile; fileRef = F3249B1D285A85FF00DB9B5C /* SDL_memcpy.c */; };
|
||||||
|
F3249B2A285A85FF00DB9B5C /* SDL_memcpy.c in Sources */ = {isa = PBXBuildFile; fileRef = F3249B1D285A85FF00DB9B5C /* SDL_memcpy.c */; };
|
||||||
|
F3249B2B285A85FF00DB9B5C /* SDL_memcpy.c in Sources */ = {isa = PBXBuildFile; fileRef = F3249B1D285A85FF00DB9B5C /* SDL_memcpy.c */; };
|
||||||
|
F3249B2C285A85FF00DB9B5C /* SDL_memcpy.c in Sources */ = {isa = PBXBuildFile; fileRef = F3249B1D285A85FF00DB9B5C /* SDL_memcpy.c */; };
|
||||||
|
F3249B2D285A85FF00DB9B5C /* SDL_memcpy.c in Sources */ = {isa = PBXBuildFile; fileRef = F3249B1D285A85FF00DB9B5C /* SDL_memcpy.c */; };
|
||||||
|
F3249B2E285A85FF00DB9B5C /* SDL_memcpy.c in Sources */ = {isa = PBXBuildFile; fileRef = F3249B1D285A85FF00DB9B5C /* SDL_memcpy.c */; };
|
||||||
|
F3249B2F285A85FF00DB9B5C /* SDL_memcpy.c in Sources */ = {isa = PBXBuildFile; fileRef = F3249B1D285A85FF00DB9B5C /* SDL_memcpy.c */; };
|
||||||
F3631C6424884ACF004F28EA /* SDL_locale.h in Headers */ = {isa = PBXBuildFile; fileRef = 566E26792462701100718109 /* SDL_locale.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
F3631C6424884ACF004F28EA /* SDL_locale.h in Headers */ = {isa = PBXBuildFile; fileRef = 566E26792462701100718109 /* SDL_locale.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||||
F3631C652488534E004F28EA /* SDL_locale.h in Headers */ = {isa = PBXBuildFile; fileRef = 566E26792462701100718109 /* SDL_locale.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
F3631C652488534E004F28EA /* SDL_locale.h in Headers */ = {isa = PBXBuildFile; fileRef = 566E26792462701100718109 /* SDL_locale.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||||
F376F6192559B29300CFC0BC /* OpenGLES.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F376F6182559B29300CFC0BC /* OpenGLES.framework */; platformFilter = ios; };
|
F376F6192559B29300CFC0BC /* OpenGLES.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F376F6182559B29300CFC0BC /* OpenGLES.framework */; platformFilter = ios; };
|
||||||
@@ -3395,8 +3431,38 @@
|
|||||||
F376F7262559B76800CFC0BC /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F376F7252559B76800CFC0BC /* CoreFoundation.framework */; };
|
F376F7262559B76800CFC0BC /* CoreFoundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F376F7252559B76800CFC0BC /* CoreFoundation.framework */; };
|
||||||
F376F7282559B77100CFC0BC /* CoreAudio.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F376F7272559B77100CFC0BC /* CoreAudio.framework */; };
|
F376F7282559B77100CFC0BC /* CoreAudio.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F376F7272559B77100CFC0BC /* CoreAudio.framework */; };
|
||||||
F376F7332559B79B00CFC0BC /* GameController.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F376F6DE2559B5BA00CFC0BC /* GameController.framework */; };
|
F376F7332559B79B00CFC0BC /* GameController.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F376F6DE2559B5BA00CFC0BC /* GameController.framework */; };
|
||||||
|
F37A8E1A28405AA100C38E95 /* CMake in Resources */ = {isa = PBXBuildFile; fileRef = F37A8E1928405AA100C38E95 /* CMake */; };
|
||||||
|
F37A8E1B28405AA100C38E95 /* CMake in Resources */ = {isa = PBXBuildFile; fileRef = F37A8E1928405AA100C38E95 /* CMake */; };
|
||||||
|
F37A8E1C28405AA100C38E95 /* CMake in Resources */ = {isa = PBXBuildFile; fileRef = F37A8E1928405AA100C38E95 /* CMake */; };
|
||||||
F37DC5F325350EBC0002E6F7 /* CoreHaptics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F37DC5F225350EBC0002E6F7 /* CoreHaptics.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
|
F37DC5F325350EBC0002E6F7 /* CoreHaptics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F37DC5F225350EBC0002E6F7 /* CoreHaptics.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
|
||||||
F37DC5F525350ECC0002E6F7 /* CoreHaptics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F37DC5F425350ECC0002E6F7 /* CoreHaptics.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
|
F37DC5F525350ECC0002E6F7 /* CoreHaptics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F37DC5F425350ECC0002E6F7 /* CoreHaptics.framework */; settings = {ATTRIBUTES = (Weak, ); }; };
|
||||||
|
F3820713284F3609004DD584 /* controller_type.c in Sources */ = {isa = PBXBuildFile; fileRef = F3820712284F3609004DD584 /* controller_type.c */; };
|
||||||
|
F3820714284F3609004DD584 /* controller_type.c in Sources */ = {isa = PBXBuildFile; fileRef = F3820712284F3609004DD584 /* controller_type.c */; };
|
||||||
|
F3820715284F3609004DD584 /* controller_type.c in Sources */ = {isa = PBXBuildFile; fileRef = F3820712284F3609004DD584 /* controller_type.c */; };
|
||||||
|
F3820716284F3609004DD584 /* controller_type.c in Sources */ = {isa = PBXBuildFile; fileRef = F3820712284F3609004DD584 /* controller_type.c */; };
|
||||||
|
F3820717284F3609004DD584 /* controller_type.c in Sources */ = {isa = PBXBuildFile; fileRef = F3820712284F3609004DD584 /* controller_type.c */; };
|
||||||
|
F3820718284F3609004DD584 /* controller_type.c in Sources */ = {isa = PBXBuildFile; fileRef = F3820712284F3609004DD584 /* controller_type.c */; };
|
||||||
|
F3820719284F3609004DD584 /* controller_type.c in Sources */ = {isa = PBXBuildFile; fileRef = F3820712284F3609004DD584 /* controller_type.c */; };
|
||||||
|
F382071A284F3609004DD584 /* controller_type.c in Sources */ = {isa = PBXBuildFile; fileRef = F3820712284F3609004DD584 /* controller_type.c */; };
|
||||||
|
F382071B284F3609004DD584 /* controller_type.c in Sources */ = {isa = PBXBuildFile; fileRef = F3820712284F3609004DD584 /* controller_type.c */; };
|
||||||
|
F382071D284F362F004DD584 /* SDL_guid.c in Sources */ = {isa = PBXBuildFile; fileRef = F382071C284F362F004DD584 /* SDL_guid.c */; };
|
||||||
|
F382071E284F362F004DD584 /* SDL_guid.c in Sources */ = {isa = PBXBuildFile; fileRef = F382071C284F362F004DD584 /* SDL_guid.c */; };
|
||||||
|
F382071F284F362F004DD584 /* SDL_guid.c in Sources */ = {isa = PBXBuildFile; fileRef = F382071C284F362F004DD584 /* SDL_guid.c */; };
|
||||||
|
F3820720284F362F004DD584 /* SDL_guid.c in Sources */ = {isa = PBXBuildFile; fileRef = F382071C284F362F004DD584 /* SDL_guid.c */; };
|
||||||
|
F3820721284F362F004DD584 /* SDL_guid.c in Sources */ = {isa = PBXBuildFile; fileRef = F382071C284F362F004DD584 /* SDL_guid.c */; };
|
||||||
|
F3820722284F362F004DD584 /* SDL_guid.c in Sources */ = {isa = PBXBuildFile; fileRef = F382071C284F362F004DD584 /* SDL_guid.c */; };
|
||||||
|
F3820723284F362F004DD584 /* SDL_guid.c in Sources */ = {isa = PBXBuildFile; fileRef = F382071C284F362F004DD584 /* SDL_guid.c */; };
|
||||||
|
F3820724284F362F004DD584 /* SDL_guid.c in Sources */ = {isa = PBXBuildFile; fileRef = F382071C284F362F004DD584 /* SDL_guid.c */; };
|
||||||
|
F3820725284F362F004DD584 /* SDL_guid.c in Sources */ = {isa = PBXBuildFile; fileRef = F382071C284F362F004DD584 /* SDL_guid.c */; };
|
||||||
|
F3820727284F3643004DD584 /* SDL_guid.h in Headers */ = {isa = PBXBuildFile; fileRef = F3820726284F3643004DD584 /* SDL_guid.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||||
|
F3820728284F3643004DD584 /* SDL_guid.h in Headers */ = {isa = PBXBuildFile; fileRef = F3820726284F3643004DD584 /* SDL_guid.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||||
|
F3820729284F3643004DD584 /* SDL_guid.h in Headers */ = {isa = PBXBuildFile; fileRef = F3820726284F3643004DD584 /* SDL_guid.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||||
|
F382072A284F3643004DD584 /* SDL_guid.h in Headers */ = {isa = PBXBuildFile; fileRef = F3820726284F3643004DD584 /* SDL_guid.h */; };
|
||||||
|
F382072B284F3643004DD584 /* SDL_guid.h in Headers */ = {isa = PBXBuildFile; fileRef = F3820726284F3643004DD584 /* SDL_guid.h */; };
|
||||||
|
F382072C284F3643004DD584 /* SDL_guid.h in Headers */ = {isa = PBXBuildFile; fileRef = F3820726284F3643004DD584 /* SDL_guid.h */; };
|
||||||
|
F382072D284F3643004DD584 /* SDL_guid.h in Headers */ = {isa = PBXBuildFile; fileRef = F3820726284F3643004DD584 /* SDL_guid.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||||
|
F382072E284F3643004DD584 /* SDL_guid.h in Headers */ = {isa = PBXBuildFile; fileRef = F3820726284F3643004DD584 /* SDL_guid.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||||
|
F382072F284F3643004DD584 /* SDL_guid.h in Headers */ = {isa = PBXBuildFile; fileRef = F3820726284F3643004DD584 /* SDL_guid.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||||
F38233852738EB8600F7F527 /* SDL_hidapi.h in Headers */ = {isa = PBXBuildFile; fileRef = F38233842738EB8600F7F527 /* SDL_hidapi.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
F38233852738EB8600F7F527 /* SDL_hidapi.h in Headers */ = {isa = PBXBuildFile; fileRef = F38233842738EB8600F7F527 /* SDL_hidapi.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||||
F38233862738EB8600F7F527 /* SDL_hidapi.h in Headers */ = {isa = PBXBuildFile; fileRef = F38233842738EB8600F7F527 /* SDL_hidapi.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
F38233862738EB8600F7F527 /* SDL_hidapi.h in Headers */ = {isa = PBXBuildFile; fileRef = F38233842738EB8600F7F527 /* SDL_hidapi.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||||
F38233872738EB8600F7F527 /* SDL_hidapi.h in Headers */ = {isa = PBXBuildFile; fileRef = F38233842738EB8600F7F527 /* SDL_hidapi.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
F38233872738EB8600F7F527 /* SDL_hidapi.h in Headers */ = {isa = PBXBuildFile; fileRef = F38233842738EB8600F7F527 /* SDL_hidapi.h */; settings = {ATTRIBUTES = (Public, ); }; };
|
||||||
@@ -3451,13 +3517,13 @@
|
|||||||
F395C1A22569C68F00942BFF /* SDL_iokitjoystick.c in Sources */ = {isa = PBXBuildFile; fileRef = F395C1922569C68E00942BFF /* SDL_iokitjoystick.c */; };
|
F395C1A22569C68F00942BFF /* SDL_iokitjoystick.c in Sources */ = {isa = PBXBuildFile; fileRef = F395C1922569C68E00942BFF /* SDL_iokitjoystick.c */; };
|
||||||
F395C1A32569C68F00942BFF /* SDL_iokitjoystick.c in Sources */ = {isa = PBXBuildFile; fileRef = F395C1922569C68E00942BFF /* SDL_iokitjoystick.c */; };
|
F395C1A32569C68F00942BFF /* SDL_iokitjoystick.c in Sources */ = {isa = PBXBuildFile; fileRef = F395C1922569C68E00942BFF /* SDL_iokitjoystick.c */; };
|
||||||
F395C1A42569C68F00942BFF /* SDL_iokitjoystick.c in Sources */ = {isa = PBXBuildFile; fileRef = F395C1922569C68E00942BFF /* SDL_iokitjoystick.c */; };
|
F395C1A42569C68F00942BFF /* SDL_iokitjoystick.c in Sources */ = {isa = PBXBuildFile; fileRef = F395C1922569C68E00942BFF /* SDL_iokitjoystick.c */; };
|
||||||
F395C1B12569C6A000942BFF /* SDL_mfijoystick.m in Sources */ = {isa = PBXBuildFile; fileRef = F395C1AF2569C6A000942BFF /* SDL_mfijoystick.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
F395C1B12569C6A000942BFF /* SDL_mfijoystick.m in Sources */ = {isa = PBXBuildFile; fileRef = F395C1AF2569C6A000942BFF /* SDL_mfijoystick.m */; };
|
||||||
F395C1B22569C6A000942BFF /* SDL_mfijoystick.m in Sources */ = {isa = PBXBuildFile; fileRef = F395C1AF2569C6A000942BFF /* SDL_mfijoystick.m */; };
|
F395C1B22569C6A000942BFF /* SDL_mfijoystick.m in Sources */ = {isa = PBXBuildFile; fileRef = F395C1AF2569C6A000942BFF /* SDL_mfijoystick.m */; };
|
||||||
F395C1B32569C6A000942BFF /* SDL_mfijoystick.m in Sources */ = {isa = PBXBuildFile; fileRef = F395C1AF2569C6A000942BFF /* SDL_mfijoystick.m */; };
|
F395C1B32569C6A000942BFF /* SDL_mfijoystick.m in Sources */ = {isa = PBXBuildFile; fileRef = F395C1AF2569C6A000942BFF /* SDL_mfijoystick.m */; };
|
||||||
F395C1B42569C6A000942BFF /* SDL_mfijoystick.m in Sources */ = {isa = PBXBuildFile; fileRef = F395C1AF2569C6A000942BFF /* SDL_mfijoystick.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
F395C1B42569C6A000942BFF /* SDL_mfijoystick.m in Sources */ = {isa = PBXBuildFile; fileRef = F395C1AF2569C6A000942BFF /* SDL_mfijoystick.m */; };
|
||||||
F395C1B52569C6A000942BFF /* SDL_mfijoystick.m in Sources */ = {isa = PBXBuildFile; fileRef = F395C1AF2569C6A000942BFF /* SDL_mfijoystick.m */; };
|
F395C1B52569C6A000942BFF /* SDL_mfijoystick.m in Sources */ = {isa = PBXBuildFile; fileRef = F395C1AF2569C6A000942BFF /* SDL_mfijoystick.m */; };
|
||||||
F395C1B62569C6A000942BFF /* SDL_mfijoystick.m in Sources */ = {isa = PBXBuildFile; fileRef = F395C1AF2569C6A000942BFF /* SDL_mfijoystick.m */; };
|
F395C1B62569C6A000942BFF /* SDL_mfijoystick.m in Sources */ = {isa = PBXBuildFile; fileRef = F395C1AF2569C6A000942BFF /* SDL_mfijoystick.m */; };
|
||||||
F395C1B72569C6A000942BFF /* SDL_mfijoystick.m in Sources */ = {isa = PBXBuildFile; fileRef = F395C1AF2569C6A000942BFF /* SDL_mfijoystick.m */; settings = {COMPILER_FLAGS = "-fobjc-arc"; }; };
|
F395C1B72569C6A000942BFF /* SDL_mfijoystick.m in Sources */ = {isa = PBXBuildFile; fileRef = F395C1AF2569C6A000942BFF /* SDL_mfijoystick.m */; };
|
||||||
F395C1B82569C6A000942BFF /* SDL_mfijoystick.m in Sources */ = {isa = PBXBuildFile; fileRef = F395C1AF2569C6A000942BFF /* SDL_mfijoystick.m */; };
|
F395C1B82569C6A000942BFF /* SDL_mfijoystick.m in Sources */ = {isa = PBXBuildFile; fileRef = F395C1AF2569C6A000942BFF /* SDL_mfijoystick.m */; };
|
||||||
F395C1B92569C6A000942BFF /* SDL_mfijoystick.m in Sources */ = {isa = PBXBuildFile; fileRef = F395C1AF2569C6A000942BFF /* SDL_mfijoystick.m */; };
|
F395C1B92569C6A000942BFF /* SDL_mfijoystick.m in Sources */ = {isa = PBXBuildFile; fileRef = F395C1AF2569C6A000942BFF /* SDL_mfijoystick.m */; };
|
||||||
F395C1BA2569C6A000942BFF /* SDL_mfijoystick_c.h in Headers */ = {isa = PBXBuildFile; fileRef = F395C1B02569C6A000942BFF /* SDL_mfijoystick_c.h */; };
|
F395C1BA2569C6A000942BFF /* SDL_mfijoystick_c.h in Headers */ = {isa = PBXBuildFile; fileRef = F395C1B02569C6A000942BFF /* SDL_mfijoystick_c.h */; };
|
||||||
@@ -3493,8 +3559,6 @@
|
|||||||
F3ADAB912576F0B400A6B1D9 /* SDL_sysurl.m in Sources */ = {isa = PBXBuildFile; fileRef = F3ADAB8D2576F0B300A6B1D9 /* SDL_sysurl.m */; };
|
F3ADAB912576F0B400A6B1D9 /* SDL_sysurl.m in Sources */ = {isa = PBXBuildFile; fileRef = F3ADAB8D2576F0B300A6B1D9 /* SDL_sysurl.m */; };
|
||||||
F3ADAB922576F0B400A6B1D9 /* SDL_sysurl.m in Sources */ = {isa = PBXBuildFile; fileRef = F3ADAB8D2576F0B300A6B1D9 /* SDL_sysurl.m */; };
|
F3ADAB922576F0B400A6B1D9 /* SDL_sysurl.m in Sources */ = {isa = PBXBuildFile; fileRef = F3ADAB8D2576F0B300A6B1D9 /* SDL_sysurl.m */; };
|
||||||
F3ADAB932576F0B400A6B1D9 /* SDL_sysurl.m in Sources */ = {isa = PBXBuildFile; fileRef = F3ADAB8D2576F0B300A6B1D9 /* SDL_sysurl.m */; };
|
F3ADAB932576F0B400A6B1D9 /* SDL_sysurl.m in Sources */ = {isa = PBXBuildFile; fileRef = F3ADAB8D2576F0B300A6B1D9 /* SDL_sysurl.m */; };
|
||||||
F3CB963A26B5E10A00B9C980 /* SDL_uikit_main.c in Sources */ = {isa = PBXBuildFile; fileRef = A7D8A5B023E2513D00DCD162 /* SDL_uikit_main.c */; };
|
|
||||||
F3CB963B26B5E14400B9C980 /* SDL_uikit_main.c in Sources */ = {isa = PBXBuildFile; fileRef = A7D8A5B023E2513D00DCD162 /* SDL_uikit_main.c */; };
|
|
||||||
F3F07D5A269640160074468B /* SDL_hidapi_luna.c in Sources */ = {isa = PBXBuildFile; fileRef = F3F07D59269640160074468B /* SDL_hidapi_luna.c */; };
|
F3F07D5A269640160074468B /* SDL_hidapi_luna.c in Sources */ = {isa = PBXBuildFile; fileRef = F3F07D59269640160074468B /* SDL_hidapi_luna.c */; };
|
||||||
F3F07D5B269640160074468B /* SDL_hidapi_luna.c in Sources */ = {isa = PBXBuildFile; fileRef = F3F07D59269640160074468B /* SDL_hidapi_luna.c */; };
|
F3F07D5B269640160074468B /* SDL_hidapi_luna.c in Sources */ = {isa = PBXBuildFile; fileRef = F3F07D59269640160074468B /* SDL_hidapi_luna.c */; };
|
||||||
F3F07D5C269640160074468B /* SDL_hidapi_luna.c in Sources */ = {isa = PBXBuildFile; fileRef = F3F07D59269640160074468B /* SDL_hidapi_luna.c */; };
|
F3F07D5C269640160074468B /* SDL_hidapi_luna.c in Sources */ = {isa = PBXBuildFile; fileRef = F3F07D59269640160074468B /* SDL_hidapi_luna.c */; };
|
||||||
@@ -3576,6 +3640,8 @@
|
|||||||
75E09159241EA924004729E1 /* SDL_virtualjoystick_c.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_virtualjoystick_c.h; sourceTree = "<group>"; };
|
75E09159241EA924004729E1 /* SDL_virtualjoystick_c.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_virtualjoystick_c.h; sourceTree = "<group>"; };
|
||||||
A1626A3D2617006A003F1973 /* SDL_triangle.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_triangle.c; sourceTree = "<group>"; };
|
A1626A3D2617006A003F1973 /* SDL_triangle.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_triangle.c; sourceTree = "<group>"; };
|
||||||
A1626A512617008C003F1973 /* SDL_triangle.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_triangle.h; sourceTree = "<group>"; };
|
A1626A512617008C003F1973 /* SDL_triangle.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_triangle.h; sourceTree = "<group>"; };
|
||||||
|
A1BB8B6127F6CF320057CFA8 /* SDL_list.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_list.c; sourceTree = "<group>"; };
|
||||||
|
A1BB8B6227F6CF330057CFA8 /* SDL_list.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_list.h; sourceTree = "<group>"; };
|
||||||
A7381E931D8B69C300B177DD /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = System/Library/Frameworks/AudioToolbox.framework; sourceTree = SDKROOT; };
|
A7381E931D8B69C300B177DD /* AudioToolbox.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AudioToolbox.framework; path = System/Library/Frameworks/AudioToolbox.framework; sourceTree = SDKROOT; };
|
||||||
A7381E951D8B69D600B177DD /* CoreAudio.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreAudio.framework; path = System/Library/Frameworks/CoreAudio.framework; sourceTree = SDKROOT; };
|
A7381E951D8B69D600B177DD /* CoreAudio.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreAudio.framework; path = System/Library/Frameworks/CoreAudio.framework; sourceTree = SDKROOT; };
|
||||||
A75FCEB323E25AB700529352 /* libSDL2.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = libSDL2.dylib; sourceTree = BUILT_PRODUCTS_DIR; };
|
A75FCEB323E25AB700529352 /* libSDL2.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = libSDL2.dylib; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||||
@@ -3979,6 +4045,8 @@
|
|||||||
BECDF6B30761BA81005FE872 /* libSDL2.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libSDL2.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
BECDF6B30761BA81005FE872 /* libSDL2.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libSDL2.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||||
BECDF6BE0761BA81005FE872 /* SDL2 */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = SDL2; sourceTree = BUILT_PRODUCTS_DIR; };
|
BECDF6BE0761BA81005FE872 /* SDL2 */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = SDL2; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||||
DB31407717554B71006C0E22 /* libSDL2.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = libSDL2.dylib; sourceTree = BUILT_PRODUCTS_DIR; };
|
DB31407717554B71006C0E22 /* libSDL2.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = libSDL2.dylib; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||||
|
F3249B1C285A85FF00DB9B5C /* SDL_memset.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_memset.c; sourceTree = "<group>"; };
|
||||||
|
F3249B1D285A85FF00DB9B5C /* SDL_memcpy.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_memcpy.c; sourceTree = "<group>"; };
|
||||||
F376F6182559B29300CFC0BC /* OpenGLES.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGLES.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.1.sdk/System/Library/Frameworks/OpenGLES.framework; sourceTree = DEVELOPER_DIR; };
|
F376F6182559B29300CFC0BC /* OpenGLES.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = OpenGLES.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.1.sdk/System/Library/Frameworks/OpenGLES.framework; sourceTree = DEVELOPER_DIR; };
|
||||||
F376F61A2559B2AF00CFC0BC /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/iOSSupport/System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
|
F376F61A2559B2AF00CFC0BC /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/iOSSupport/System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
|
||||||
F376F6312559B31D00CFC0BC /* GameController.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GameController.framework; path = System/iOSSupport/System/Library/Frameworks/GameController.framework; sourceTree = SDKROOT; };
|
F376F6312559B31D00CFC0BC /* GameController.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GameController.framework; path = System/iOSSupport/System/Library/Frameworks/GameController.framework; sourceTree = SDKROOT; };
|
||||||
@@ -3993,8 +4061,12 @@
|
|||||||
F376F7212559B74900CFC0BC /* Metal.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Metal.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS14.0.sdk/System/Library/Frameworks/Metal.framework; sourceTree = DEVELOPER_DIR; };
|
F376F7212559B74900CFC0BC /* Metal.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Metal.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS14.0.sdk/System/Library/Frameworks/Metal.framework; sourceTree = DEVELOPER_DIR; };
|
||||||
F376F7252559B76800CFC0BC /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS14.0.sdk/System/Library/Frameworks/CoreFoundation.framework; sourceTree = DEVELOPER_DIR; };
|
F376F7252559B76800CFC0BC /* CoreFoundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreFoundation.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS14.0.sdk/System/Library/Frameworks/CoreFoundation.framework; sourceTree = DEVELOPER_DIR; };
|
||||||
F376F7272559B77100CFC0BC /* CoreAudio.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreAudio.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS14.0.sdk/System/Library/Frameworks/CoreAudio.framework; sourceTree = DEVELOPER_DIR; };
|
F376F7272559B77100CFC0BC /* CoreAudio.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreAudio.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS14.0.sdk/System/Library/Frameworks/CoreAudio.framework; sourceTree = DEVELOPER_DIR; };
|
||||||
|
F37A8E1928405AA100C38E95 /* CMake */ = {isa = PBXFileReference; lastKnownFileType = folder; path = CMake; sourceTree = "<group>"; };
|
||||||
F37DC5F225350EBC0002E6F7 /* CoreHaptics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreHaptics.framework; path = System/Library/Frameworks/CoreHaptics.framework; sourceTree = SDKROOT; };
|
F37DC5F225350EBC0002E6F7 /* CoreHaptics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreHaptics.framework; path = System/Library/Frameworks/CoreHaptics.framework; sourceTree = SDKROOT; };
|
||||||
F37DC5F425350ECC0002E6F7 /* CoreHaptics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreHaptics.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS14.0.sdk/System/Library/Frameworks/CoreHaptics.framework; sourceTree = DEVELOPER_DIR; };
|
F37DC5F425350ECC0002E6F7 /* CoreHaptics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreHaptics.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS14.0.sdk/System/Library/Frameworks/CoreHaptics.framework; sourceTree = DEVELOPER_DIR; };
|
||||||
|
F3820712284F3609004DD584 /* controller_type.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = controller_type.c; sourceTree = "<group>"; };
|
||||||
|
F382071C284F362F004DD584 /* SDL_guid.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_guid.c; sourceTree = "<group>"; };
|
||||||
|
F3820726284F3643004DD584 /* SDL_guid.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_guid.h; sourceTree = "<group>"; };
|
||||||
F38233842738EB8600F7F527 /* SDL_hidapi.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_hidapi.h; sourceTree = "<group>"; };
|
F38233842738EB8600F7F527 /* SDL_hidapi.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_hidapi.h; sourceTree = "<group>"; };
|
||||||
F382339B2738ED6600F7F527 /* CoreBluetooth.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreBluetooth.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS15.0.sdk/System/Library/Frameworks/CoreBluetooth.framework; sourceTree = DEVELOPER_DIR; };
|
F382339B2738ED6600F7F527 /* CoreBluetooth.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreBluetooth.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS15.0.sdk/System/Library/Frameworks/CoreBluetooth.framework; sourceTree = DEVELOPER_DIR; };
|
||||||
F3950CD7212BC88D00F51292 /* SDL_sensor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_sensor.h; sourceTree = "<group>"; };
|
F3950CD7212BC88D00F51292 /* SDL_sensor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SDL_sensor.h; sourceTree = "<group>"; };
|
||||||
@@ -4006,8 +4078,6 @@
|
|||||||
F3984CCF25BCC92800374F43 /* SDL_hidapi_stadia.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_hidapi_stadia.c; sourceTree = "<group>"; };
|
F3984CCF25BCC92800374F43 /* SDL_hidapi_stadia.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_hidapi_stadia.c; sourceTree = "<group>"; };
|
||||||
F3A4909D2554D38500E92A8B /* SDL_hidapi_ps5.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_hidapi_ps5.c; sourceTree = "<group>"; };
|
F3A4909D2554D38500E92A8B /* SDL_hidapi_ps5.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_hidapi_ps5.c; sourceTree = "<group>"; };
|
||||||
F3ADAB8D2576F0B300A6B1D9 /* SDL_sysurl.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SDL_sysurl.m; sourceTree = "<group>"; };
|
F3ADAB8D2576F0B300A6B1D9 /* SDL_sysurl.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SDL_sysurl.m; sourceTree = "<group>"; };
|
||||||
F3CB94BA26B5E0A400B9C980 /* libSDLmain.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libSDLmain.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
||||||
F3CB963826B5E0A600B9C980 /* libSDLmain.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libSDLmain.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
||||||
F3F07D59269640160074468B /* SDL_hidapi_luna.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_hidapi_luna.c; sourceTree = "<group>"; };
|
F3F07D59269640160074468B /* SDL_hidapi_luna.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = SDL_hidapi_luna.c; sourceTree = "<group>"; };
|
||||||
F59C710300D5CB5801000001 /* ReadMe.txt */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = ReadMe.txt; sourceTree = "<group>"; };
|
F59C710300D5CB5801000001 /* ReadMe.txt */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = ReadMe.txt; sourceTree = "<group>"; };
|
||||||
F59C710600D5CB5801000001 /* SDL.info */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = SDL.info; sourceTree = "<group>"; };
|
F59C710600D5CB5801000001 /* SDL.info */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = text; path = SDL.info; sourceTree = "<group>"; };
|
||||||
@@ -4160,20 +4230,6 @@
|
|||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
};
|
};
|
||||||
F3CB94B526B5E0A400B9C980 /* Frameworks */ = {
|
|
||||||
isa = PBXFrameworksBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
};
|
|
||||||
F3CB963326B5E0A600B9C980 /* Frameworks */ = {
|
|
||||||
isa = PBXFrameworksBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
};
|
|
||||||
/* End PBXFrameworksBuildPhase section */
|
/* End PBXFrameworksBuildPhase section */
|
||||||
|
|
||||||
/* Begin PBXGroup section */
|
/* Begin PBXGroup section */
|
||||||
@@ -4200,6 +4256,7 @@
|
|||||||
567E2F2017C44C35005F1892 /* SDL_filesystem.h */,
|
567E2F2017C44C35005F1892 /* SDL_filesystem.h */,
|
||||||
A77E6EB3167AB0A90010E40B /* SDL_gamecontroller.h */,
|
A77E6EB3167AB0A90010E40B /* SDL_gamecontroller.h */,
|
||||||
AA7557D51595D4D800BBD41B /* SDL_gesture.h */,
|
AA7557D51595D4D800BBD41B /* SDL_gesture.h */,
|
||||||
|
F3820726284F3643004DD584 /* SDL_guid.h */,
|
||||||
AA7557D61595D4D800BBD41B /* SDL_haptic.h */,
|
AA7557D61595D4D800BBD41B /* SDL_haptic.h */,
|
||||||
F38233842738EB8600F7F527 /* SDL_hidapi.h */,
|
F38233842738EB8600F7F527 /* SDL_hidapi.h */,
|
||||||
AA7557D71595D4D800BBD41B /* SDL_hints.h */,
|
AA7557D71595D4D800BBD41B /* SDL_hints.h */,
|
||||||
@@ -4265,8 +4322,6 @@
|
|||||||
A769B23D23E259AE00872273 /* libSDL2.a */,
|
A769B23D23E259AE00872273 /* libSDL2.a */,
|
||||||
A75FCEB323E25AB700529352 /* libSDL2.dylib */,
|
A75FCEB323E25AB700529352 /* libSDL2.dylib */,
|
||||||
A75FD06C23E25AC700529352 /* libSDL2.dylib */,
|
A75FD06C23E25AC700529352 /* libSDL2.dylib */,
|
||||||
F3CB94BA26B5E0A400B9C980 /* libSDLmain.a */,
|
|
||||||
F3CB963826B5E0A600B9C980 /* libSDLmain.a */,
|
|
||||||
);
|
);
|
||||||
name = Products;
|
name = Products;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
@@ -4320,10 +4375,13 @@
|
|||||||
A7D8A57023E2513D00DCD162 /* SDL_dataqueue.h */,
|
A7D8A57023E2513D00DCD162 /* SDL_dataqueue.h */,
|
||||||
A7D8A57523E2513D00DCD162 /* SDL_error_c.h */,
|
A7D8A57523E2513D00DCD162 /* SDL_error_c.h */,
|
||||||
A7D8A8BF23E2513F00DCD162 /* SDL_error.c */,
|
A7D8A8BF23E2513F00DCD162 /* SDL_error.c */,
|
||||||
|
F382071C284F362F004DD584 /* SDL_guid.c */,
|
||||||
A7D8A8D123E2514000DCD162 /* SDL_hints_c.h */,
|
A7D8A8D123E2514000DCD162 /* SDL_hints_c.h */,
|
||||||
A7D8A5AB23E2513D00DCD162 /* SDL_hints.c */,
|
A7D8A5AB23E2513D00DCD162 /* SDL_hints.c */,
|
||||||
A7D8A58323E2513D00DCD162 /* SDL_internal.h */,
|
A7D8A58323E2513D00DCD162 /* SDL_internal.h */,
|
||||||
A7D8A5DD23E2513D00DCD162 /* SDL_log.c */,
|
A7D8A5DD23E2513D00DCD162 /* SDL_log.c */,
|
||||||
|
A1BB8B6127F6CF320057CFA8 /* SDL_list.c */,
|
||||||
|
A1BB8B6227F6CF330057CFA8 /* SDL_list.h */,
|
||||||
A7D8A57123E2513D00DCD162 /* SDL.c */,
|
A7D8A57123E2513D00DCD162 /* SDL.c */,
|
||||||
);
|
);
|
||||||
name = "Library Source";
|
name = "Library Source";
|
||||||
@@ -4815,6 +4873,7 @@
|
|||||||
75E09157241EA924004729E1 /* virtual */,
|
75E09157241EA924004729E1 /* virtual */,
|
||||||
A7D8A7AD23E2513E00DCD162 /* SDL_gamecontroller.c */,
|
A7D8A7AD23E2513E00DCD162 /* SDL_gamecontroller.c */,
|
||||||
A7D8A7A923E2513E00DCD162 /* SDL_joystick.c */,
|
A7D8A7A923E2513E00DCD162 /* SDL_joystick.c */,
|
||||||
|
F3820712284F3609004DD584 /* controller_type.c */,
|
||||||
A7D8A7D923E2513E00DCD162 /* controller_type.h */,
|
A7D8A7D923E2513E00DCD162 /* controller_type.h */,
|
||||||
A7D8A79E23E2513E00DCD162 /* SDL_gamecontrollerdb.h */,
|
A7D8A79E23E2513E00DCD162 /* SDL_gamecontrollerdb.h */,
|
||||||
A7D8A7D023E2513E00DCD162 /* SDL_joystick_c.h */,
|
A7D8A7D023E2513E00DCD162 /* SDL_joystick_c.h */,
|
||||||
@@ -5046,6 +5105,8 @@
|
|||||||
A7D8A8D423E2514000DCD162 /* SDL_getenv.c */,
|
A7D8A8D423E2514000DCD162 /* SDL_getenv.c */,
|
||||||
A7D8A8D323E2514000DCD162 /* SDL_iconv.c */,
|
A7D8A8D323E2514000DCD162 /* SDL_iconv.c */,
|
||||||
A7D8A8D923E2514000DCD162 /* SDL_malloc.c */,
|
A7D8A8D923E2514000DCD162 /* SDL_malloc.c */,
|
||||||
|
F3249B1D285A85FF00DB9B5C /* SDL_memcpy.c */,
|
||||||
|
F3249B1C285A85FF00DB9B5C /* SDL_memset.c */,
|
||||||
A7D8A8D723E2514000DCD162 /* SDL_qsort.c */,
|
A7D8A8D723E2514000DCD162 /* SDL_qsort.c */,
|
||||||
A7D8A8D823E2514000DCD162 /* SDL_stdlib.c */,
|
A7D8A8D823E2514000DCD162 /* SDL_stdlib.c */,
|
||||||
A7D8A8D523E2514000DCD162 /* SDL_string.c */,
|
A7D8A8D523E2514000DCD162 /* SDL_string.c */,
|
||||||
@@ -5221,6 +5282,7 @@
|
|||||||
F59C710100D5CB5801000001 /* resources */ = {
|
F59C710100D5CB5801000001 /* resources */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
|
F37A8E1928405AA100C38E95 /* CMake */,
|
||||||
00794D3F09D0C461003FC8A1 /* License.txt */,
|
00794D3F09D0C461003FC8A1 /* License.txt */,
|
||||||
F59C710300D5CB5801000001 /* ReadMe.txt */,
|
F59C710300D5CB5801000001 /* ReadMe.txt */,
|
||||||
);
|
);
|
||||||
@@ -5247,6 +5309,7 @@
|
|||||||
A75FCD0823E25AB700529352 /* SDL_atomic.h in Headers */,
|
A75FCD0823E25AB700529352 /* SDL_atomic.h in Headers */,
|
||||||
A75FCD0923E25AB700529352 /* SDL_rect_c.h in Headers */,
|
A75FCD0923E25AB700529352 /* SDL_rect_c.h in Headers */,
|
||||||
A75FCD0B23E25AB700529352 /* SDL_shaders_metal_osx.h in Headers */,
|
A75FCD0B23E25AB700529352 /* SDL_shaders_metal_osx.h in Headers */,
|
||||||
|
F382072E284F3643004DD584 /* SDL_guid.h in Headers */,
|
||||||
A75FCD0C23E25AB700529352 /* SDL_shaders_metal_ios.h in Headers */,
|
A75FCD0C23E25AB700529352 /* SDL_shaders_metal_ios.h in Headers */,
|
||||||
A75FCD0D23E25AB700529352 /* SDL_offscreenwindow.h in Headers */,
|
A75FCD0D23E25AB700529352 /* SDL_offscreenwindow.h in Headers */,
|
||||||
A75FCD0E23E25AB700529352 /* SDL_audio.h in Headers */,
|
A75FCD0E23E25AB700529352 /* SDL_audio.h in Headers */,
|
||||||
@@ -5304,6 +5367,7 @@
|
|||||||
A75FCD4523E25AB700529352 /* SDL_gesture_c.h in Headers */,
|
A75FCD4523E25AB700529352 /* SDL_gesture_c.h in Headers */,
|
||||||
A75FCD4623E25AB700529352 /* SDL_shaders_gl.h in Headers */,
|
A75FCD4623E25AB700529352 /* SDL_shaders_gl.h in Headers */,
|
||||||
A75FCD4723E25AB700529352 /* SDL_systhread_c.h in Headers */,
|
A75FCD4723E25AB700529352 /* SDL_systhread_c.h in Headers */,
|
||||||
|
A1BB8B7327F6CF330057CFA8 /* SDL_list.h in Headers */,
|
||||||
A75FCD4823E25AB700529352 /* SDL_keycode.h in Headers */,
|
A75FCD4823E25AB700529352 /* SDL_keycode.h in Headers */,
|
||||||
5616CA63252BB35F005D5928 /* SDL_sysurl.h in Headers */,
|
5616CA63252BB35F005D5928 /* SDL_sysurl.h in Headers */,
|
||||||
A75FCD4A23E25AB700529352 /* SDL_cocoakeyboard.h in Headers */,
|
A75FCD4A23E25AB700529352 /* SDL_cocoakeyboard.h in Headers */,
|
||||||
@@ -5475,6 +5539,7 @@
|
|||||||
A75FCEC523E25AC700529352 /* SDL_shaders_metal_ios.h in Headers */,
|
A75FCEC523E25AC700529352 /* SDL_shaders_metal_ios.h in Headers */,
|
||||||
A75FCEC623E25AC700529352 /* SDL_offscreenwindow.h in Headers */,
|
A75FCEC623E25AC700529352 /* SDL_offscreenwindow.h in Headers */,
|
||||||
A75FCEC723E25AC700529352 /* SDL_audio.h in Headers */,
|
A75FCEC723E25AC700529352 /* SDL_audio.h in Headers */,
|
||||||
|
F382072F284F3643004DD584 /* SDL_guid.h in Headers */,
|
||||||
A75FCEC823E25AC700529352 /* SDL_coremotionsensor.h in Headers */,
|
A75FCEC823E25AC700529352 /* SDL_coremotionsensor.h in Headers */,
|
||||||
A75FCEC923E25AC700529352 /* SDL_uikitview.h in Headers */,
|
A75FCEC923E25AC700529352 /* SDL_uikitview.h in Headers */,
|
||||||
A75FCECA23E25AC700529352 /* SDL_bits.h in Headers */,
|
A75FCECA23E25AC700529352 /* SDL_bits.h in Headers */,
|
||||||
@@ -5529,6 +5594,7 @@
|
|||||||
A75FCEFE23E25AC700529352 /* SDL_gesture_c.h in Headers */,
|
A75FCEFE23E25AC700529352 /* SDL_gesture_c.h in Headers */,
|
||||||
A75FCEFF23E25AC700529352 /* SDL_shaders_gl.h in Headers */,
|
A75FCEFF23E25AC700529352 /* SDL_shaders_gl.h in Headers */,
|
||||||
A75FCF0023E25AC700529352 /* SDL_systhread_c.h in Headers */,
|
A75FCF0023E25AC700529352 /* SDL_systhread_c.h in Headers */,
|
||||||
|
A1BB8B7427F6CF330057CFA8 /* SDL_list.h in Headers */,
|
||||||
A75FCF0123E25AC700529352 /* SDL_keycode.h in Headers */,
|
A75FCF0123E25AC700529352 /* SDL_keycode.h in Headers */,
|
||||||
5616CA66252BB361005D5928 /* SDL_sysurl.h in Headers */,
|
5616CA66252BB361005D5928 /* SDL_sysurl.h in Headers */,
|
||||||
A75FCF0323E25AC700529352 /* SDL_cocoakeyboard.h in Headers */,
|
A75FCF0323E25AC700529352 /* SDL_cocoakeyboard.h in Headers */,
|
||||||
@@ -5727,6 +5793,7 @@
|
|||||||
A769B0C623E259AE00872273 /* SDL_windowevents_c.h in Headers */,
|
A769B0C623E259AE00872273 /* SDL_windowevents_c.h in Headers */,
|
||||||
A769B0C823E259AE00872273 /* SDL_cocoavideo.h in Headers */,
|
A769B0C823E259AE00872273 /* SDL_cocoavideo.h in Headers */,
|
||||||
5605721C2473688D00B46B66 /* SDL_syslocale.h in Headers */,
|
5605721C2473688D00B46B66 /* SDL_syslocale.h in Headers */,
|
||||||
|
A1BB8B7127F6CF330057CFA8 /* SDL_list.h in Headers */,
|
||||||
A769B0CA23E259AE00872273 /* SDL_uikitevents.h in Headers */,
|
A769B0CA23E259AE00872273 /* SDL_uikitevents.h in Headers */,
|
||||||
A769B0CB23E259AE00872273 /* SDL_gesture_c.h in Headers */,
|
A769B0CB23E259AE00872273 /* SDL_gesture_c.h in Headers */,
|
||||||
A769B0CC23E259AE00872273 /* SDL_shaders_gl.h in Headers */,
|
A769B0CC23E259AE00872273 /* SDL_shaders_gl.h in Headers */,
|
||||||
@@ -5822,6 +5889,7 @@
|
|||||||
A769B14623E259AE00872273 /* SDL_syspower.h in Headers */,
|
A769B14623E259AE00872273 /* SDL_syspower.h in Headers */,
|
||||||
A769B14723E259AE00872273 /* vulkan_macos.h in Headers */,
|
A769B14723E259AE00872273 /* vulkan_macos.h in Headers */,
|
||||||
A769B14823E259AE00872273 /* vulkan_xcb.h in Headers */,
|
A769B14823E259AE00872273 /* vulkan_xcb.h in Headers */,
|
||||||
|
F382072C284F3643004DD584 /* SDL_guid.h in Headers */,
|
||||||
A769B14923E259AE00872273 /* vulkan_ios.h in Headers */,
|
A769B14923E259AE00872273 /* vulkan_ios.h in Headers */,
|
||||||
A769B14A23E259AE00872273 /* SDL_internal.h in Headers */,
|
A769B14A23E259AE00872273 /* SDL_internal.h in Headers */,
|
||||||
A769B14E23E259AE00872273 /* vulkan.h in Headers */,
|
A769B14E23E259AE00872273 /* vulkan.h in Headers */,
|
||||||
@@ -5864,6 +5932,7 @@
|
|||||||
A7D8BA0E23E2514400DCD162 /* SDL_blendpoint.h in Headers */,
|
A7D8BA0E23E2514400DCD162 /* SDL_blendpoint.h in Headers */,
|
||||||
A7D8B3B723E2514200DCD162 /* SDL_blit.h in Headers */,
|
A7D8B3B723E2514200DCD162 /* SDL_blit.h in Headers */,
|
||||||
A7D8B2BB23E2514200DCD162 /* SDL_blit_auto.h in Headers */,
|
A7D8B2BB23E2514200DCD162 /* SDL_blit_auto.h in Headers */,
|
||||||
|
F3820728284F3643004DD584 /* SDL_guid.h in Headers */,
|
||||||
A7D8B39923E2514200DCD162 /* SDL_blit_copy.h in Headers */,
|
A7D8B39923E2514200DCD162 /* SDL_blit_copy.h in Headers */,
|
||||||
A7D8ADED23E2514100DCD162 /* SDL_blit_slow.h in Headers */,
|
A7D8ADED23E2514100DCD162 /* SDL_blit_slow.h in Headers */,
|
||||||
A7D88A2123E2437C00DCD162 /* SDL_clipboard.h in Headers */,
|
A7D88A2123E2437C00DCD162 /* SDL_clipboard.h in Headers */,
|
||||||
@@ -5975,6 +6044,7 @@
|
|||||||
A7D8A98E23E2514000DCD162 /* SDL_sensor_c.h in Headers */,
|
A7D8A98E23E2514000DCD162 /* SDL_sensor_c.h in Headers */,
|
||||||
A7D8BA7423E2514400DCD162 /* SDL_shaders_gl.h in Headers */,
|
A7D8BA7423E2514400DCD162 /* SDL_shaders_gl.h in Headers */,
|
||||||
A7D8BA5023E2514400DCD162 /* SDL_shaders_gles2.h in Headers */,
|
A7D8BA5023E2514400DCD162 /* SDL_shaders_gles2.h in Headers */,
|
||||||
|
A1BB8B6D27F6CF330057CFA8 /* SDL_list.h in Headers */,
|
||||||
A7D8B98D23E2514400DCD162 /* SDL_shaders_metal_ios.h in Headers */,
|
A7D8B98D23E2514400DCD162 /* SDL_shaders_metal_ios.h in Headers */,
|
||||||
A7D8B99C23E2514400DCD162 /* SDL_shaders_metal_osx.h in Headers */,
|
A7D8B99C23E2514400DCD162 /* SDL_shaders_metal_osx.h in Headers */,
|
||||||
A7D8B9A223E2514400DCD162 /* SDL_shaders_metal_tvos.h in Headers */,
|
A7D8B9A223E2514400DCD162 /* SDL_shaders_metal_tvos.h in Headers */,
|
||||||
@@ -6095,6 +6165,7 @@
|
|||||||
A7D8B3B823E2514200DCD162 /* SDL_blit.h in Headers */,
|
A7D8B3B823E2514200DCD162 /* SDL_blit.h in Headers */,
|
||||||
A7D8B2BC23E2514200DCD162 /* SDL_blit_auto.h in Headers */,
|
A7D8B2BC23E2514200DCD162 /* SDL_blit_auto.h in Headers */,
|
||||||
A7D8B39A23E2514200DCD162 /* SDL_blit_copy.h in Headers */,
|
A7D8B39A23E2514200DCD162 /* SDL_blit_copy.h in Headers */,
|
||||||
|
F3820729284F3643004DD584 /* SDL_guid.h in Headers */,
|
||||||
A7D8ADEE23E2514100DCD162 /* SDL_blit_slow.h in Headers */,
|
A7D8ADEE23E2514100DCD162 /* SDL_blit_slow.h in Headers */,
|
||||||
A7D88BD823E24BED00DCD162 /* SDL_clipboard.h in Headers */,
|
A7D88BD823E24BED00DCD162 /* SDL_clipboard.h in Headers */,
|
||||||
A7D8BB7123E2514500DCD162 /* SDL_clipboardevents_c.h in Headers */,
|
A7D8BB7123E2514500DCD162 /* SDL_clipboardevents_c.h in Headers */,
|
||||||
@@ -6205,6 +6276,7 @@
|
|||||||
A7D8A98F23E2514000DCD162 /* SDL_sensor_c.h in Headers */,
|
A7D8A98F23E2514000DCD162 /* SDL_sensor_c.h in Headers */,
|
||||||
A7D8BA7523E2514400DCD162 /* SDL_shaders_gl.h in Headers */,
|
A7D8BA7523E2514400DCD162 /* SDL_shaders_gl.h in Headers */,
|
||||||
A7D8BA5123E2514400DCD162 /* SDL_shaders_gles2.h in Headers */,
|
A7D8BA5123E2514400DCD162 /* SDL_shaders_gles2.h in Headers */,
|
||||||
|
A1BB8B6E27F6CF330057CFA8 /* SDL_list.h in Headers */,
|
||||||
A7D8B98E23E2514400DCD162 /* SDL_shaders_metal_ios.h in Headers */,
|
A7D8B98E23E2514400DCD162 /* SDL_shaders_metal_ios.h in Headers */,
|
||||||
A7D8B99D23E2514400DCD162 /* SDL_shaders_metal_osx.h in Headers */,
|
A7D8B99D23E2514400DCD162 /* SDL_shaders_metal_osx.h in Headers */,
|
||||||
A7D8B9A323E2514400DCD162 /* SDL_shaders_metal_tvos.h in Headers */,
|
A7D8B9A323E2514400DCD162 /* SDL_shaders_metal_tvos.h in Headers */,
|
||||||
@@ -6352,6 +6424,7 @@
|
|||||||
A7D8BBAF23E2514500DCD162 /* SDL_windowevents_c.h in Headers */,
|
A7D8BBAF23E2514500DCD162 /* SDL_windowevents_c.h in Headers */,
|
||||||
A7D8AF0423E2514100DCD162 /* SDL_cocoavideo.h in Headers */,
|
A7D8AF0423E2514100DCD162 /* SDL_cocoavideo.h in Headers */,
|
||||||
5605721A2473688C00B46B66 /* SDL_syslocale.h in Headers */,
|
5605721A2473688C00B46B66 /* SDL_syslocale.h in Headers */,
|
||||||
|
A1BB8B7027F6CF330057CFA8 /* SDL_list.h in Headers */,
|
||||||
A7D8ACC123E2514100DCD162 /* SDL_uikitevents.h in Headers */,
|
A7D8ACC123E2514100DCD162 /* SDL_uikitevents.h in Headers */,
|
||||||
A7D8BB3D23E2514500DCD162 /* SDL_gesture_c.h in Headers */,
|
A7D8BB3D23E2514500DCD162 /* SDL_gesture_c.h in Headers */,
|
||||||
A7D8BA7723E2514400DCD162 /* SDL_shaders_gl.h in Headers */,
|
A7D8BA7723E2514400DCD162 /* SDL_shaders_gl.h in Headers */,
|
||||||
@@ -6447,6 +6520,7 @@
|
|||||||
A7D8B61523E2514300DCD162 /* SDL_syspower.h in Headers */,
|
A7D8B61523E2514300DCD162 /* SDL_syspower.h in Headers */,
|
||||||
A7D8B28823E2514200DCD162 /* vulkan_macos.h in Headers */,
|
A7D8B28823E2514200DCD162 /* vulkan_macos.h in Headers */,
|
||||||
A7D8B29423E2514200DCD162 /* vulkan_xcb.h in Headers */,
|
A7D8B29423E2514200DCD162 /* vulkan_xcb.h in Headers */,
|
||||||
|
F382072B284F3643004DD584 /* SDL_guid.h in Headers */,
|
||||||
A7D8B2A623E2514200DCD162 /* vulkan_ios.h in Headers */,
|
A7D8B2A623E2514200DCD162 /* vulkan_ios.h in Headers */,
|
||||||
A7D8A99D23E2514000DCD162 /* SDL_internal.h in Headers */,
|
A7D8A99D23E2514000DCD162 /* SDL_internal.h in Headers */,
|
||||||
A7D8B26423E2514200DCD162 /* vulkan.h in Headers */,
|
A7D8B26423E2514200DCD162 /* vulkan.h in Headers */,
|
||||||
@@ -6491,6 +6565,7 @@
|
|||||||
A7D8B2BA23E2514200DCD162 /* SDL_blit_auto.h in Headers */,
|
A7D8B2BA23E2514200DCD162 /* SDL_blit_auto.h in Headers */,
|
||||||
A7D8B39823E2514200DCD162 /* SDL_blit_copy.h in Headers */,
|
A7D8B39823E2514200DCD162 /* SDL_blit_copy.h in Headers */,
|
||||||
A7D8ADEC23E2514100DCD162 /* SDL_blit_slow.h in Headers */,
|
A7D8ADEC23E2514100DCD162 /* SDL_blit_slow.h in Headers */,
|
||||||
|
F3820727284F3643004DD584 /* SDL_guid.h in Headers */,
|
||||||
AA7558061595D4D800BBD41B /* SDL_clipboard.h in Headers */,
|
AA7558061595D4D800BBD41B /* SDL_clipboard.h in Headers */,
|
||||||
A7D8BB6F23E2514500DCD162 /* SDL_clipboardevents_c.h in Headers */,
|
A7D8BB6F23E2514500DCD162 /* SDL_clipboardevents_c.h in Headers */,
|
||||||
A7D8AECA23E2514100DCD162 /* SDL_cocoaclipboard.h in Headers */,
|
A7D8AECA23E2514100DCD162 /* SDL_cocoaclipboard.h in Headers */,
|
||||||
@@ -6600,6 +6675,7 @@
|
|||||||
A7D8A98D23E2514000DCD162 /* SDL_sensor_c.h in Headers */,
|
A7D8A98D23E2514000DCD162 /* SDL_sensor_c.h in Headers */,
|
||||||
A7D8BA7323E2514400DCD162 /* SDL_shaders_gl.h in Headers */,
|
A7D8BA7323E2514400DCD162 /* SDL_shaders_gl.h in Headers */,
|
||||||
A7D8BA4F23E2514400DCD162 /* SDL_shaders_gles2.h in Headers */,
|
A7D8BA4F23E2514400DCD162 /* SDL_shaders_gles2.h in Headers */,
|
||||||
|
A1BB8B6C27F6CF330057CFA8 /* SDL_list.h in Headers */,
|
||||||
A7D8B98C23E2514400DCD162 /* SDL_shaders_metal_ios.h in Headers */,
|
A7D8B98C23E2514400DCD162 /* SDL_shaders_metal_ios.h in Headers */,
|
||||||
A7D8B99B23E2514400DCD162 /* SDL_shaders_metal_osx.h in Headers */,
|
A7D8B99B23E2514400DCD162 /* SDL_shaders_metal_osx.h in Headers */,
|
||||||
A7D8B9A123E2514400DCD162 /* SDL_shaders_metal_tvos.h in Headers */,
|
A7D8B9A123E2514400DCD162 /* SDL_shaders_metal_tvos.h in Headers */,
|
||||||
@@ -6816,6 +6892,7 @@
|
|||||||
A7D8B29F23E2514200DCD162 /* vulkan_xlib.h in Headers */,
|
A7D8B29F23E2514200DCD162 /* vulkan_xlib.h in Headers */,
|
||||||
A7D8B25D23E2514200DCD162 /* vulkan_vi.h in Headers */,
|
A7D8B25D23E2514200DCD162 /* vulkan_vi.h in Headers */,
|
||||||
A7D8B29923E2514200DCD162 /* vulkan_mir.h in Headers */,
|
A7D8B29923E2514200DCD162 /* vulkan_mir.h in Headers */,
|
||||||
|
A1BB8B6F27F6CF330057CFA8 /* SDL_list.h in Headers */,
|
||||||
A7D8BB4E23E2514500DCD162 /* default_cursor.h in Headers */,
|
A7D8BB4E23E2514500DCD162 /* default_cursor.h in Headers */,
|
||||||
A7D8B9FE23E2514400DCD162 /* SDL_render_sw_c.h in Headers */,
|
A7D8B9FE23E2514400DCD162 /* SDL_render_sw_c.h in Headers */,
|
||||||
A7D8BBED23E2574800DCD162 /* SDL_uikitappdelegate.h in Headers */,
|
A7D8BBED23E2574800DCD162 /* SDL_uikitappdelegate.h in Headers */,
|
||||||
@@ -6852,6 +6929,7 @@
|
|||||||
A7D8AF1523E2514100DCD162 /* SDL_cocoaevents.h in Headers */,
|
A7D8AF1523E2514100DCD162 /* SDL_cocoaevents.h in Headers */,
|
||||||
A7D8B25723E2514200DCD162 /* vk_icd.h in Headers */,
|
A7D8B25723E2514200DCD162 /* vk_icd.h in Headers */,
|
||||||
A7D8ABE823E2514100DCD162 /* SDL_nullframebuffer_c.h in Headers */,
|
A7D8ABE823E2514100DCD162 /* SDL_nullframebuffer_c.h in Headers */,
|
||||||
|
F382072A284F3643004DD584 /* SDL_guid.h in Headers */,
|
||||||
A7D8AB1F23E2514100DCD162 /* SDL_dynapi_procs.h in Headers */,
|
A7D8AB1F23E2514100DCD162 /* SDL_dynapi_procs.h in Headers */,
|
||||||
A7D8B27523E2514200DCD162 /* vulkan_fuchsia.h in Headers */,
|
A7D8B27523E2514200DCD162 /* vulkan_fuchsia.h in Headers */,
|
||||||
5616CA57252BB35C005D5928 /* SDL_sysurl.h in Headers */,
|
5616CA57252BB35C005D5928 /* SDL_sysurl.h in Headers */,
|
||||||
@@ -6883,6 +6961,7 @@
|
|||||||
A7D8AC0823E2514100DCD162 /* SDL_rect_c.h in Headers */,
|
A7D8AC0823E2514100DCD162 /* SDL_rect_c.h in Headers */,
|
||||||
A7D8B9A023E2514400DCD162 /* SDL_shaders_metal_osx.h in Headers */,
|
A7D8B9A023E2514400DCD162 /* SDL_shaders_metal_osx.h in Headers */,
|
||||||
A7D8B99123E2514400DCD162 /* SDL_shaders_metal_ios.h in Headers */,
|
A7D8B99123E2514400DCD162 /* SDL_shaders_metal_ios.h in Headers */,
|
||||||
|
F382072D284F3643004DD584 /* SDL_guid.h in Headers */,
|
||||||
A7D8AB8A23E2514100DCD162 /* SDL_offscreenwindow.h in Headers */,
|
A7D8AB8A23E2514100DCD162 /* SDL_offscreenwindow.h in Headers */,
|
||||||
DB313FCC17554B71006C0E22 /* SDL_audio.h in Headers */,
|
DB313FCC17554B71006C0E22 /* SDL_audio.h in Headers */,
|
||||||
A7D8A97423E2514000DCD162 /* SDL_coremotionsensor.h in Headers */,
|
A7D8A97423E2514000DCD162 /* SDL_coremotionsensor.h in Headers */,
|
||||||
@@ -6938,6 +7017,7 @@
|
|||||||
A7D8BB3E23E2514500DCD162 /* SDL_gesture_c.h in Headers */,
|
A7D8BB3E23E2514500DCD162 /* SDL_gesture_c.h in Headers */,
|
||||||
A7D8BA7823E2514400DCD162 /* SDL_shaders_gl.h in Headers */,
|
A7D8BA7823E2514400DCD162 /* SDL_shaders_gl.h in Headers */,
|
||||||
A7D8B42D23E2514300DCD162 /* SDL_systhread_c.h in Headers */,
|
A7D8B42D23E2514300DCD162 /* SDL_systhread_c.h in Headers */,
|
||||||
|
A1BB8B7227F6CF330057CFA8 /* SDL_list.h in Headers */,
|
||||||
DB313FDB17554B71006C0E22 /* SDL_keycode.h in Headers */,
|
DB313FDB17554B71006C0E22 /* SDL_keycode.h in Headers */,
|
||||||
A7D8AE9323E2514100DCD162 /* SDL_cocoakeyboard.h in Headers */,
|
A7D8AE9323E2514100DCD162 /* SDL_cocoakeyboard.h in Headers */,
|
||||||
A7D8ACE623E2514100DCD162 /* SDL_uikitvulkan.h in Headers */,
|
A7D8ACE623E2514100DCD162 /* SDL_uikitvulkan.h in Headers */,
|
||||||
@@ -7089,20 +7169,6 @@
|
|||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
};
|
};
|
||||||
F3CB933F26B5E0A400B9C980 /* Headers */ = {
|
|
||||||
isa = PBXHeadersBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
};
|
|
||||||
F3CB94BD26B5E0A600B9C980 /* Headers */ = {
|
|
||||||
isa = PBXHeadersBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
};
|
|
||||||
/* End PBXHeadersBuildPhase section */
|
/* End PBXHeadersBuildPhase section */
|
||||||
|
|
||||||
/* Begin PBXNativeTarget section */
|
/* Begin PBXNativeTarget section */
|
||||||
@@ -7175,6 +7241,7 @@
|
|||||||
A7D88ABF23E2437C00DCD162 /* Sources */,
|
A7D88ABF23E2437C00DCD162 /* Sources */,
|
||||||
A7D88B4623E2437C00DCD162 /* Frameworks */,
|
A7D88B4623E2437C00DCD162 /* Frameworks */,
|
||||||
A75FDB9F23E4CAFA00529352 /* Embed Frameworks */,
|
A75FDB9F23E4CAFA00529352 /* Embed Frameworks */,
|
||||||
|
F3ED8107281DB8E600C33C5B /* Convert SDL includes to SDL Framework includes */,
|
||||||
);
|
);
|
||||||
buildRules = (
|
buildRules = (
|
||||||
);
|
);
|
||||||
@@ -7196,6 +7263,7 @@
|
|||||||
A7D88C7823E24BED00DCD162 /* Sources */,
|
A7D88C7823E24BED00DCD162 /* Sources */,
|
||||||
A7D88D0423E24BED00DCD162 /* Frameworks */,
|
A7D88D0423E24BED00DCD162 /* Frameworks */,
|
||||||
A75FDBA223E4CAFF00529352 /* Embed Frameworks */,
|
A75FDBA223E4CAFF00529352 /* Embed Frameworks */,
|
||||||
|
F3ED8108281DB8F200C33C5B /* Convert SDL includes to SDL Framework includes */,
|
||||||
);
|
);
|
||||||
buildRules = (
|
buildRules = (
|
||||||
);
|
);
|
||||||
@@ -7237,6 +7305,7 @@
|
|||||||
BECDF62C0761BA81005FE872 /* Sources */,
|
BECDF62C0761BA81005FE872 /* Sources */,
|
||||||
BECDF6680761BA81005FE872 /* Frameworks */,
|
BECDF6680761BA81005FE872 /* Frameworks */,
|
||||||
A75FDB9C23E4CAEF00529352 /* Embed Frameworks */,
|
A75FDB9C23E4CAEF00529352 /* Embed Frameworks */,
|
||||||
|
F3ED8106281DB8A500C33C5B /* Convert SDL includes to SDL Framework includes */,
|
||||||
);
|
);
|
||||||
buildRules = (
|
buildRules = (
|
||||||
);
|
);
|
||||||
@@ -7306,46 +7375,6 @@
|
|||||||
productReference = DB31407717554B71006C0E22 /* libSDL2.dylib */;
|
productReference = DB31407717554B71006C0E22 /* libSDL2.dylib */;
|
||||||
productType = "com.apple.product-type.library.dynamic";
|
productType = "com.apple.product-type.library.dynamic";
|
||||||
};
|
};
|
||||||
F3CB933E26B5E0A400B9C980 /* SDLmain-iOS */ = {
|
|
||||||
isa = PBXNativeTarget;
|
|
||||||
buildConfigurationList = F3CB94B726B5E0A400B9C980 /* Build configuration list for PBXNativeTarget "SDLmain-iOS" */;
|
|
||||||
buildPhases = (
|
|
||||||
F3CB933F26B5E0A400B9C980 /* Headers */,
|
|
||||||
F3CB93F026B5E0A400B9C980 /* Sources */,
|
|
||||||
F3CB94B526B5E0A400B9C980 /* Frameworks */,
|
|
||||||
F3CB94B626B5E0A400B9C980 /* Rez */,
|
|
||||||
);
|
|
||||||
buildRules = (
|
|
||||||
);
|
|
||||||
comments = "This produces libSDLmain.a, which provides a main() for use with your application";
|
|
||||||
dependencies = (
|
|
||||||
);
|
|
||||||
name = "SDLmain-iOS";
|
|
||||||
productInstallPath = /usr/local/lib;
|
|
||||||
productName = "Static Library";
|
|
||||||
productReference = F3CB94BA26B5E0A400B9C980 /* libSDLmain.a */;
|
|
||||||
productType = "com.apple.product-type.library.static";
|
|
||||||
};
|
|
||||||
F3CB94BC26B5E0A600B9C980 /* SDLmain-tvOS */ = {
|
|
||||||
isa = PBXNativeTarget;
|
|
||||||
buildConfigurationList = F3CB963526B5E0A600B9C980 /* Build configuration list for PBXNativeTarget "SDLmain-tvOS" */;
|
|
||||||
buildPhases = (
|
|
||||||
F3CB94BD26B5E0A600B9C980 /* Headers */,
|
|
||||||
F3CB956E26B5E0A600B9C980 /* Sources */,
|
|
||||||
F3CB963326B5E0A600B9C980 /* Frameworks */,
|
|
||||||
F3CB963426B5E0A600B9C980 /* Rez */,
|
|
||||||
);
|
|
||||||
buildRules = (
|
|
||||||
);
|
|
||||||
comments = "This produces libSDLmain.a, which provides a main() for use with your application";
|
|
||||||
dependencies = (
|
|
||||||
);
|
|
||||||
name = "SDLmain-tvOS";
|
|
||||||
productInstallPath = /usr/local/lib;
|
|
||||||
productName = "Static Library";
|
|
||||||
productReference = F3CB963826B5E0A600B9C980 /* libSDLmain.a */;
|
|
||||||
productType = "com.apple.product-type.library.static";
|
|
||||||
};
|
|
||||||
/* End PBXNativeTarget section */
|
/* End PBXNativeTarget section */
|
||||||
|
|
||||||
/* Begin PBXProject section */
|
/* Begin PBXProject section */
|
||||||
@@ -7368,8 +7397,6 @@
|
|||||||
projectDirPath = "";
|
projectDirPath = "";
|
||||||
projectRoot = "";
|
projectRoot = "";
|
||||||
targets = (
|
targets = (
|
||||||
F3CB933E26B5E0A400B9C980 /* SDLmain-iOS */,
|
|
||||||
F3CB94BC26B5E0A600B9C980 /* SDLmain-tvOS */,
|
|
||||||
BECDF5FE0761BA81005FE872 /* Framework */,
|
BECDF5FE0761BA81005FE872 /* Framework */,
|
||||||
A7D88A1423E2437C00DCD162 /* Framework-iOS */,
|
A7D88A1423E2437C00DCD162 /* Framework-iOS */,
|
||||||
A7D88BC923E24BED00DCD162 /* Framework-tvOS */,
|
A7D88BC923E24BED00DCD162 /* Framework-tvOS */,
|
||||||
@@ -7389,6 +7416,7 @@
|
|||||||
isa = PBXResourcesBuildPhase;
|
isa = PBXResourcesBuildPhase;
|
||||||
buildActionMask = 2147483647;
|
buildActionMask = 2147483647;
|
||||||
files = (
|
files = (
|
||||||
|
F37A8E1B28405AA100C38E95 /* CMake in Resources */,
|
||||||
A75FDBBA23E4CBC700529352 /* ReadMe.txt in Resources */,
|
A75FDBBA23E4CBC700529352 /* ReadMe.txt in Resources */,
|
||||||
A75FDBB923E4CBC700529352 /* License.txt in Resources */,
|
A75FDBB923E4CBC700529352 /* License.txt in Resources */,
|
||||||
);
|
);
|
||||||
@@ -7398,6 +7426,7 @@
|
|||||||
isa = PBXResourcesBuildPhase;
|
isa = PBXResourcesBuildPhase;
|
||||||
buildActionMask = 2147483647;
|
buildActionMask = 2147483647;
|
||||||
files = (
|
files = (
|
||||||
|
F37A8E1C28405AA100C38E95 /* CMake in Resources */,
|
||||||
A75FDBBC23E4CBC800529352 /* ReadMe.txt in Resources */,
|
A75FDBBC23E4CBC800529352 /* ReadMe.txt in Resources */,
|
||||||
A75FDBBB23E4CBC800529352 /* License.txt in Resources */,
|
A75FDBBB23E4CBC800529352 /* License.txt in Resources */,
|
||||||
);
|
);
|
||||||
@@ -7407,6 +7436,7 @@
|
|||||||
isa = PBXResourcesBuildPhase;
|
isa = PBXResourcesBuildPhase;
|
||||||
buildActionMask = 2147483647;
|
buildActionMask = 2147483647;
|
||||||
files = (
|
files = (
|
||||||
|
F37A8E1A28405AA100C38E95 /* CMake in Resources */,
|
||||||
A75FDBB823E4CBC700529352 /* ReadMe.txt in Resources */,
|
A75FDBB823E4CBC700529352 /* ReadMe.txt in Resources */,
|
||||||
A75FDBB723E4CBC700529352 /* License.txt in Resources */,
|
A75FDBB723E4CBC700529352 /* License.txt in Resources */,
|
||||||
);
|
);
|
||||||
@@ -7457,20 +7487,6 @@
|
|||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
};
|
};
|
||||||
F3CB94B626B5E0A400B9C980 /* Rez */ = {
|
|
||||||
isa = PBXRezBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
};
|
|
||||||
F3CB963426B5E0A600B9C980 /* Rez */ = {
|
|
||||||
isa = PBXRezBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
};
|
|
||||||
/* End PBXRezBuildPhase section */
|
/* End PBXRezBuildPhase section */
|
||||||
|
|
||||||
/* Begin PBXShellScriptBuildPhase section */
|
/* Begin PBXShellScriptBuildPhase section */
|
||||||
@@ -7483,6 +7499,60 @@
|
|||||||
shellPath = /bin/sh;
|
shellPath = /bin/sh;
|
||||||
shellScript = "# Sign framework\nif [ \"$SDL_CODESIGN_IDENTITY\" != \"\" ]; then\n codesign --force --deep --sign \"$SDL_CODESIGN_IDENTITY\" $TARGET_BUILD_DIR/SDL2.framework/Versions/A || exit $?\nfi\n\n# clean up the framework, remove headers, extra files\nmkdir -p build/dmg-tmp\ncp -a $TARGET_BUILD_DIR/SDL2.framework build/dmg-tmp/\n\ncp pkg-support/resources/License.txt build/dmg-tmp\ncp pkg-support/resources/ReadMe.txt build/dmg-tmp\n\n# remove the .DS_Store files if any (we may want to provide one in the future for fancy .dmgs)\nfind build/dmg-tmp -name .DS_Store -exec rm -f \"{}\" \\;\n\n# for fancy .dmg\nmkdir -p build/dmg-tmp/.logo\ncp pkg-support/resources/SDL_DS_Store build/dmg-tmp/.DS_Store\ncp pkg-support/sdl_logo.pdf build/dmg-tmp/.logo\n\n# create the dmg\nhdiutil create -ov -fs HFS+ -volname SDL2 -srcfolder build/dmg-tmp build/SDL2.dmg\n\n# clean up\nrm -rf build/dmg-tmp\n";
|
shellScript = "# Sign framework\nif [ \"$SDL_CODESIGN_IDENTITY\" != \"\" ]; then\n codesign --force --deep --sign \"$SDL_CODESIGN_IDENTITY\" $TARGET_BUILD_DIR/SDL2.framework/Versions/A || exit $?\nfi\n\n# clean up the framework, remove headers, extra files\nmkdir -p build/dmg-tmp\ncp -a $TARGET_BUILD_DIR/SDL2.framework build/dmg-tmp/\n\ncp pkg-support/resources/License.txt build/dmg-tmp\ncp pkg-support/resources/ReadMe.txt build/dmg-tmp\n\n# remove the .DS_Store files if any (we may want to provide one in the future for fancy .dmgs)\nfind build/dmg-tmp -name .DS_Store -exec rm -f \"{}\" \\;\n\n# for fancy .dmg\nmkdir -p build/dmg-tmp/.logo\ncp pkg-support/resources/SDL_DS_Store build/dmg-tmp/.DS_Store\ncp pkg-support/sdl_logo.pdf build/dmg-tmp/.logo\n\n# create the dmg\nhdiutil create -ov -fs HFS+ -volname SDL2 -srcfolder build/dmg-tmp build/SDL2.dmg\n\n# clean up\nrm -rf build/dmg-tmp\n";
|
||||||
};
|
};
|
||||||
|
F3ED8106281DB8A500C33C5B /* Convert SDL includes to SDL Framework includes */ = {
|
||||||
|
isa = PBXShellScriptBuildPhase;
|
||||||
|
buildActionMask = 2147483647;
|
||||||
|
files = (
|
||||||
|
);
|
||||||
|
inputFileListPaths = (
|
||||||
|
);
|
||||||
|
inputPaths = (
|
||||||
|
);
|
||||||
|
name = "Convert SDL includes to SDL Framework includes";
|
||||||
|
outputFileListPaths = (
|
||||||
|
);
|
||||||
|
outputPaths = (
|
||||||
|
);
|
||||||
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
|
shellPath = /bin/sh;
|
||||||
|
shellScript = "cd \"$BUILT_PRODUCTS_DIR/$PUBLIC_HEADERS_FOLDER_PATH\"\nsed -i '' -e 's,#include \"\\(.*\\)\",#include <SDL2/\\1>,' *.h\n";
|
||||||
|
};
|
||||||
|
F3ED8107281DB8E600C33C5B /* Convert SDL includes to SDL Framework includes */ = {
|
||||||
|
isa = PBXShellScriptBuildPhase;
|
||||||
|
buildActionMask = 2147483647;
|
||||||
|
files = (
|
||||||
|
);
|
||||||
|
inputFileListPaths = (
|
||||||
|
);
|
||||||
|
inputPaths = (
|
||||||
|
);
|
||||||
|
name = "Convert SDL includes to SDL Framework includes";
|
||||||
|
outputFileListPaths = (
|
||||||
|
);
|
||||||
|
outputPaths = (
|
||||||
|
);
|
||||||
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
|
shellPath = /bin/sh;
|
||||||
|
shellScript = "cd \"$BUILT_PRODUCTS_DIR/$PUBLIC_HEADERS_FOLDER_PATH\"\nsed -i '' -e 's,#include \"\\(.*\\)\",#include <SDL2/\\1>,' *.h\n";
|
||||||
|
};
|
||||||
|
F3ED8108281DB8F200C33C5B /* Convert SDL includes to SDL Framework includes */ = {
|
||||||
|
isa = PBXShellScriptBuildPhase;
|
||||||
|
buildActionMask = 2147483647;
|
||||||
|
files = (
|
||||||
|
);
|
||||||
|
inputFileListPaths = (
|
||||||
|
);
|
||||||
|
inputPaths = (
|
||||||
|
);
|
||||||
|
name = "Convert SDL includes to SDL Framework includes";
|
||||||
|
outputFileListPaths = (
|
||||||
|
);
|
||||||
|
outputPaths = (
|
||||||
|
);
|
||||||
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
|
shellPath = /bin/sh;
|
||||||
|
shellScript = "cd \"$BUILT_PRODUCTS_DIR/$PUBLIC_HEADERS_FOLDER_PATH\"\nsed -i '' -e 's,#include \"\\(.*\\)\",#include <SDL2/\\1>,' *.h\n";
|
||||||
|
};
|
||||||
/* End PBXShellScriptBuildPhase section */
|
/* End PBXShellScriptBuildPhase section */
|
||||||
|
|
||||||
/* Begin PBXSourcesBuildPhase section */
|
/* Begin PBXSourcesBuildPhase section */
|
||||||
@@ -7549,10 +7619,12 @@
|
|||||||
A75FCE2023E25AB700529352 /* SDL_haptic.c in Sources */,
|
A75FCE2023E25AB700529352 /* SDL_haptic.c in Sources */,
|
||||||
A75FCE2123E25AB700529352 /* SDL_uikitvulkan.m in Sources */,
|
A75FCE2123E25AB700529352 /* SDL_uikitvulkan.m in Sources */,
|
||||||
F3984CD725BCC92900374F43 /* SDL_hidapi_stadia.c in Sources */,
|
F3984CD725BCC92900374F43 /* SDL_hidapi_stadia.c in Sources */,
|
||||||
|
F382071A284F3609004DD584 /* controller_type.c in Sources */,
|
||||||
75E09161241EA924004729E1 /* SDL_virtualjoystick.c in Sources */,
|
75E09161241EA924004729E1 /* SDL_virtualjoystick.c in Sources */,
|
||||||
A75FCE2323E25AB700529352 /* SDL_cocoametalview.m in Sources */,
|
A75FCE2323E25AB700529352 /* SDL_cocoametalview.m in Sources */,
|
||||||
A75FCE2423E25AB700529352 /* SDL_audiotypecvt.c in Sources */,
|
A75FCE2423E25AB700529352 /* SDL_audiotypecvt.c in Sources */,
|
||||||
A75FCE2523E25AB700529352 /* SDL_uikitevents.m in Sources */,
|
A75FCE2523E25AB700529352 /* SDL_uikitevents.m in Sources */,
|
||||||
|
F3820724284F362F004DD584 /* SDL_guid.c in Sources */,
|
||||||
A75FCE2623E25AB700529352 /* SDL_uikitmodes.m in Sources */,
|
A75FCE2623E25AB700529352 /* SDL_uikitmodes.m in Sources */,
|
||||||
A75FCE2723E25AB700529352 /* SDL_blit_N.c in Sources */,
|
A75FCE2723E25AB700529352 /* SDL_blit_N.c in Sources */,
|
||||||
A75FCE2823E25AB700529352 /* SDL_dropevents.c in Sources */,
|
A75FCE2823E25AB700529352 /* SDL_dropevents.c in Sources */,
|
||||||
@@ -7596,6 +7668,7 @@
|
|||||||
A75FCE5023E25AB700529352 /* SDL_syspower.m in Sources */,
|
A75FCE5023E25AB700529352 /* SDL_syspower.m in Sources */,
|
||||||
A75FCE5123E25AB700529352 /* e_log10.c in Sources */,
|
A75FCE5123E25AB700529352 /* e_log10.c in Sources */,
|
||||||
A75FCE5223E25AB700529352 /* SDL_uikitopenglview.m in Sources */,
|
A75FCE5223E25AB700529352 /* SDL_uikitopenglview.m in Sources */,
|
||||||
|
F3249B2E285A85FF00DB9B5C /* SDL_memcpy.c in Sources */,
|
||||||
A75FCE5323E25AB700529352 /* SDL_mixer.c in Sources */,
|
A75FCE5323E25AB700529352 /* SDL_mixer.c in Sources */,
|
||||||
5616CA64252BB35F005D5928 /* SDL_url.c in Sources */,
|
5616CA64252BB35F005D5928 /* SDL_url.c in Sources */,
|
||||||
A75FCE5423E25AB700529352 /* SDL_events.c in Sources */,
|
A75FCE5423E25AB700529352 /* SDL_events.c in Sources */,
|
||||||
@@ -7644,11 +7717,13 @@
|
|||||||
A75FCE8423E25AB700529352 /* e_exp.c in Sources */,
|
A75FCE8423E25AB700529352 /* e_exp.c in Sources */,
|
||||||
A75FCE8523E25AB700529352 /* SDL_quit.c in Sources */,
|
A75FCE8523E25AB700529352 /* SDL_quit.c in Sources */,
|
||||||
A75FCE8623E25AB700529352 /* SDL_cocoawindow.m in Sources */,
|
A75FCE8623E25AB700529352 /* SDL_cocoawindow.m in Sources */,
|
||||||
|
A1BB8B6A27F6CF330057CFA8 /* SDL_list.c in Sources */,
|
||||||
A75FCE8723E25AB700529352 /* SDL_sysmutex.c in Sources */,
|
A75FCE8723E25AB700529352 /* SDL_sysmutex.c in Sources */,
|
||||||
A75FCE8823E25AB700529352 /* SDL_syshaptic.c in Sources */,
|
A75FCE8823E25AB700529352 /* SDL_syshaptic.c in Sources */,
|
||||||
F3F07D61269640160074468B /* SDL_hidapi_luna.c in Sources */,
|
F3F07D61269640160074468B /* SDL_hidapi_luna.c in Sources */,
|
||||||
A75FCE8923E25AB700529352 /* SDL_rwopsbundlesupport.m in Sources */,
|
A75FCE8923E25AB700529352 /* SDL_rwopsbundlesupport.m in Sources */,
|
||||||
A75FCE8A23E25AB700529352 /* SDL_video.c in Sources */,
|
A75FCE8A23E25AB700529352 /* SDL_video.c in Sources */,
|
||||||
|
F3249B25285A85FF00DB9B5C /* SDL_memset.c in Sources */,
|
||||||
A75FCE8B23E25AB700529352 /* SDL_offscreenopengl.c in Sources */,
|
A75FCE8B23E25AB700529352 /* SDL_offscreenopengl.c in Sources */,
|
||||||
A75FCE8C23E25AB700529352 /* SDL_uikitmetalview.m in Sources */,
|
A75FCE8C23E25AB700529352 /* SDL_uikitmetalview.m in Sources */,
|
||||||
A75FCE8D23E25AB700529352 /* SDL_steamcontroller.c in Sources */,
|
A75FCE8D23E25AB700529352 /* SDL_steamcontroller.c in Sources */,
|
||||||
@@ -7736,10 +7811,12 @@
|
|||||||
A75FCFD923E25AC700529352 /* SDL_haptic.c in Sources */,
|
A75FCFD923E25AC700529352 /* SDL_haptic.c in Sources */,
|
||||||
A75FCFDA23E25AC700529352 /* SDL_uikitvulkan.m in Sources */,
|
A75FCFDA23E25AC700529352 /* SDL_uikitvulkan.m in Sources */,
|
||||||
F3984CD825BCC92900374F43 /* SDL_hidapi_stadia.c in Sources */,
|
F3984CD825BCC92900374F43 /* SDL_hidapi_stadia.c in Sources */,
|
||||||
|
F382071B284F3609004DD584 /* controller_type.c in Sources */,
|
||||||
75E09162241EA924004729E1 /* SDL_virtualjoystick.c in Sources */,
|
75E09162241EA924004729E1 /* SDL_virtualjoystick.c in Sources */,
|
||||||
A75FCFDC23E25AC700529352 /* SDL_cocoametalview.m in Sources */,
|
A75FCFDC23E25AC700529352 /* SDL_cocoametalview.m in Sources */,
|
||||||
A75FCFDD23E25AC700529352 /* SDL_audiotypecvt.c in Sources */,
|
A75FCFDD23E25AC700529352 /* SDL_audiotypecvt.c in Sources */,
|
||||||
A75FCFDE23E25AC700529352 /* SDL_uikitevents.m in Sources */,
|
A75FCFDE23E25AC700529352 /* SDL_uikitevents.m in Sources */,
|
||||||
|
F3820725284F362F004DD584 /* SDL_guid.c in Sources */,
|
||||||
A75FCFDF23E25AC700529352 /* SDL_uikitmodes.m in Sources */,
|
A75FCFDF23E25AC700529352 /* SDL_uikitmodes.m in Sources */,
|
||||||
A75FCFE023E25AC700529352 /* SDL_blit_N.c in Sources */,
|
A75FCFE023E25AC700529352 /* SDL_blit_N.c in Sources */,
|
||||||
A75FCFE123E25AC700529352 /* SDL_dropevents.c in Sources */,
|
A75FCFE123E25AC700529352 /* SDL_dropevents.c in Sources */,
|
||||||
@@ -7783,6 +7860,7 @@
|
|||||||
A75FD00923E25AC700529352 /* SDL_syspower.m in Sources */,
|
A75FD00923E25AC700529352 /* SDL_syspower.m in Sources */,
|
||||||
A75FD00A23E25AC700529352 /* e_log10.c in Sources */,
|
A75FD00A23E25AC700529352 /* e_log10.c in Sources */,
|
||||||
A75FD00B23E25AC700529352 /* SDL_uikitopenglview.m in Sources */,
|
A75FD00B23E25AC700529352 /* SDL_uikitopenglview.m in Sources */,
|
||||||
|
F3249B2F285A85FF00DB9B5C /* SDL_memcpy.c in Sources */,
|
||||||
A75FD00C23E25AC700529352 /* SDL_mixer.c in Sources */,
|
A75FD00C23E25AC700529352 /* SDL_mixer.c in Sources */,
|
||||||
5616CA67252BB361005D5928 /* SDL_url.c in Sources */,
|
5616CA67252BB361005D5928 /* SDL_url.c in Sources */,
|
||||||
A75FD00D23E25AC700529352 /* SDL_events.c in Sources */,
|
A75FD00D23E25AC700529352 /* SDL_events.c in Sources */,
|
||||||
@@ -7831,11 +7909,13 @@
|
|||||||
A75FD03D23E25AC700529352 /* e_exp.c in Sources */,
|
A75FD03D23E25AC700529352 /* e_exp.c in Sources */,
|
||||||
A75FD03E23E25AC700529352 /* SDL_quit.c in Sources */,
|
A75FD03E23E25AC700529352 /* SDL_quit.c in Sources */,
|
||||||
A75FD03F23E25AC700529352 /* SDL_cocoawindow.m in Sources */,
|
A75FD03F23E25AC700529352 /* SDL_cocoawindow.m in Sources */,
|
||||||
|
A1BB8B6B27F6CF330057CFA8 /* SDL_list.c in Sources */,
|
||||||
A75FD04023E25AC700529352 /* SDL_sysmutex.c in Sources */,
|
A75FD04023E25AC700529352 /* SDL_sysmutex.c in Sources */,
|
||||||
A75FD04123E25AC700529352 /* SDL_syshaptic.c in Sources */,
|
A75FD04123E25AC700529352 /* SDL_syshaptic.c in Sources */,
|
||||||
F3F07D62269640160074468B /* SDL_hidapi_luna.c in Sources */,
|
F3F07D62269640160074468B /* SDL_hidapi_luna.c in Sources */,
|
||||||
A75FD04223E25AC700529352 /* SDL_rwopsbundlesupport.m in Sources */,
|
A75FD04223E25AC700529352 /* SDL_rwopsbundlesupport.m in Sources */,
|
||||||
A75FD04323E25AC700529352 /* SDL_video.c in Sources */,
|
A75FD04323E25AC700529352 /* SDL_video.c in Sources */,
|
||||||
|
F3249B26285A85FF00DB9B5C /* SDL_memset.c in Sources */,
|
||||||
A75FD04423E25AC700529352 /* SDL_offscreenopengl.c in Sources */,
|
A75FD04423E25AC700529352 /* SDL_offscreenopengl.c in Sources */,
|
||||||
A75FD04523E25AC700529352 /* SDL_uikitmetalview.m in Sources */,
|
A75FD04523E25AC700529352 /* SDL_uikitmetalview.m in Sources */,
|
||||||
A75FD04623E25AC700529352 /* SDL_steamcontroller.c in Sources */,
|
A75FD04623E25AC700529352 /* SDL_steamcontroller.c in Sources */,
|
||||||
@@ -7934,6 +8014,7 @@
|
|||||||
A769B1B823E259AE00872273 /* e_log.c in Sources */,
|
A769B1B823E259AE00872273 /* e_log.c in Sources */,
|
||||||
A769B1B923E259AE00872273 /* SDL_cocoamessagebox.m in Sources */,
|
A769B1B923E259AE00872273 /* SDL_cocoamessagebox.m in Sources */,
|
||||||
A769B1BA23E259AE00872273 /* SDL_blendfillrect.c in Sources */,
|
A769B1BA23E259AE00872273 /* SDL_blendfillrect.c in Sources */,
|
||||||
|
F3820722284F362F004DD584 /* SDL_guid.c in Sources */,
|
||||||
A769B1BB23E259AE00872273 /* SDL_uikitvideo.m in Sources */,
|
A769B1BB23E259AE00872273 /* SDL_uikitvideo.m in Sources */,
|
||||||
A769B1BC23E259AE00872273 /* SDL_cocoashape.m in Sources */,
|
A769B1BC23E259AE00872273 /* SDL_cocoashape.m in Sources */,
|
||||||
A769B1BD23E259AE00872273 /* SDL_cocoamouse.m in Sources */,
|
A769B1BD23E259AE00872273 /* SDL_cocoamouse.m in Sources */,
|
||||||
@@ -7960,6 +8041,7 @@
|
|||||||
A769B1D523E259AE00872273 /* SDL_render.c in Sources */,
|
A769B1D523E259AE00872273 /* SDL_render.c in Sources */,
|
||||||
A769B1D623E259AE00872273 /* SDL_stretch.c in Sources */,
|
A769B1D623E259AE00872273 /* SDL_stretch.c in Sources */,
|
||||||
A769B1D723E259AE00872273 /* s_floor.c in Sources */,
|
A769B1D723E259AE00872273 /* s_floor.c in Sources */,
|
||||||
|
F3249B23285A85FF00DB9B5C /* SDL_memset.c in Sources */,
|
||||||
A769B1D823E259AE00872273 /* SDL_blit_copy.c in Sources */,
|
A769B1D823E259AE00872273 /* SDL_blit_copy.c in Sources */,
|
||||||
A769B1D923E259AE00872273 /* e_fmod.c in Sources */,
|
A769B1D923E259AE00872273 /* e_fmod.c in Sources */,
|
||||||
A769B1DA23E259AE00872273 /* SDL_syspower.m in Sources */,
|
A769B1DA23E259AE00872273 /* SDL_syspower.m in Sources */,
|
||||||
@@ -8005,6 +8087,7 @@
|
|||||||
F3984CD525BCC92900374F43 /* SDL_hidapi_stadia.c in Sources */,
|
F3984CD525BCC92900374F43 /* SDL_hidapi_stadia.c in Sources */,
|
||||||
A769B20523E259AE00872273 /* SDL_strtokr.c in Sources */,
|
A769B20523E259AE00872273 /* SDL_strtokr.c in Sources */,
|
||||||
5605720B2473687A00B46B66 /* SDL_syslocale.m in Sources */,
|
5605720B2473687A00B46B66 /* SDL_syslocale.m in Sources */,
|
||||||
|
F3820718284F3609004DD584 /* controller_type.c in Sources */,
|
||||||
A769B20623E259AE00872273 /* SDL_clipboardevents.c in Sources */,
|
A769B20623E259AE00872273 /* SDL_clipboardevents.c in Sources */,
|
||||||
A769B20823E259AE00872273 /* k_cos.c in Sources */,
|
A769B20823E259AE00872273 /* k_cos.c in Sources */,
|
||||||
A769B20923E259AE00872273 /* SDL_hidapijoystick.c in Sources */,
|
A769B20923E259AE00872273 /* SDL_hidapijoystick.c in Sources */,
|
||||||
@@ -8017,9 +8100,11 @@
|
|||||||
A769B20F23E259AE00872273 /* SDL_syshaptic.c in Sources */,
|
A769B20F23E259AE00872273 /* SDL_syshaptic.c in Sources */,
|
||||||
A769B21023E259AE00872273 /* e_exp.c in Sources */,
|
A769B21023E259AE00872273 /* e_exp.c in Sources */,
|
||||||
F395C1A12569C68F00942BFF /* SDL_iokitjoystick.c in Sources */,
|
F395C1A12569C68F00942BFF /* SDL_iokitjoystick.c in Sources */,
|
||||||
|
A1BB8B6827F6CF330057CFA8 /* SDL_list.c in Sources */,
|
||||||
A769B21123E259AE00872273 /* SDL_quit.c in Sources */,
|
A769B21123E259AE00872273 /* SDL_quit.c in Sources */,
|
||||||
A769B21223E259AE00872273 /* SDL_cocoawindow.m in Sources */,
|
A769B21223E259AE00872273 /* SDL_cocoawindow.m in Sources */,
|
||||||
A769B21323E259AE00872273 /* SDL_sysmutex.c in Sources */,
|
A769B21323E259AE00872273 /* SDL_sysmutex.c in Sources */,
|
||||||
|
F3249B2C285A85FF00DB9B5C /* SDL_memcpy.c in Sources */,
|
||||||
A769B21423E259AE00872273 /* SDL_syshaptic.c in Sources */,
|
A769B21423E259AE00872273 /* SDL_syshaptic.c in Sources */,
|
||||||
A769B21523E259AE00872273 /* SDL_rwopsbundlesupport.m in Sources */,
|
A769B21523E259AE00872273 /* SDL_rwopsbundlesupport.m in Sources */,
|
||||||
A769B21623E259AE00872273 /* SDL_video.c in Sources */,
|
A769B21623E259AE00872273 /* SDL_video.c in Sources */,
|
||||||
@@ -8111,10 +8196,12 @@
|
|||||||
A7D8AF2523E2514100DCD162 /* SDL_cocoametalview.m in Sources */,
|
A7D8AF2523E2514100DCD162 /* SDL_cocoametalview.m in Sources */,
|
||||||
A7D8B86123E2514400DCD162 /* SDL_audiotypecvt.c in Sources */,
|
A7D8B86123E2514400DCD162 /* SDL_audiotypecvt.c in Sources */,
|
||||||
F3984CD125BCC92900374F43 /* SDL_hidapi_stadia.c in Sources */,
|
F3984CD125BCC92900374F43 /* SDL_hidapi_stadia.c in Sources */,
|
||||||
|
F3820714284F3609004DD584 /* controller_type.c in Sources */,
|
||||||
A7D8AC5823E2514100DCD162 /* SDL_uikitevents.m in Sources */,
|
A7D8AC5823E2514100DCD162 /* SDL_uikitevents.m in Sources */,
|
||||||
A7D8ACB823E2514100DCD162 /* SDL_uikitmodes.m in Sources */,
|
A7D8ACB823E2514100DCD162 /* SDL_uikitmodes.m in Sources */,
|
||||||
A7D8AD3323E2514100DCD162 /* SDL_blit_N.c in Sources */,
|
A7D8AD3323E2514100DCD162 /* SDL_blit_N.c in Sources */,
|
||||||
A7D8BB7C23E2514500DCD162 /* SDL_dropevents.c in Sources */,
|
A7D8BB7C23E2514500DCD162 /* SDL_dropevents.c in Sources */,
|
||||||
|
F382071E284F362F004DD584 /* SDL_guid.c in Sources */,
|
||||||
A7D8BACE23E2514500DCD162 /* e_atan2.c in Sources */,
|
A7D8BACE23E2514500DCD162 /* e_atan2.c in Sources */,
|
||||||
A7D8BA8C23E2514400DCD162 /* s_sin.c in Sources */,
|
A7D8BA8C23E2514400DCD162 /* s_sin.c in Sources */,
|
||||||
A7D8B5E823E2514300DCD162 /* SDL_power.c in Sources */,
|
A7D8B5E823E2514300DCD162 /* SDL_power.c in Sources */,
|
||||||
@@ -8158,6 +8245,7 @@
|
|||||||
A7D8AC7023E2514100DCD162 /* SDL_uikitopenglview.m in Sources */,
|
A7D8AC7023E2514100DCD162 /* SDL_uikitopenglview.m in Sources */,
|
||||||
A7D8B76523E2514300DCD162 /* SDL_mixer.c in Sources */,
|
A7D8B76523E2514300DCD162 /* SDL_mixer.c in Sources */,
|
||||||
A7D8BB5823E2514500DCD162 /* SDL_events.c in Sources */,
|
A7D8BB5823E2514500DCD162 /* SDL_events.c in Sources */,
|
||||||
|
F3249B28285A85FF00DB9B5C /* SDL_memcpy.c in Sources */,
|
||||||
A7D8ADE723E2514100DCD162 /* SDL_blit_0.c in Sources */,
|
A7D8ADE723E2514100DCD162 /* SDL_blit_0.c in Sources */,
|
||||||
A7D8BB0A23E2514500DCD162 /* k_tan.c in Sources */,
|
A7D8BB0A23E2514500DCD162 /* k_tan.c in Sources */,
|
||||||
A75FDBCF23EA380300529352 /* SDL_hidapi_rumble.c in Sources */,
|
A75FDBCF23EA380300529352 /* SDL_hidapi_rumble.c in Sources */,
|
||||||
@@ -8206,11 +8294,13 @@
|
|||||||
A7D8B43B23E2514300DCD162 /* SDL_sysmutex.c in Sources */,
|
A7D8B43B23E2514300DCD162 /* SDL_sysmutex.c in Sources */,
|
||||||
A7D8AAB123E2514100DCD162 /* SDL_syshaptic.c in Sources */,
|
A7D8AAB123E2514100DCD162 /* SDL_syshaptic.c in Sources */,
|
||||||
A7D8B5CA23E2514300DCD162 /* SDL_rwopsbundlesupport.m in Sources */,
|
A7D8B5CA23E2514300DCD162 /* SDL_rwopsbundlesupport.m in Sources */,
|
||||||
|
A1BB8B6427F6CF330057CFA8 /* SDL_list.c in Sources */,
|
||||||
A7D8AC1023E2514100DCD162 /* SDL_video.c in Sources */,
|
A7D8AC1023E2514100DCD162 /* SDL_video.c in Sources */,
|
||||||
560572062473687700B46B66 /* SDL_syslocale.m in Sources */,
|
560572062473687700B46B66 /* SDL_syslocale.m in Sources */,
|
||||||
F3F07D5B269640160074468B /* SDL_hidapi_luna.c in Sources */,
|
F3F07D5B269640160074468B /* SDL_hidapi_luna.c in Sources */,
|
||||||
A7D8AB5623E2514100DCD162 /* SDL_offscreenopengl.c in Sources */,
|
A7D8AB5623E2514100DCD162 /* SDL_offscreenopengl.c in Sources */,
|
||||||
A7D8ACC423E2514100DCD162 /* SDL_uikitmetalview.m in Sources */,
|
A7D8ACC423E2514100DCD162 /* SDL_uikitmetalview.m in Sources */,
|
||||||
|
F3249B1F285A85FF00DB9B5C /* SDL_memset.c in Sources */,
|
||||||
A7D8BA5C23E2514400DCD162 /* SDL_shaders_gles2.c in Sources */,
|
A7D8BA5C23E2514400DCD162 /* SDL_shaders_gles2.c in Sources */,
|
||||||
A7D8B14123E2514200DCD162 /* SDL_blit_1.c in Sources */,
|
A7D8B14123E2514200DCD162 /* SDL_blit_1.c in Sources */,
|
||||||
5605720F2473688000B46B66 /* SDL_locale.c in Sources */,
|
5605720F2473688000B46B66 /* SDL_locale.c in Sources */,
|
||||||
@@ -8298,10 +8388,12 @@
|
|||||||
A7D8AF2623E2514100DCD162 /* SDL_cocoametalview.m in Sources */,
|
A7D8AF2623E2514100DCD162 /* SDL_cocoametalview.m in Sources */,
|
||||||
A7D8B86223E2514400DCD162 /* SDL_audiotypecvt.c in Sources */,
|
A7D8B86223E2514400DCD162 /* SDL_audiotypecvt.c in Sources */,
|
||||||
F3984CD225BCC92900374F43 /* SDL_hidapi_stadia.c in Sources */,
|
F3984CD225BCC92900374F43 /* SDL_hidapi_stadia.c in Sources */,
|
||||||
|
F3820715284F3609004DD584 /* controller_type.c in Sources */,
|
||||||
A7D8AC5923E2514100DCD162 /* SDL_uikitevents.m in Sources */,
|
A7D8AC5923E2514100DCD162 /* SDL_uikitevents.m in Sources */,
|
||||||
A7D8ACB923E2514100DCD162 /* SDL_uikitmodes.m in Sources */,
|
A7D8ACB923E2514100DCD162 /* SDL_uikitmodes.m in Sources */,
|
||||||
A7D8AD3423E2514100DCD162 /* SDL_blit_N.c in Sources */,
|
A7D8AD3423E2514100DCD162 /* SDL_blit_N.c in Sources */,
|
||||||
A7D8BB7D23E2514500DCD162 /* SDL_dropevents.c in Sources */,
|
A7D8BB7D23E2514500DCD162 /* SDL_dropevents.c in Sources */,
|
||||||
|
F382071F284F362F004DD584 /* SDL_guid.c in Sources */,
|
||||||
A7D8BACF23E2514500DCD162 /* e_atan2.c in Sources */,
|
A7D8BACF23E2514500DCD162 /* e_atan2.c in Sources */,
|
||||||
A7D8BA8D23E2514400DCD162 /* s_sin.c in Sources */,
|
A7D8BA8D23E2514400DCD162 /* s_sin.c in Sources */,
|
||||||
A7D8B5E923E2514300DCD162 /* SDL_power.c in Sources */,
|
A7D8B5E923E2514300DCD162 /* SDL_power.c in Sources */,
|
||||||
@@ -8345,6 +8437,7 @@
|
|||||||
A7D8AC7123E2514100DCD162 /* SDL_uikitopenglview.m in Sources */,
|
A7D8AC7123E2514100DCD162 /* SDL_uikitopenglview.m in Sources */,
|
||||||
A7D8B76623E2514300DCD162 /* SDL_mixer.c in Sources */,
|
A7D8B76623E2514300DCD162 /* SDL_mixer.c in Sources */,
|
||||||
A7D8BB5923E2514500DCD162 /* SDL_events.c in Sources */,
|
A7D8BB5923E2514500DCD162 /* SDL_events.c in Sources */,
|
||||||
|
F3249B29285A85FF00DB9B5C /* SDL_memcpy.c in Sources */,
|
||||||
A7D8ADE823E2514100DCD162 /* SDL_blit_0.c in Sources */,
|
A7D8ADE823E2514100DCD162 /* SDL_blit_0.c in Sources */,
|
||||||
A7D8BB0B23E2514500DCD162 /* k_tan.c in Sources */,
|
A7D8BB0B23E2514500DCD162 /* k_tan.c in Sources */,
|
||||||
A75FDBD023EA380300529352 /* SDL_hidapi_rumble.c in Sources */,
|
A75FDBD023EA380300529352 /* SDL_hidapi_rumble.c in Sources */,
|
||||||
@@ -8393,11 +8486,13 @@
|
|||||||
A7D8B43C23E2514300DCD162 /* SDL_sysmutex.c in Sources */,
|
A7D8B43C23E2514300DCD162 /* SDL_sysmutex.c in Sources */,
|
||||||
A7D8AAB223E2514100DCD162 /* SDL_syshaptic.c in Sources */,
|
A7D8AAB223E2514100DCD162 /* SDL_syshaptic.c in Sources */,
|
||||||
A7D8B5CB23E2514300DCD162 /* SDL_rwopsbundlesupport.m in Sources */,
|
A7D8B5CB23E2514300DCD162 /* SDL_rwopsbundlesupport.m in Sources */,
|
||||||
|
A1BB8B6527F6CF330057CFA8 /* SDL_list.c in Sources */,
|
||||||
A7D8AC1123E2514100DCD162 /* SDL_video.c in Sources */,
|
A7D8AC1123E2514100DCD162 /* SDL_video.c in Sources */,
|
||||||
560572072473687800B46B66 /* SDL_syslocale.m in Sources */,
|
560572072473687800B46B66 /* SDL_syslocale.m in Sources */,
|
||||||
F3F07D5C269640160074468B /* SDL_hidapi_luna.c in Sources */,
|
F3F07D5C269640160074468B /* SDL_hidapi_luna.c in Sources */,
|
||||||
A7D8AB5723E2514100DCD162 /* SDL_offscreenopengl.c in Sources */,
|
A7D8AB5723E2514100DCD162 /* SDL_offscreenopengl.c in Sources */,
|
||||||
A7D8ACC523E2514100DCD162 /* SDL_uikitmetalview.m in Sources */,
|
A7D8ACC523E2514100DCD162 /* SDL_uikitmetalview.m in Sources */,
|
||||||
|
F3249B20285A85FF00DB9B5C /* SDL_memset.c in Sources */,
|
||||||
A7D8BA5D23E2514400DCD162 /* SDL_shaders_gles2.c in Sources */,
|
A7D8BA5D23E2514400DCD162 /* SDL_shaders_gles2.c in Sources */,
|
||||||
A7D8B14223E2514200DCD162 /* SDL_blit_1.c in Sources */,
|
A7D8B14223E2514200DCD162 /* SDL_blit_1.c in Sources */,
|
||||||
560572102473688000B46B66 /* SDL_locale.c in Sources */,
|
560572102473688000B46B66 /* SDL_locale.c in Sources */,
|
||||||
@@ -8496,6 +8591,7 @@
|
|||||||
A7D8BAF523E2514500DCD162 /* e_log.c in Sources */,
|
A7D8BAF523E2514500DCD162 /* e_log.c in Sources */,
|
||||||
A7D8AED423E2514100DCD162 /* SDL_cocoamessagebox.m in Sources */,
|
A7D8AED423E2514100DCD162 /* SDL_cocoamessagebox.m in Sources */,
|
||||||
A7D8BA2F23E2514400DCD162 /* SDL_blendfillrect.c in Sources */,
|
A7D8BA2F23E2514400DCD162 /* SDL_blendfillrect.c in Sources */,
|
||||||
|
F3820721284F362F004DD584 /* SDL_guid.c in Sources */,
|
||||||
A7D8ACDF23E2514100DCD162 /* SDL_uikitvideo.m in Sources */,
|
A7D8ACDF23E2514100DCD162 /* SDL_uikitvideo.m in Sources */,
|
||||||
A7D8AEE623E2514100DCD162 /* SDL_cocoashape.m in Sources */,
|
A7D8AEE623E2514100DCD162 /* SDL_cocoashape.m in Sources */,
|
||||||
A7D8AEBC23E2514100DCD162 /* SDL_cocoamouse.m in Sources */,
|
A7D8AEBC23E2514100DCD162 /* SDL_cocoamouse.m in Sources */,
|
||||||
@@ -8522,6 +8618,7 @@
|
|||||||
A7D8B97E23E2514400DCD162 /* SDL_render.c in Sources */,
|
A7D8B97E23E2514400DCD162 /* SDL_render.c in Sources */,
|
||||||
A7D8ABD723E2514100DCD162 /* SDL_stretch.c in Sources */,
|
A7D8ABD723E2514100DCD162 /* SDL_stretch.c in Sources */,
|
||||||
A7D8BB0123E2514500DCD162 /* s_floor.c in Sources */,
|
A7D8BB0123E2514500DCD162 /* s_floor.c in Sources */,
|
||||||
|
F3249B22285A85FF00DB9B5C /* SDL_memset.c in Sources */,
|
||||||
A7D8AC3D23E2514100DCD162 /* SDL_blit_copy.c in Sources */,
|
A7D8AC3D23E2514100DCD162 /* SDL_blit_copy.c in Sources */,
|
||||||
A7D8BAE323E2514500DCD162 /* e_fmod.c in Sources */,
|
A7D8BAE323E2514500DCD162 /* e_fmod.c in Sources */,
|
||||||
A7D8B5D323E2514300DCD162 /* SDL_syspower.m in Sources */,
|
A7D8B5D323E2514300DCD162 /* SDL_syspower.m in Sources */,
|
||||||
@@ -8567,6 +8664,7 @@
|
|||||||
F3984CD425BCC92900374F43 /* SDL_hidapi_stadia.c in Sources */,
|
F3984CD425BCC92900374F43 /* SDL_hidapi_stadia.c in Sources */,
|
||||||
A7D8B96623E2514400DCD162 /* SDL_strtokr.c in Sources */,
|
A7D8B96623E2514400DCD162 /* SDL_strtokr.c in Sources */,
|
||||||
560572092473687900B46B66 /* SDL_syslocale.m in Sources */,
|
560572092473687900B46B66 /* SDL_syslocale.m in Sources */,
|
||||||
|
F3820717284F3609004DD584 /* controller_type.c in Sources */,
|
||||||
A7D8BB7923E2514500DCD162 /* SDL_clipboardevents.c in Sources */,
|
A7D8BB7923E2514500DCD162 /* SDL_clipboardevents.c in Sources */,
|
||||||
A7D8BAB923E2514400DCD162 /* k_cos.c in Sources */,
|
A7D8BAB923E2514400DCD162 /* k_cos.c in Sources */,
|
||||||
A7D8B54923E2514300DCD162 /* SDL_hidapijoystick.c in Sources */,
|
A7D8B54923E2514300DCD162 /* SDL_hidapijoystick.c in Sources */,
|
||||||
@@ -8579,9 +8677,11 @@
|
|||||||
A7D8AADE23E2514100DCD162 /* SDL_syshaptic.c in Sources */,
|
A7D8AADE23E2514100DCD162 /* SDL_syshaptic.c in Sources */,
|
||||||
A7D8BAE923E2514500DCD162 /* e_exp.c in Sources */,
|
A7D8BAE923E2514500DCD162 /* e_exp.c in Sources */,
|
||||||
F395C1A02569C68F00942BFF /* SDL_iokitjoystick.c in Sources */,
|
F395C1A02569C68F00942BFF /* SDL_iokitjoystick.c in Sources */,
|
||||||
|
A1BB8B6727F6CF330057CFA8 /* SDL_list.c in Sources */,
|
||||||
A7D8BB8523E2514500DCD162 /* SDL_quit.c in Sources */,
|
A7D8BB8523E2514500DCD162 /* SDL_quit.c in Sources */,
|
||||||
A7D8AEAA23E2514100DCD162 /* SDL_cocoawindow.m in Sources */,
|
A7D8AEAA23E2514100DCD162 /* SDL_cocoawindow.m in Sources */,
|
||||||
A7D8B43E23E2514300DCD162 /* SDL_sysmutex.c in Sources */,
|
A7D8B43E23E2514300DCD162 /* SDL_sysmutex.c in Sources */,
|
||||||
|
F3249B2B285A85FF00DB9B5C /* SDL_memcpy.c in Sources */,
|
||||||
A7D8AAB423E2514100DCD162 /* SDL_syshaptic.c in Sources */,
|
A7D8AAB423E2514100DCD162 /* SDL_syshaptic.c in Sources */,
|
||||||
A7D8B5CD23E2514300DCD162 /* SDL_rwopsbundlesupport.m in Sources */,
|
A7D8B5CD23E2514300DCD162 /* SDL_rwopsbundlesupport.m in Sources */,
|
||||||
A7D8AC1323E2514100DCD162 /* SDL_video.c in Sources */,
|
A7D8AC1323E2514100DCD162 /* SDL_video.c in Sources */,
|
||||||
@@ -8634,6 +8734,7 @@
|
|||||||
A7D8BBE323E2574800DCD162 /* SDL_uikitvideo.m in Sources */,
|
A7D8BBE323E2574800DCD162 /* SDL_uikitvideo.m in Sources */,
|
||||||
5616CA4E252BB2A6005D5928 /* SDL_sysurl.m in Sources */,
|
5616CA4E252BB2A6005D5928 /* SDL_sysurl.m in Sources */,
|
||||||
A7D8A97523E2514000DCD162 /* SDL_coremotionsensor.m in Sources */,
|
A7D8A97523E2514000DCD162 /* SDL_coremotionsensor.m in Sources */,
|
||||||
|
F382071D284F362F004DD584 /* SDL_guid.c in Sources */,
|
||||||
A7D8BB8D23E2514500DCD162 /* SDL_touch.c in Sources */,
|
A7D8BB8D23E2514500DCD162 /* SDL_touch.c in Sources */,
|
||||||
A1626A3E2617006A003F1973 /* SDL_triangle.c in Sources */,
|
A1626A3E2617006A003F1973 /* SDL_triangle.c in Sources */,
|
||||||
A7D8B3F223E2514300DCD162 /* SDL_thread.c in Sources */,
|
A7D8B3F223E2514300DCD162 /* SDL_thread.c in Sources */,
|
||||||
@@ -8675,6 +8776,7 @@
|
|||||||
F3984CD025BCC92900374F43 /* SDL_hidapi_stadia.c in Sources */,
|
F3984CD025BCC92900374F43 /* SDL_hidapi_stadia.c in Sources */,
|
||||||
A7D8AAB623E2514100DCD162 /* SDL_haptic.c in Sources */,
|
A7D8AAB623E2514100DCD162 /* SDL_haptic.c in Sources */,
|
||||||
A7D8AF2423E2514100DCD162 /* SDL_cocoametalview.m in Sources */,
|
A7D8AF2423E2514100DCD162 /* SDL_cocoametalview.m in Sources */,
|
||||||
|
F3249B1E285A85FF00DB9B5C /* SDL_memset.c in Sources */,
|
||||||
A7D8B86023E2514400DCD162 /* SDL_audiotypecvt.c in Sources */,
|
A7D8B86023E2514400DCD162 /* SDL_audiotypecvt.c in Sources */,
|
||||||
A7D8BBC523E2561500DCD162 /* SDL_steamcontroller.c in Sources */,
|
A7D8BBC523E2561500DCD162 /* SDL_steamcontroller.c in Sources */,
|
||||||
A7D8AD3223E2514100DCD162 /* SDL_blit_N.c in Sources */,
|
A7D8AD3223E2514100DCD162 /* SDL_blit_N.c in Sources */,
|
||||||
@@ -8745,6 +8847,7 @@
|
|||||||
A7D8B4DC23E2514300DCD162 /* SDL_joystick.c in Sources */,
|
A7D8B4DC23E2514300DCD162 /* SDL_joystick.c in Sources */,
|
||||||
A7D8BA4923E2514400DCD162 /* SDL_render_gles2.c in Sources */,
|
A7D8BA4923E2514400DCD162 /* SDL_render_gles2.c in Sources */,
|
||||||
A7D8AC2D23E2514100DCD162 /* SDL_surface.c in Sources */,
|
A7D8AC2D23E2514100DCD162 /* SDL_surface.c in Sources */,
|
||||||
|
F3249B27285A85FF00DB9B5C /* SDL_memcpy.c in Sources */,
|
||||||
A7D8B54B23E2514300DCD162 /* SDL_hidapi_xboxone.c in Sources */,
|
A7D8B54B23E2514300DCD162 /* SDL_hidapi_xboxone.c in Sources */,
|
||||||
A7D8AD2323E2514100DCD162 /* SDL_blit_auto.c in Sources */,
|
A7D8AD2323E2514100DCD162 /* SDL_blit_auto.c in Sources */,
|
||||||
F3A4909E2554D38600E92A8B /* SDL_hidapi_ps5.c in Sources */,
|
F3A4909E2554D38600E92A8B /* SDL_hidapi_ps5.c in Sources */,
|
||||||
@@ -8755,11 +8858,13 @@
|
|||||||
A7D8B55123E2514300DCD162 /* SDL_hidapi_switch.c in Sources */,
|
A7D8B55123E2514300DCD162 /* SDL_hidapi_switch.c in Sources */,
|
||||||
A7D8B96223E2514400DCD162 /* SDL_strtokr.c in Sources */,
|
A7D8B96223E2514400DCD162 /* SDL_strtokr.c in Sources */,
|
||||||
A7D8BB7523E2514500DCD162 /* SDL_clipboardevents.c in Sources */,
|
A7D8BB7523E2514500DCD162 /* SDL_clipboardevents.c in Sources */,
|
||||||
|
A1BB8B6327F6CF330057CFA8 /* SDL_list.c in Sources */,
|
||||||
A7D8BAB523E2514400DCD162 /* k_cos.c in Sources */,
|
A7D8BAB523E2514400DCD162 /* k_cos.c in Sources */,
|
||||||
A7D8B54523E2514300DCD162 /* SDL_hidapijoystick.c in Sources */,
|
A7D8B54523E2514300DCD162 /* SDL_hidapijoystick.c in Sources */,
|
||||||
A7D8B97423E2514400DCD162 /* SDL_malloc.c in Sources */,
|
A7D8B97423E2514400DCD162 /* SDL_malloc.c in Sources */,
|
||||||
A7D8B8C623E2514400DCD162 /* SDL_audio.c in Sources */,
|
A7D8B8C623E2514400DCD162 /* SDL_audio.c in Sources */,
|
||||||
A7D8B61D23E2514300DCD162 /* SDL_sysfilesystem.c in Sources */,
|
A7D8B61D23E2514300DCD162 /* SDL_sysfilesystem.c in Sources */,
|
||||||
|
F3820713284F3609004DD584 /* controller_type.c in Sources */,
|
||||||
A7D8AB8B23E2514100DCD162 /* SDL_offscreenvideo.c in Sources */,
|
A7D8AB8B23E2514100DCD162 /* SDL_offscreenvideo.c in Sources */,
|
||||||
A7D8B42E23E2514300DCD162 /* SDL_syscond.c in Sources */,
|
A7D8B42E23E2514300DCD162 /* SDL_syscond.c in Sources */,
|
||||||
A7D8AADA23E2514100DCD162 /* SDL_syshaptic.c in Sources */,
|
A7D8AADA23E2514100DCD162 /* SDL_syshaptic.c in Sources */,
|
||||||
@@ -8819,6 +8924,7 @@
|
|||||||
A7D8A97823E2514000DCD162 /* SDL_coremotionsensor.m in Sources */,
|
A7D8A97823E2514000DCD162 /* SDL_coremotionsensor.m in Sources */,
|
||||||
A7D8BB9023E2514500DCD162 /* SDL_touch.c in Sources */,
|
A7D8BB9023E2514500DCD162 /* SDL_touch.c in Sources */,
|
||||||
A7D8B3F523E2514300DCD162 /* SDL_thread.c in Sources */,
|
A7D8B3F523E2514300DCD162 /* SDL_thread.c in Sources */,
|
||||||
|
F3820720284F362F004DD584 /* SDL_guid.c in Sources */,
|
||||||
A7D8B56023E2514300DCD162 /* SDL_hidapi_xbox360w.c in Sources */,
|
A7D8B56023E2514300DCD162 /* SDL_hidapi_xbox360w.c in Sources */,
|
||||||
A1626A412617006A003F1973 /* SDL_triangle.c in Sources */,
|
A1626A412617006A003F1973 /* SDL_triangle.c in Sources */,
|
||||||
5616CA59252BB35C005D5928 /* SDL_sysurl.m in Sources */,
|
5616CA59252BB35C005D5928 /* SDL_sysurl.m in Sources */,
|
||||||
@@ -8860,6 +8966,7 @@
|
|||||||
A7D8AF2723E2514100DCD162 /* SDL_cocoametalview.m in Sources */,
|
A7D8AF2723E2514100DCD162 /* SDL_cocoametalview.m in Sources */,
|
||||||
A7D8B86323E2514400DCD162 /* SDL_audiotypecvt.c in Sources */,
|
A7D8B86323E2514400DCD162 /* SDL_audiotypecvt.c in Sources */,
|
||||||
A7D8AD3523E2514100DCD162 /* SDL_blit_N.c in Sources */,
|
A7D8AD3523E2514100DCD162 /* SDL_blit_N.c in Sources */,
|
||||||
|
F3249B21285A85FF00DB9B5C /* SDL_memset.c in Sources */,
|
||||||
A7D8BB7E23E2514500DCD162 /* SDL_dropevents.c in Sources */,
|
A7D8BB7E23E2514500DCD162 /* SDL_dropevents.c in Sources */,
|
||||||
A7D8BBFA23E2574800DCD162 /* SDL_uikitopengles.m in Sources */,
|
A7D8BBFA23E2574800DCD162 /* SDL_uikitopengles.m in Sources */,
|
||||||
A7D8BAD023E2514500DCD162 /* e_atan2.c in Sources */,
|
A7D8BAD023E2514500DCD162 /* e_atan2.c in Sources */,
|
||||||
@@ -8930,6 +9037,7 @@
|
|||||||
A7D8BA4C23E2514400DCD162 /* SDL_render_gles2.c in Sources */,
|
A7D8BA4C23E2514400DCD162 /* SDL_render_gles2.c in Sources */,
|
||||||
A7D8AC3023E2514100DCD162 /* SDL_surface.c in Sources */,
|
A7D8AC3023E2514100DCD162 /* SDL_surface.c in Sources */,
|
||||||
A7D8B54E23E2514300DCD162 /* SDL_hidapi_xboxone.c in Sources */,
|
A7D8B54E23E2514300DCD162 /* SDL_hidapi_xboxone.c in Sources */,
|
||||||
|
F3249B2A285A85FF00DB9B5C /* SDL_memcpy.c in Sources */,
|
||||||
A7D8AD2623E2514100DCD162 /* SDL_blit_auto.c in Sources */,
|
A7D8AD2623E2514100DCD162 /* SDL_blit_auto.c in Sources */,
|
||||||
A7D8BB6C23E2514500DCD162 /* SDL_keyboard.c in Sources */,
|
A7D8BB6C23E2514500DCD162 /* SDL_keyboard.c in Sources */,
|
||||||
A7D8ACEA23E2514100DCD162 /* SDL_rect.c in Sources */,
|
A7D8ACEA23E2514100DCD162 /* SDL_rect.c in Sources */,
|
||||||
@@ -8940,11 +9048,13 @@
|
|||||||
A7D8B96523E2514400DCD162 /* SDL_strtokr.c in Sources */,
|
A7D8B96523E2514400DCD162 /* SDL_strtokr.c in Sources */,
|
||||||
A7D8BB7823E2514500DCD162 /* SDL_clipboardevents.c in Sources */,
|
A7D8BB7823E2514500DCD162 /* SDL_clipboardevents.c in Sources */,
|
||||||
A7D8BAB823E2514400DCD162 /* k_cos.c in Sources */,
|
A7D8BAB823E2514400DCD162 /* k_cos.c in Sources */,
|
||||||
|
A1BB8B6627F6CF330057CFA8 /* SDL_list.c in Sources */,
|
||||||
A7D8B54823E2514300DCD162 /* SDL_hidapijoystick.c in Sources */,
|
A7D8B54823E2514300DCD162 /* SDL_hidapijoystick.c in Sources */,
|
||||||
A7D8B97723E2514400DCD162 /* SDL_malloc.c in Sources */,
|
A7D8B97723E2514400DCD162 /* SDL_malloc.c in Sources */,
|
||||||
A7D8BBF023E2574800DCD162 /* SDL_uikitclipboard.m in Sources */,
|
A7D8BBF023E2574800DCD162 /* SDL_uikitclipboard.m in Sources */,
|
||||||
A7D8B8C923E2514400DCD162 /* SDL_audio.c in Sources */,
|
A7D8B8C923E2514400DCD162 /* SDL_audio.c in Sources */,
|
||||||
A7D8B62023E2514300DCD162 /* SDL_sysfilesystem.c in Sources */,
|
A7D8B62023E2514300DCD162 /* SDL_sysfilesystem.c in Sources */,
|
||||||
|
F3820716284F3609004DD584 /* controller_type.c in Sources */,
|
||||||
A7D8AB8E23E2514100DCD162 /* SDL_offscreenvideo.c in Sources */,
|
A7D8AB8E23E2514100DCD162 /* SDL_offscreenvideo.c in Sources */,
|
||||||
A7D8B43123E2514300DCD162 /* SDL_syscond.c in Sources */,
|
A7D8B43123E2514300DCD162 /* SDL_syscond.c in Sources */,
|
||||||
A7D8AADD23E2514100DCD162 /* SDL_syshaptic.c in Sources */,
|
A7D8AADD23E2514100DCD162 /* SDL_syshaptic.c in Sources */,
|
||||||
@@ -9004,6 +9114,7 @@
|
|||||||
A7D8BB9223E2514500DCD162 /* SDL_touch.c in Sources */,
|
A7D8BB9223E2514500DCD162 /* SDL_touch.c in Sources */,
|
||||||
A7D8AC5623E2514100DCD162 /* SDL_uikitmessagebox.m in Sources */,
|
A7D8AC5623E2514100DCD162 /* SDL_uikitmessagebox.m in Sources */,
|
||||||
A7D8B3F723E2514300DCD162 /* SDL_thread.c in Sources */,
|
A7D8B3F723E2514300DCD162 /* SDL_thread.c in Sources */,
|
||||||
|
F3820723284F362F004DD584 /* SDL_guid.c in Sources */,
|
||||||
A7D8B56223E2514300DCD162 /* SDL_hidapi_xbox360w.c in Sources */,
|
A7D8B56223E2514300DCD162 /* SDL_hidapi_xbox360w.c in Sources */,
|
||||||
A1626A442617006A003F1973 /* SDL_triangle.c in Sources */,
|
A1626A442617006A003F1973 /* SDL_triangle.c in Sources */,
|
||||||
5616CA62252BB35E005D5928 /* SDL_sysurl.m in Sources */,
|
5616CA62252BB35E005D5928 /* SDL_sysurl.m in Sources */,
|
||||||
@@ -9045,6 +9156,7 @@
|
|||||||
A7D8AF2923E2514100DCD162 /* SDL_cocoametalview.m in Sources */,
|
A7D8AF2923E2514100DCD162 /* SDL_cocoametalview.m in Sources */,
|
||||||
A7D8B86523E2514400DCD162 /* SDL_audiotypecvt.c in Sources */,
|
A7D8B86523E2514400DCD162 /* SDL_audiotypecvt.c in Sources */,
|
||||||
A7D8AC5C23E2514100DCD162 /* SDL_uikitevents.m in Sources */,
|
A7D8AC5C23E2514100DCD162 /* SDL_uikitevents.m in Sources */,
|
||||||
|
F3249B24285A85FF00DB9B5C /* SDL_memset.c in Sources */,
|
||||||
A7D8ACBC23E2514100DCD162 /* SDL_uikitmodes.m in Sources */,
|
A7D8ACBC23E2514100DCD162 /* SDL_uikitmodes.m in Sources */,
|
||||||
A7D8AD3723E2514100DCD162 /* SDL_blit_N.c in Sources */,
|
A7D8AD3723E2514100DCD162 /* SDL_blit_N.c in Sources */,
|
||||||
A7D8BB8023E2514500DCD162 /* SDL_dropevents.c in Sources */,
|
A7D8BB8023E2514500DCD162 /* SDL_dropevents.c in Sources */,
|
||||||
@@ -9115,6 +9227,7 @@
|
|||||||
A7D8B4E123E2514300DCD162 /* SDL_joystick.c in Sources */,
|
A7D8B4E123E2514300DCD162 /* SDL_joystick.c in Sources */,
|
||||||
A7D8BA4E23E2514400DCD162 /* SDL_render_gles2.c in Sources */,
|
A7D8BA4E23E2514400DCD162 /* SDL_render_gles2.c in Sources */,
|
||||||
A7D8AC3223E2514100DCD162 /* SDL_surface.c in Sources */,
|
A7D8AC3223E2514100DCD162 /* SDL_surface.c in Sources */,
|
||||||
|
F3249B2D285A85FF00DB9B5C /* SDL_memcpy.c in Sources */,
|
||||||
A7D8B55023E2514300DCD162 /* SDL_hidapi_xboxone.c in Sources */,
|
A7D8B55023E2514300DCD162 /* SDL_hidapi_xboxone.c in Sources */,
|
||||||
A7D8AD2823E2514100DCD162 /* SDL_blit_auto.c in Sources */,
|
A7D8AD2823E2514100DCD162 /* SDL_blit_auto.c in Sources */,
|
||||||
A7D8BB6E23E2514500DCD162 /* SDL_keyboard.c in Sources */,
|
A7D8BB6E23E2514500DCD162 /* SDL_keyboard.c in Sources */,
|
||||||
@@ -9125,11 +9238,13 @@
|
|||||||
A7D8B96723E2514400DCD162 /* SDL_strtokr.c in Sources */,
|
A7D8B96723E2514400DCD162 /* SDL_strtokr.c in Sources */,
|
||||||
A7D8BB7A23E2514500DCD162 /* SDL_clipboardevents.c in Sources */,
|
A7D8BB7A23E2514500DCD162 /* SDL_clipboardevents.c in Sources */,
|
||||||
A7D8BABA23E2514400DCD162 /* k_cos.c in Sources */,
|
A7D8BABA23E2514400DCD162 /* k_cos.c in Sources */,
|
||||||
|
A1BB8B6927F6CF330057CFA8 /* SDL_list.c in Sources */,
|
||||||
A7D8B54A23E2514300DCD162 /* SDL_hidapijoystick.c in Sources */,
|
A7D8B54A23E2514300DCD162 /* SDL_hidapijoystick.c in Sources */,
|
||||||
A7D8B97923E2514400DCD162 /* SDL_malloc.c in Sources */,
|
A7D8B97923E2514400DCD162 /* SDL_malloc.c in Sources */,
|
||||||
A7D8B8CB23E2514400DCD162 /* SDL_audio.c in Sources */,
|
A7D8B8CB23E2514400DCD162 /* SDL_audio.c in Sources */,
|
||||||
A7D8B62223E2514300DCD162 /* SDL_sysfilesystem.c in Sources */,
|
A7D8B62223E2514300DCD162 /* SDL_sysfilesystem.c in Sources */,
|
||||||
A7D8AB9023E2514100DCD162 /* SDL_offscreenvideo.c in Sources */,
|
A7D8AB9023E2514100DCD162 /* SDL_offscreenvideo.c in Sources */,
|
||||||
|
F3820719284F3609004DD584 /* controller_type.c in Sources */,
|
||||||
A7D8B43323E2514300DCD162 /* SDL_syscond.c in Sources */,
|
A7D8B43323E2514300DCD162 /* SDL_syscond.c in Sources */,
|
||||||
A7D8AADF23E2514100DCD162 /* SDL_syshaptic.c in Sources */,
|
A7D8AADF23E2514100DCD162 /* SDL_syshaptic.c in Sources */,
|
||||||
A7D8BAEA23E2514500DCD162 /* e_exp.c in Sources */,
|
A7D8BAEA23E2514500DCD162 /* e_exp.c in Sources */,
|
||||||
@@ -9165,22 +9280,6 @@
|
|||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
};
|
};
|
||||||
F3CB93F026B5E0A400B9C980 /* Sources */ = {
|
|
||||||
isa = PBXSourcesBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
F3CB963A26B5E10A00B9C980 /* SDL_uikit_main.c in Sources */,
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
};
|
|
||||||
F3CB956E26B5E0A600B9C980 /* Sources */ = {
|
|
||||||
isa = PBXSourcesBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
F3CB963B26B5E14400B9C980 /* SDL_uikit_main.c in Sources */,
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
};
|
|
||||||
/* End PBXSourcesBuildPhase section */
|
/* End PBXSourcesBuildPhase section */
|
||||||
|
|
||||||
/* Begin PBXTargetDependency section */
|
/* Begin PBXTargetDependency section */
|
||||||
@@ -9197,6 +9296,7 @@
|
|||||||
buildSettings = {
|
buildSettings = {
|
||||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||||
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
|
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
|
||||||
|
CLANG_ENABLE_OBJC_ARC = YES;
|
||||||
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
||||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
CLANG_WARN_BOOL_CONVERSION = YES;
|
||||||
CLANG_WARN_COMMA = YES;
|
CLANG_WARN_COMMA = YES;
|
||||||
@@ -9217,7 +9317,7 @@
|
|||||||
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
|
||||||
DEPLOYMENT_POSTPROCESSING = YES;
|
DEPLOYMENT_POSTPROCESSING = YES;
|
||||||
DYLIB_COMPATIBILITY_VERSION = 1.0.0;
|
DYLIB_COMPATIBILITY_VERSION = 1.0.0;
|
||||||
DYLIB_CURRENT_VERSION = 19.0.0;
|
DYLIB_CURRENT_VERSION = 2302.0.0;
|
||||||
DYLIB_INSTALL_NAME_BASE = "@rpath";
|
DYLIB_INSTALL_NAME_BASE = "@rpath";
|
||||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
||||||
GCC_ALTIVEC_EXTENSIONS = YES;
|
GCC_ALTIVEC_EXTENSIONS = YES;
|
||||||
@@ -9246,7 +9346,7 @@
|
|||||||
"@executable_path/Frameworks",
|
"@executable_path/Frameworks",
|
||||||
"@loader_path/Frameworks",
|
"@loader_path/Frameworks",
|
||||||
);
|
);
|
||||||
MACOSX_DEPLOYMENT_TARGET = 10.6;
|
MACOSX_DEPLOYMENT_TARGET = 10.7;
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = org.libsdl.SDL2;
|
PRODUCT_BUNDLE_IDENTIFIER = org.libsdl.SDL2;
|
||||||
PRODUCT_NAME = SDL2;
|
PRODUCT_NAME = SDL2;
|
||||||
STRIP_STYLE = "non-global";
|
STRIP_STYLE = "non-global";
|
||||||
@@ -9282,6 +9382,7 @@
|
|||||||
buildSettings = {
|
buildSettings = {
|
||||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||||
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
|
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
|
||||||
|
CLANG_ENABLE_OBJC_ARC = YES;
|
||||||
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
||||||
CLANG_WARN_BOOL_CONVERSION = YES;
|
CLANG_WARN_BOOL_CONVERSION = YES;
|
||||||
CLANG_WARN_COMMA = YES;
|
CLANG_WARN_COMMA = YES;
|
||||||
@@ -9301,7 +9402,7 @@
|
|||||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||||
DEBUG_INFORMATION_FORMAT = dwarf;
|
DEBUG_INFORMATION_FORMAT = dwarf;
|
||||||
DYLIB_COMPATIBILITY_VERSION = 1.0.0;
|
DYLIB_COMPATIBILITY_VERSION = 1.0.0;
|
||||||
DYLIB_CURRENT_VERSION = 19.0.0;
|
DYLIB_CURRENT_VERSION = 2302.0.0;
|
||||||
DYLIB_INSTALL_NAME_BASE = "@rpath";
|
DYLIB_INSTALL_NAME_BASE = "@rpath";
|
||||||
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
||||||
ENABLE_TESTABILITY = YES;
|
ENABLE_TESTABILITY = YES;
|
||||||
@@ -9330,7 +9431,7 @@
|
|||||||
"@executable_path/Frameworks",
|
"@executable_path/Frameworks",
|
||||||
"@loader_path/Frameworks",
|
"@loader_path/Frameworks",
|
||||||
);
|
);
|
||||||
MACOSX_DEPLOYMENT_TARGET = 10.6;
|
MACOSX_DEPLOYMENT_TARGET = 10.7;
|
||||||
ONLY_ACTIVE_ARCH = YES;
|
ONLY_ACTIVE_ARCH = YES;
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = org.libsdl.SDL2;
|
PRODUCT_BUNDLE_IDENTIFIER = org.libsdl.SDL2;
|
||||||
PRODUCT_NAME = SDL2;
|
PRODUCT_NAME = SDL2;
|
||||||
@@ -9493,6 +9594,7 @@
|
|||||||
buildSettings = {
|
buildSettings = {
|
||||||
CLANG_ENABLE_OBJC_ARC = YES;
|
CLANG_ENABLE_OBJC_ARC = YES;
|
||||||
CLANG_LINK_OBJC_RUNTIME = NO;
|
CLANG_LINK_OBJC_RUNTIME = NO;
|
||||||
|
GCC_PREPROCESSOR_DEFINITIONS = GLES_SILENCE_DEPRECATION;
|
||||||
GCC_SYMBOLS_PRIVATE_EXTERN = YES;
|
GCC_SYMBOLS_PRIVATE_EXTERN = YES;
|
||||||
SKIP_INSTALL = YES;
|
SKIP_INSTALL = YES;
|
||||||
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos";
|
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos";
|
||||||
@@ -9504,6 +9606,7 @@
|
|||||||
buildSettings = {
|
buildSettings = {
|
||||||
CLANG_ENABLE_OBJC_ARC = YES;
|
CLANG_ENABLE_OBJC_ARC = YES;
|
||||||
CLANG_LINK_OBJC_RUNTIME = NO;
|
CLANG_LINK_OBJC_RUNTIME = NO;
|
||||||
|
GCC_PREPROCESSOR_DEFINITIONS = GLES_SILENCE_DEPRECATION;
|
||||||
GCC_SYMBOLS_PRIVATE_EXTERN = YES;
|
GCC_SYMBOLS_PRIVATE_EXTERN = YES;
|
||||||
SKIP_INSTALL = YES;
|
SKIP_INSTALL = YES;
|
||||||
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos";
|
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos";
|
||||||
@@ -9528,54 +9631,6 @@
|
|||||||
};
|
};
|
||||||
name = Release;
|
name = Release;
|
||||||
};
|
};
|
||||||
F3CB94B826B5E0A400B9C980 /* Debug */ = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
CLANG_ENABLE_OBJC_ARC = YES;
|
|
||||||
CLANG_LINK_OBJC_RUNTIME = NO;
|
|
||||||
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
|
||||||
PRODUCT_NAME = SDLmain;
|
|
||||||
SKIP_INSTALL = YES;
|
|
||||||
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos";
|
|
||||||
};
|
|
||||||
name = Debug;
|
|
||||||
};
|
|
||||||
F3CB94B926B5E0A400B9C980 /* Release */ = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
CLANG_ENABLE_OBJC_ARC = YES;
|
|
||||||
CLANG_LINK_OBJC_RUNTIME = NO;
|
|
||||||
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
|
||||||
PRODUCT_NAME = SDLmain;
|
|
||||||
SKIP_INSTALL = YES;
|
|
||||||
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos";
|
|
||||||
};
|
|
||||||
name = Release;
|
|
||||||
};
|
|
||||||
F3CB963626B5E0A600B9C980 /* Debug */ = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
CLANG_ENABLE_OBJC_ARC = YES;
|
|
||||||
CLANG_LINK_OBJC_RUNTIME = NO;
|
|
||||||
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
|
||||||
PRODUCT_NAME = SDLmain;
|
|
||||||
SKIP_INSTALL = YES;
|
|
||||||
SUPPORTED_PLATFORMS = "appletvsimulator appletvos";
|
|
||||||
};
|
|
||||||
name = Debug;
|
|
||||||
};
|
|
||||||
F3CB963726B5E0A600B9C980 /* Release */ = {
|
|
||||||
isa = XCBuildConfiguration;
|
|
||||||
buildSettings = {
|
|
||||||
CLANG_ENABLE_OBJC_ARC = YES;
|
|
||||||
CLANG_LINK_OBJC_RUNTIME = NO;
|
|
||||||
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
|
||||||
PRODUCT_NAME = SDLmain;
|
|
||||||
SKIP_INSTALL = YES;
|
|
||||||
SUPPORTED_PLATFORMS = "appletvsimulator appletvos";
|
|
||||||
};
|
|
||||||
name = Release;
|
|
||||||
};
|
|
||||||
/* End XCBuildConfiguration section */
|
/* End XCBuildConfiguration section */
|
||||||
|
|
||||||
/* Begin XCConfigurationList section */
|
/* Begin XCConfigurationList section */
|
||||||
@@ -9678,24 +9733,6 @@
|
|||||||
defaultConfigurationIsVisible = 0;
|
defaultConfigurationIsVisible = 0;
|
||||||
defaultConfigurationName = Debug;
|
defaultConfigurationName = Debug;
|
||||||
};
|
};
|
||||||
F3CB94B726B5E0A400B9C980 /* Build configuration list for PBXNativeTarget "SDLmain-iOS" */ = {
|
|
||||||
isa = XCConfigurationList;
|
|
||||||
buildConfigurations = (
|
|
||||||
F3CB94B826B5E0A400B9C980 /* Debug */,
|
|
||||||
F3CB94B926B5E0A400B9C980 /* Release */,
|
|
||||||
);
|
|
||||||
defaultConfigurationIsVisible = 0;
|
|
||||||
defaultConfigurationName = Debug;
|
|
||||||
};
|
|
||||||
F3CB963526B5E0A600B9C980 /* Build configuration list for PBXNativeTarget "SDLmain-tvOS" */ = {
|
|
||||||
isa = XCConfigurationList;
|
|
||||||
buildConfigurations = (
|
|
||||||
F3CB963626B5E0A600B9C980 /* Debug */,
|
|
||||||
F3CB963726B5E0A600B9C980 /* Release */,
|
|
||||||
);
|
|
||||||
defaultConfigurationIsVisible = 0;
|
|
||||||
defaultConfigurationName = Debug;
|
|
||||||
};
|
|
||||||
/* End XCConfigurationList section */
|
/* End XCConfigurationList section */
|
||||||
};
|
};
|
||||||
rootObject = 0867D690FE84028FC02AAC07 /* Project object */;
|
rootObject = 0867D690FE84028FC02AAC07 /* Project object */;
|
||||||
|
|||||||
@@ -0,0 +1,48 @@
|
|||||||
|
# based on the files generated by CMake's write_basic_package_version_file
|
||||||
|
|
||||||
|
# SDL2 CMake version configuration file:
|
||||||
|
# This file is meant to be placed in Resources/CMake of a SDL2 framework
|
||||||
|
|
||||||
|
if(NOT EXISTS "${CMAKE_CURRENT_LIST_DIR}/../../Headers/SDL_version.h")
|
||||||
|
message(AUTHOR_WARNING "Could not find SDL_version.h. This script is meant to be placed in the Resources/CMake directory of SDL2.framework")
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
file(READ "${CMAKE_CURRENT_LIST_DIR}/../../Headers/SDL_version.h" _sdl_version_h)
|
||||||
|
string(REGEX MATCH "#define[ \t]+SDL_MAJOR_VERSION[ \t]+([0-9]+)" _sdl_major_re "${_sdl_version_h}")
|
||||||
|
set(_sdl_major "${CMAKE_MATCH_1}")
|
||||||
|
string(REGEX MATCH "#define[ \t]+SDL_MINOR_VERSION[ \t]+([0-9]+)" _sdl_minor_re "${_sdl_version_h}")
|
||||||
|
set(_sdl_minor "${CMAKE_MATCH_1}")
|
||||||
|
string(REGEX MATCH "#define[ \t]+SDL_PATCHLEVEL[ \t]+([0-9]+)" _sdl_patch_re "${_sdl_version_h}")
|
||||||
|
set(_sdl_patch "${CMAKE_MATCH_1}")
|
||||||
|
if(_sdl_major_re AND _sdl_minor_re AND _sdl_patch_re)
|
||||||
|
set(PACKAGE_VERSION "${_sdl_major}.${_sdl_minor}.${_sdl_patch}")
|
||||||
|
else()
|
||||||
|
message(AUTHOR_WARNING "Could not extract version from SDL_version.h.")
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(PACKAGE_FIND_VERSION_RANGE)
|
||||||
|
# Package version must be in the requested version range
|
||||||
|
if ((PACKAGE_FIND_VERSION_RANGE_MIN STREQUAL "INCLUDE" AND PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION_MIN)
|
||||||
|
OR ((PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "INCLUDE" AND PACKAGE_VERSION VERSION_GREATER PACKAGE_FIND_VERSION_MAX)
|
||||||
|
OR (PACKAGE_FIND_VERSION_RANGE_MAX STREQUAL "EXCLUDE" AND PACKAGE_VERSION VERSION_GREATER_EQUAL PACKAGE_FIND_VERSION_MAX)))
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||||
|
else()
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
||||||
|
endif()
|
||||||
|
else()
|
||||||
|
if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE FALSE)
|
||||||
|
else()
|
||||||
|
set(PACKAGE_VERSION_COMPATIBLE TRUE)
|
||||||
|
if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
|
||||||
|
set(PACKAGE_VERSION_EXACT TRUE)
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# if the using project doesn't have CMAKE_SIZEOF_VOID_P set, fail.
|
||||||
|
if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "")
|
||||||
|
set(PACKAGE_VERSION_UNSUITABLE TRUE)
|
||||||
|
endif()
|
||||||
@@ -0,0 +1,64 @@
|
|||||||
|
# SDL2 CMake configuration file:
|
||||||
|
# This file is meant to be placed in Resources/CMake of a SDL2 framework
|
||||||
|
|
||||||
|
# INTERFACE_LINK_OPTIONS needs CMake 3.12
|
||||||
|
cmake_minimum_required(VERSION 3.12)
|
||||||
|
|
||||||
|
include(FeatureSummary)
|
||||||
|
set_package_properties(SDL2 PROPERTIES
|
||||||
|
URL "https://www.libsdl.org/"
|
||||||
|
DESCRIPTION "low level access to audio, keyboard, mouse, joystick, and graphics hardware"
|
||||||
|
)
|
||||||
|
|
||||||
|
# Copied from `configure_package_config_file`
|
||||||
|
macro(set_and_check _var _file)
|
||||||
|
set(${_var} "${_file}")
|
||||||
|
if(NOT EXISTS "${_file}")
|
||||||
|
message(FATAL_ERROR "File or directory ${_file} referenced by variable ${_var} does not exist !")
|
||||||
|
endif()
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
# Copied from `configure_package_config_file`
|
||||||
|
macro(check_required_components _NAME)
|
||||||
|
foreach(comp ${${_NAME}_FIND_COMPONENTS})
|
||||||
|
if(NOT ${_NAME}_${comp}_FOUND)
|
||||||
|
if(${_NAME}_FIND_REQUIRED_${comp})
|
||||||
|
set(${_NAME}_FOUND FALSE)
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
endforeach()
|
||||||
|
endmacro()
|
||||||
|
|
||||||
|
set(SDL2_FOUND TRUE)
|
||||||
|
|
||||||
|
string(REGEX REPLACE "SDL2\\.framework.*" "SDL2.framework" SDL2_FRAMEWORK_PATH "${CMAKE_CURRENT_LIST_DIR}")
|
||||||
|
string(REGEX REPLACE "SDL2\\.framework.*" "" SDL2_FRAMEWORK_PARENT_PATH "${CMAKE_CURRENT_LIST_DIR}")
|
||||||
|
|
||||||
|
# For compatibility with autotools sdl2-config.cmake, provide SDL2_* variables.
|
||||||
|
|
||||||
|
set_and_check(SDL2_PREFIX "${SDL2_FRAMEWORK_PATH}")
|
||||||
|
set_and_check(SDL2_EXEC_PREFIX "${SDL2_FRAMEWORK_PATH}")
|
||||||
|
set_and_check(SDL2_INCLUDE_DIR "${SDL2_FRAMEWORK_PATH}/Headers")
|
||||||
|
set(SDL2_INCLUDE_DIRS "${SDL2_INCLUDE_DIR}")
|
||||||
|
set_and_check(SDL2_BINDIR "${SDL2_FRAMEWORK_PATH}")
|
||||||
|
set_and_check(SDL2_LIBDIR "${SDL2_FRAMEWORK_PATH}")
|
||||||
|
|
||||||
|
set(SDL2_LIBRARIES "SDL2::SDL2")
|
||||||
|
|
||||||
|
# All targets are created, even when some might not be requested though COMPONENTS.
|
||||||
|
# This is done for compatibility with CMake generated SDL2-target.cmake files.
|
||||||
|
|
||||||
|
if(NOT TARGET SDL2::SDL2)
|
||||||
|
add_library(SDL2::SDL2 INTERFACE IMPORTED)
|
||||||
|
set_target_properties(SDL2::SDL2
|
||||||
|
PROPERTIES
|
||||||
|
INTERFACE_COMPILE_OPTIONS "SHELL:-F \"${SDL2_FRAMEWORK_PARENT_PATH}\""
|
||||||
|
INTERFACE_INCLUDE_DIRECTORIES "${SDL2_INCLUDE_DIR}"
|
||||||
|
INTERFACE_LINK_OPTIONS "SHELL:-F \"${SDL2_FRAMEWORK_PARENT_PATH}\";SHELL:-framework SDL2"
|
||||||
|
COMPATIBLE_INTERFACE_BOOL "SDL2_SHARED"
|
||||||
|
INTERFACE_SDL2_SHARED "ON"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
set(SDL2_SDL2_FOUND)
|
||||||
|
|
||||||
|
check_required_components(SDL2)
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
Simple DirectMedia Layer
|
Simple DirectMedia Layer
|
||||||
Copyright (C) 1997-2021 Sam Lantinga <slouken@libsdl.org>
|
Copyright (C) 1997-2022 Sam Lantinga <slouken@libsdl.org>
|
||||||
|
|
||||||
This software is provided 'as-is', without any express or implied
|
This software is provided 'as-is', without any express or implied
|
||||||
warranty. In no event will the authors be held liable for any damages
|
warranty. In no event will the authors be held liable for any damages
|
||||||
|
|||||||
@@ -18,7 +18,19 @@ To Install:
|
|||||||
Copy the SDL2.framework to /Library/Frameworks
|
Copy the SDL2.framework to /Library/Frameworks
|
||||||
|
|
||||||
You may alternatively install it in <Your home directory>/Library/Frameworks
|
You may alternatively install it in <Your home directory>/Library/Frameworks
|
||||||
if your access privileges are not high enough.
|
if your access privileges are not high enough.
|
||||||
|
|
||||||
|
|
||||||
|
Use in CMake projects:
|
||||||
|
SDL2.framework can be used in CMake projects using the following pattern:
|
||||||
|
```
|
||||||
|
find_package(SDL2 REQUIRED COMPONENTS SDL2)
|
||||||
|
add_executable(my_game ${MY_SOURCES})
|
||||||
|
target_link_libraries(my_game PRIVATE SDL2::SDL2)
|
||||||
|
```
|
||||||
|
If SDL2.framework is installed in a non-standard location,
|
||||||
|
please refer to the following link for ways to configure CMake:
|
||||||
|
https://cmake.org/cmake/help/latest/command/find_package.html#config-mode-search-procedure
|
||||||
|
|
||||||
|
|
||||||
Additional References:
|
Additional References:
|
||||||
|
|||||||
@@ -4041,6 +4041,7 @@
|
|||||||
isa = XCBuildConfiguration;
|
isa = XCBuildConfiguration;
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||||
|
CLANG_ENABLE_OBJC_ARC = YES;
|
||||||
FRAMEWORK_SEARCH_PATHS = (
|
FRAMEWORK_SEARCH_PATHS = (
|
||||||
"$(SRCROOT)/../SDL/build/$(CONFIGURATION)",
|
"$(SRCROOT)/../SDL/build/$(CONFIGURATION)",
|
||||||
"$(HOME)/Library/Frameworks",
|
"$(HOME)/Library/Frameworks",
|
||||||
@@ -4048,7 +4049,7 @@
|
|||||||
);
|
);
|
||||||
GCC_OPTIMIZATION_LEVEL = 0;
|
GCC_OPTIMIZATION_LEVEL = 0;
|
||||||
HEADER_SEARCH_PATHS = ../../include;
|
HEADER_SEARCH_PATHS = ../../include;
|
||||||
MACOSX_DEPLOYMENT_TARGET = 10.6;
|
MACOSX_DEPLOYMENT_TARGET = 10.7;
|
||||||
};
|
};
|
||||||
name = Debug;
|
name = Debug;
|
||||||
};
|
};
|
||||||
@@ -4168,6 +4169,7 @@
|
|||||||
isa = XCBuildConfiguration;
|
isa = XCBuildConfiguration;
|
||||||
buildSettings = {
|
buildSettings = {
|
||||||
ALWAYS_SEARCH_USER_PATHS = NO;
|
ALWAYS_SEARCH_USER_PATHS = NO;
|
||||||
|
CLANG_ENABLE_OBJC_ARC = YES;
|
||||||
FRAMEWORK_SEARCH_PATHS = (
|
FRAMEWORK_SEARCH_PATHS = (
|
||||||
"$(SRCROOT)/../SDL/build/$(CONFIGURATION)",
|
"$(SRCROOT)/../SDL/build/$(CONFIGURATION)",
|
||||||
"$(HOME)/Library/Frameworks",
|
"$(HOME)/Library/Frameworks",
|
||||||
@@ -4175,7 +4177,7 @@
|
|||||||
);
|
);
|
||||||
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
|
GCC_GENERATE_DEBUGGING_SYMBOLS = NO;
|
||||||
HEADER_SEARCH_PATHS = ../../include;
|
HEADER_SEARCH_PATHS = ../../include;
|
||||||
MACOSX_DEPLOYMENT_TARGET = 10.6;
|
MACOSX_DEPLOYMENT_TARGET = 10.7;
|
||||||
};
|
};
|
||||||
name = Release;
|
name = Release;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -30,6 +30,6 @@
|
|||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>1.0</string>
|
<string>1.0</string>
|
||||||
<key>LSMinimumSystemVersion</key>
|
<key>LSMinimumSystemVersion</key>
|
||||||
<string>10.6</string>
|
<string>10.7</string>
|
||||||
</dict>
|
</dict>
|
||||||
</plist>
|
</plist>
|
||||||
Vendored
+1506
-1113
File diff suppressed because it is too large.
Load diff
Vendored
+90
-37
@@ -1,14 +1,14 @@
|
|||||||
# Helper functions for option handling. -*- Autoconf -*-
|
# Helper functions for option handling. -*- Autoconf -*-
|
||||||
#
|
#
|
||||||
# Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation,
|
# Copyright (C) 2004-2005, 2007-2009, 2011-2015 Free Software
|
||||||
# Inc.
|
# Foundation, Inc.
|
||||||
# Written by Gary V. Vaughan, 2004
|
# Written by Gary V. Vaughan, 2004
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation gives
|
# This file is free software; the Free Software Foundation gives
|
||||||
# unlimited permission to copy and/or distribute it, with or without
|
# unlimited permission to copy and/or distribute it, with or without
|
||||||
# modifications, as long as this notice is preserved.
|
# modifications, as long as this notice is preserved.
|
||||||
|
|
||||||
# serial 7 ltoptions.m4
|
# serial 8 ltoptions.m4
|
||||||
|
|
||||||
# This is to help aclocal find these macros, as it can't see m4_define.
|
# This is to help aclocal find these macros, as it can't see m4_define.
|
||||||
AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
|
AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
|
||||||
@@ -29,7 +29,7 @@ m4_define([_LT_SET_OPTION],
|
|||||||
[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl
|
[m4_define(_LT_MANGLE_OPTION([$1], [$2]))dnl
|
||||||
m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),
|
m4_ifdef(_LT_MANGLE_DEFUN([$1], [$2]),
|
||||||
_LT_MANGLE_DEFUN([$1], [$2]),
|
_LT_MANGLE_DEFUN([$1], [$2]),
|
||||||
[m4_warning([Unknown $1 option `$2'])])[]dnl
|
[m4_warning([Unknown $1 option '$2'])])[]dnl
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
@@ -75,13 +75,15 @@ m4_if([$1],[LT_INIT],[
|
|||||||
dnl
|
dnl
|
||||||
dnl If no reference was made to various pairs of opposing options, then
|
dnl If no reference was made to various pairs of opposing options, then
|
||||||
dnl we run the default mode handler for the pair. For example, if neither
|
dnl we run the default mode handler for the pair. For example, if neither
|
||||||
dnl `shared' nor `disable-shared' was passed, we enable building of shared
|
dnl 'shared' nor 'disable-shared' was passed, we enable building of shared
|
||||||
dnl archives by default:
|
dnl archives by default:
|
||||||
_LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
|
_LT_UNLESS_OPTIONS([LT_INIT], [shared disable-shared], [_LT_ENABLE_SHARED])
|
||||||
_LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
|
_LT_UNLESS_OPTIONS([LT_INIT], [static disable-static], [_LT_ENABLE_STATIC])
|
||||||
_LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
|
_LT_UNLESS_OPTIONS([LT_INIT], [pic-only no-pic], [_LT_WITH_PIC])
|
||||||
_LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
|
_LT_UNLESS_OPTIONS([LT_INIT], [fast-install disable-fast-install],
|
||||||
[_LT_ENABLE_FAST_INSTALL])
|
[_LT_ENABLE_FAST_INSTALL])
|
||||||
|
_LT_UNLESS_OPTIONS([LT_INIT], [aix-soname=aix aix-soname=both aix-soname=svr4],
|
||||||
|
[_LT_WITH_AIX_SONAME([aix])])
|
||||||
])
|
])
|
||||||
])# _LT_SET_OPTIONS
|
])# _LT_SET_OPTIONS
|
||||||
|
|
||||||
@@ -112,7 +114,7 @@ AU_DEFUN([AC_LIBTOOL_DLOPEN],
|
|||||||
[_LT_SET_OPTION([LT_INIT], [dlopen])
|
[_LT_SET_OPTION([LT_INIT], [dlopen])
|
||||||
AC_DIAGNOSE([obsolete],
|
AC_DIAGNOSE([obsolete],
|
||||||
[$0: Remove this warning and the call to _LT_SET_OPTION when you
|
[$0: Remove this warning and the call to _LT_SET_OPTION when you
|
||||||
put the `dlopen' option into LT_INIT's first parameter.])
|
put the 'dlopen' option into LT_INIT's first parameter.])
|
||||||
])
|
])
|
||||||
|
|
||||||
dnl aclocal-1.4 backwards compatibility:
|
dnl aclocal-1.4 backwards compatibility:
|
||||||
@@ -148,7 +150,7 @@ AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
|
|||||||
_LT_SET_OPTION([LT_INIT], [win32-dll])
|
_LT_SET_OPTION([LT_INIT], [win32-dll])
|
||||||
AC_DIAGNOSE([obsolete],
|
AC_DIAGNOSE([obsolete],
|
||||||
[$0: Remove this warning and the call to _LT_SET_OPTION when you
|
[$0: Remove this warning and the call to _LT_SET_OPTION when you
|
||||||
put the `win32-dll' option into LT_INIT's first parameter.])
|
put the 'win32-dll' option into LT_INIT's first parameter.])
|
||||||
])
|
])
|
||||||
|
|
||||||
dnl aclocal-1.4 backwards compatibility:
|
dnl aclocal-1.4 backwards compatibility:
|
||||||
@@ -157,9 +159,9 @@ dnl AC_DEFUN([AC_LIBTOOL_WIN32_DLL], [])
|
|||||||
|
|
||||||
# _LT_ENABLE_SHARED([DEFAULT])
|
# _LT_ENABLE_SHARED([DEFAULT])
|
||||||
# ----------------------------
|
# ----------------------------
|
||||||
# implement the --enable-shared flag, and supports the `shared' and
|
# implement the --enable-shared flag, and supports the 'shared' and
|
||||||
# `disable-shared' LT_INIT options.
|
# 'disable-shared' LT_INIT options.
|
||||||
# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
|
# DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'.
|
||||||
m4_define([_LT_ENABLE_SHARED],
|
m4_define([_LT_ENABLE_SHARED],
|
||||||
[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl
|
[m4_define([_LT_ENABLE_SHARED_DEFAULT], [m4_if($1, no, no, yes)])dnl
|
||||||
AC_ARG_ENABLE([shared],
|
AC_ARG_ENABLE([shared],
|
||||||
@@ -172,14 +174,14 @@ AC_ARG_ENABLE([shared],
|
|||||||
*)
|
*)
|
||||||
enable_shared=no
|
enable_shared=no
|
||||||
# Look at the argument we got. We use all the common list separators.
|
# Look at the argument we got. We use all the common list separators.
|
||||||
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
|
lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
|
||||||
for pkg in $enableval; do
|
for pkg in $enableval; do
|
||||||
IFS="$lt_save_ifs"
|
IFS=$lt_save_ifs
|
||||||
if test "X$pkg" = "X$p"; then
|
if test "X$pkg" = "X$p"; then
|
||||||
enable_shared=yes
|
enable_shared=yes
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
IFS="$lt_save_ifs"
|
IFS=$lt_save_ifs
|
||||||
;;
|
;;
|
||||||
esac],
|
esac],
|
||||||
[enable_shared=]_LT_ENABLE_SHARED_DEFAULT)
|
[enable_shared=]_LT_ENABLE_SHARED_DEFAULT)
|
||||||
@@ -211,9 +213,9 @@ dnl AC_DEFUN([AM_DISABLE_SHARED], [])
|
|||||||
|
|
||||||
# _LT_ENABLE_STATIC([DEFAULT])
|
# _LT_ENABLE_STATIC([DEFAULT])
|
||||||
# ----------------------------
|
# ----------------------------
|
||||||
# implement the --enable-static flag, and support the `static' and
|
# implement the --enable-static flag, and support the 'static' and
|
||||||
# `disable-static' LT_INIT options.
|
# 'disable-static' LT_INIT options.
|
||||||
# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
|
# DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'.
|
||||||
m4_define([_LT_ENABLE_STATIC],
|
m4_define([_LT_ENABLE_STATIC],
|
||||||
[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl
|
[m4_define([_LT_ENABLE_STATIC_DEFAULT], [m4_if($1, no, no, yes)])dnl
|
||||||
AC_ARG_ENABLE([static],
|
AC_ARG_ENABLE([static],
|
||||||
@@ -226,14 +228,14 @@ AC_ARG_ENABLE([static],
|
|||||||
*)
|
*)
|
||||||
enable_static=no
|
enable_static=no
|
||||||
# Look at the argument we got. We use all the common list separators.
|
# Look at the argument we got. We use all the common list separators.
|
||||||
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
|
lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
|
||||||
for pkg in $enableval; do
|
for pkg in $enableval; do
|
||||||
IFS="$lt_save_ifs"
|
IFS=$lt_save_ifs
|
||||||
if test "X$pkg" = "X$p"; then
|
if test "X$pkg" = "X$p"; then
|
||||||
enable_static=yes
|
enable_static=yes
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
IFS="$lt_save_ifs"
|
IFS=$lt_save_ifs
|
||||||
;;
|
;;
|
||||||
esac],
|
esac],
|
||||||
[enable_static=]_LT_ENABLE_STATIC_DEFAULT)
|
[enable_static=]_LT_ENABLE_STATIC_DEFAULT)
|
||||||
@@ -265,9 +267,9 @@ dnl AC_DEFUN([AM_DISABLE_STATIC], [])
|
|||||||
|
|
||||||
# _LT_ENABLE_FAST_INSTALL([DEFAULT])
|
# _LT_ENABLE_FAST_INSTALL([DEFAULT])
|
||||||
# ----------------------------------
|
# ----------------------------------
|
||||||
# implement the --enable-fast-install flag, and support the `fast-install'
|
# implement the --enable-fast-install flag, and support the 'fast-install'
|
||||||
# and `disable-fast-install' LT_INIT options.
|
# and 'disable-fast-install' LT_INIT options.
|
||||||
# DEFAULT is either `yes' or `no'. If omitted, it defaults to `yes'.
|
# DEFAULT is either 'yes' or 'no'. If omitted, it defaults to 'yes'.
|
||||||
m4_define([_LT_ENABLE_FAST_INSTALL],
|
m4_define([_LT_ENABLE_FAST_INSTALL],
|
||||||
[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl
|
[m4_define([_LT_ENABLE_FAST_INSTALL_DEFAULT], [m4_if($1, no, no, yes)])dnl
|
||||||
AC_ARG_ENABLE([fast-install],
|
AC_ARG_ENABLE([fast-install],
|
||||||
@@ -280,14 +282,14 @@ AC_ARG_ENABLE([fast-install],
|
|||||||
*)
|
*)
|
||||||
enable_fast_install=no
|
enable_fast_install=no
|
||||||
# Look at the argument we got. We use all the common list separators.
|
# Look at the argument we got. We use all the common list separators.
|
||||||
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
|
lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
|
||||||
for pkg in $enableval; do
|
for pkg in $enableval; do
|
||||||
IFS="$lt_save_ifs"
|
IFS=$lt_save_ifs
|
||||||
if test "X$pkg" = "X$p"; then
|
if test "X$pkg" = "X$p"; then
|
||||||
enable_fast_install=yes
|
enable_fast_install=yes
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
IFS="$lt_save_ifs"
|
IFS=$lt_save_ifs
|
||||||
;;
|
;;
|
||||||
esac],
|
esac],
|
||||||
[enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT)
|
[enable_fast_install=]_LT_ENABLE_FAST_INSTALL_DEFAULT)
|
||||||
@@ -304,14 +306,14 @@ AU_DEFUN([AC_ENABLE_FAST_INSTALL],
|
|||||||
[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
|
[_LT_SET_OPTION([LT_INIT], m4_if([$1], [no], [disable-])[fast-install])
|
||||||
AC_DIAGNOSE([obsolete],
|
AC_DIAGNOSE([obsolete],
|
||||||
[$0: Remove this warning and the call to _LT_SET_OPTION when you put
|
[$0: Remove this warning and the call to _LT_SET_OPTION when you put
|
||||||
the `fast-install' option into LT_INIT's first parameter.])
|
the 'fast-install' option into LT_INIT's first parameter.])
|
||||||
])
|
])
|
||||||
|
|
||||||
AU_DEFUN([AC_DISABLE_FAST_INSTALL],
|
AU_DEFUN([AC_DISABLE_FAST_INSTALL],
|
||||||
[_LT_SET_OPTION([LT_INIT], [disable-fast-install])
|
[_LT_SET_OPTION([LT_INIT], [disable-fast-install])
|
||||||
AC_DIAGNOSE([obsolete],
|
AC_DIAGNOSE([obsolete],
|
||||||
[$0: Remove this warning and the call to _LT_SET_OPTION when you put
|
[$0: Remove this warning and the call to _LT_SET_OPTION when you put
|
||||||
the `disable-fast-install' option into LT_INIT's first parameter.])
|
the 'disable-fast-install' option into LT_INIT's first parameter.])
|
||||||
])
|
])
|
||||||
|
|
||||||
dnl aclocal-1.4 backwards compatibility:
|
dnl aclocal-1.4 backwards compatibility:
|
||||||
@@ -319,11 +321,64 @@ dnl AC_DEFUN([AC_ENABLE_FAST_INSTALL], [])
|
|||||||
dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
|
dnl AC_DEFUN([AM_DISABLE_FAST_INSTALL], [])
|
||||||
|
|
||||||
|
|
||||||
|
# _LT_WITH_AIX_SONAME([DEFAULT])
|
||||||
|
# ----------------------------------
|
||||||
|
# implement the --with-aix-soname flag, and support the `aix-soname=aix'
|
||||||
|
# and `aix-soname=both' and `aix-soname=svr4' LT_INIT options. DEFAULT
|
||||||
|
# is either `aix', `both' or `svr4'. If omitted, it defaults to `aix'.
|
||||||
|
m4_define([_LT_WITH_AIX_SONAME],
|
||||||
|
[m4_define([_LT_WITH_AIX_SONAME_DEFAULT], [m4_if($1, svr4, svr4, m4_if($1, both, both, aix))])dnl
|
||||||
|
shared_archive_member_spec=
|
||||||
|
case $host,$enable_shared in
|
||||||
|
power*-*-aix[[5-9]]*,yes)
|
||||||
|
AC_MSG_CHECKING([which variant of shared library versioning to provide])
|
||||||
|
AC_ARG_WITH([aix-soname],
|
||||||
|
[AS_HELP_STRING([--with-aix-soname=aix|svr4|both],
|
||||||
|
[shared library versioning (aka "SONAME") variant to provide on AIX, @<:@default=]_LT_WITH_AIX_SONAME_DEFAULT[@:>@.])],
|
||||||
|
[case $withval in
|
||||||
|
aix|svr4|both)
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
AC_MSG_ERROR([Unknown argument to --with-aix-soname])
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
lt_cv_with_aix_soname=$with_aix_soname],
|
||||||
|
[AC_CACHE_VAL([lt_cv_with_aix_soname],
|
||||||
|
[lt_cv_with_aix_soname=]_LT_WITH_AIX_SONAME_DEFAULT)
|
||||||
|
with_aix_soname=$lt_cv_with_aix_soname])
|
||||||
|
AC_MSG_RESULT([$with_aix_soname])
|
||||||
|
if test aix != "$with_aix_soname"; then
|
||||||
|
# For the AIX way of multilib, we name the shared archive member
|
||||||
|
# based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
|
||||||
|
# and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
|
||||||
|
# Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
|
||||||
|
# the AIX toolchain works better with OBJECT_MODE set (default 32).
|
||||||
|
if test 64 = "${OBJECT_MODE-32}"; then
|
||||||
|
shared_archive_member_spec=shr_64
|
||||||
|
else
|
||||||
|
shared_archive_member_spec=shr
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
with_aix_soname=aix
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
_LT_DECL([], [shared_archive_member_spec], [0],
|
||||||
|
[Shared archive member basename, for filename based shared library versioning on AIX])dnl
|
||||||
|
])# _LT_WITH_AIX_SONAME
|
||||||
|
|
||||||
|
LT_OPTION_DEFINE([LT_INIT], [aix-soname=aix], [_LT_WITH_AIX_SONAME([aix])])
|
||||||
|
LT_OPTION_DEFINE([LT_INIT], [aix-soname=both], [_LT_WITH_AIX_SONAME([both])])
|
||||||
|
LT_OPTION_DEFINE([LT_INIT], [aix-soname=svr4], [_LT_WITH_AIX_SONAME([svr4])])
|
||||||
|
|
||||||
|
|
||||||
# _LT_WITH_PIC([MODE])
|
# _LT_WITH_PIC([MODE])
|
||||||
# --------------------
|
# --------------------
|
||||||
# implement the --with-pic flag, and support the `pic-only' and `no-pic'
|
# implement the --with-pic flag, and support the 'pic-only' and 'no-pic'
|
||||||
# LT_INIT options.
|
# LT_INIT options.
|
||||||
# MODE is either `yes' or `no'. If omitted, it defaults to `both'.
|
# MODE is either 'yes' or 'no'. If omitted, it defaults to 'both'.
|
||||||
m4_define([_LT_WITH_PIC],
|
m4_define([_LT_WITH_PIC],
|
||||||
[AC_ARG_WITH([pic],
|
[AC_ARG_WITH([pic],
|
||||||
[AS_HELP_STRING([--with-pic@<:@=PKGS@:>@],
|
[AS_HELP_STRING([--with-pic@<:@=PKGS@:>@],
|
||||||
@@ -334,19 +389,17 @@ m4_define([_LT_WITH_PIC],
|
|||||||
*)
|
*)
|
||||||
pic_mode=default
|
pic_mode=default
|
||||||
# Look at the argument we got. We use all the common list separators.
|
# Look at the argument we got. We use all the common list separators.
|
||||||
lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
|
lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
|
||||||
for lt_pkg in $withval; do
|
for lt_pkg in $withval; do
|
||||||
IFS="$lt_save_ifs"
|
IFS=$lt_save_ifs
|
||||||
if test "X$lt_pkg" = "X$lt_p"; then
|
if test "X$lt_pkg" = "X$lt_p"; then
|
||||||
pic_mode=yes
|
pic_mode=yes
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
IFS="$lt_save_ifs"
|
IFS=$lt_save_ifs
|
||||||
;;
|
;;
|
||||||
esac],
|
esac],
|
||||||
[pic_mode=default])
|
[pic_mode=m4_default([$1], [default])])
|
||||||
|
|
||||||
test -z "$pic_mode" && pic_mode=m4_default([$1], [default])
|
|
||||||
|
|
||||||
_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl
|
_LT_DECL([], [pic_mode], [0], [What type of objects to build])dnl
|
||||||
])# _LT_WITH_PIC
|
])# _LT_WITH_PIC
|
||||||
@@ -359,7 +412,7 @@ AU_DEFUN([AC_LIBTOOL_PICMODE],
|
|||||||
[_LT_SET_OPTION([LT_INIT], [pic-only])
|
[_LT_SET_OPTION([LT_INIT], [pic-only])
|
||||||
AC_DIAGNOSE([obsolete],
|
AC_DIAGNOSE([obsolete],
|
||||||
[$0: Remove this warning and the call to _LT_SET_OPTION when you
|
[$0: Remove this warning and the call to _LT_SET_OPTION when you
|
||||||
put the `pic-only' option into LT_INIT's first parameter.])
|
put the 'pic-only' option into LT_INIT's first parameter.])
|
||||||
])
|
])
|
||||||
|
|
||||||
dnl aclocal-1.4 backwards compatibility:
|
dnl aclocal-1.4 backwards compatibility:
|
||||||
|
|||||||
Vendored
+4
-3
@@ -1,6 +1,7 @@
|
|||||||
# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
|
# ltsugar.m4 -- libtool m4 base layer. -*-Autoconf-*-
|
||||||
#
|
#
|
||||||
# Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
|
# Copyright (C) 2004-2005, 2007-2008, 2011-2015 Free Software
|
||||||
|
# Foundation, Inc.
|
||||||
# Written by Gary V. Vaughan, 2004
|
# Written by Gary V. Vaughan, 2004
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation gives
|
# This file is free software; the Free Software Foundation gives
|
||||||
@@ -33,7 +34,7 @@ m4_define([_lt_join],
|
|||||||
# ------------
|
# ------------
|
||||||
# Manipulate m4 lists.
|
# Manipulate m4 lists.
|
||||||
# These macros are necessary as long as will still need to support
|
# These macros are necessary as long as will still need to support
|
||||||
# Autoconf-2.59 which quotes differently.
|
# Autoconf-2.59, which quotes differently.
|
||||||
m4_define([lt_car], [[$1]])
|
m4_define([lt_car], [[$1]])
|
||||||
m4_define([lt_cdr],
|
m4_define([lt_cdr],
|
||||||
[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])],
|
[m4_if([$#], 0, [m4_fatal([$0: cannot be called without arguments])],
|
||||||
@@ -44,7 +45,7 @@ m4_define([lt_unquote], $1)
|
|||||||
|
|
||||||
# lt_append(MACRO-NAME, STRING, [SEPARATOR])
|
# lt_append(MACRO-NAME, STRING, [SEPARATOR])
|
||||||
# ------------------------------------------
|
# ------------------------------------------
|
||||||
# Redefine MACRO-NAME to hold its former content plus `SEPARATOR'`STRING'.
|
# Redefine MACRO-NAME to hold its former content plus 'SEPARATOR''STRING'.
|
||||||
# Note that neither SEPARATOR nor STRING are expanded; they are appended
|
# Note that neither SEPARATOR nor STRING are expanded; they are appended
|
||||||
# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
|
# to MACRO-NAME as is (leaving the expansion for when MACRO-NAME is invoked).
|
||||||
# No SEPARATOR is output if MACRO-NAME was previously undefined (different
|
# No SEPARATOR is output if MACRO-NAME was previously undefined (different
|
||||||
|
|||||||
Vendored
+6
-6
@@ -1,6 +1,6 @@
|
|||||||
# ltversion.m4 -- version numbers -*- Autoconf -*-
|
# ltversion.m4 -- version numbers -*- Autoconf -*-
|
||||||
#
|
#
|
||||||
# Copyright (C) 2004 Free Software Foundation, Inc.
|
# Copyright (C) 2004, 2011-2015 Free Software Foundation, Inc.
|
||||||
# Written by Scott James Remnant, 2004
|
# Written by Scott James Remnant, 2004
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation gives
|
# This file is free software; the Free Software Foundation gives
|
||||||
@@ -9,15 +9,15 @@
|
|||||||
|
|
||||||
# @configure_input@
|
# @configure_input@
|
||||||
|
|
||||||
# serial 3337 ltversion.m4
|
# serial 4179 ltversion.m4
|
||||||
# This file is part of GNU Libtool
|
# This file is part of GNU Libtool
|
||||||
|
|
||||||
m4_define([LT_PACKAGE_VERSION], [2.4.2])
|
m4_define([LT_PACKAGE_VERSION], [2.4.6])
|
||||||
m4_define([LT_PACKAGE_REVISION], [1.3337])
|
m4_define([LT_PACKAGE_REVISION], [2.4.6])
|
||||||
|
|
||||||
AC_DEFUN([LTVERSION_VERSION],
|
AC_DEFUN([LTVERSION_VERSION],
|
||||||
[macro_version='2.4.2'
|
[macro_version='2.4.6'
|
||||||
macro_revision='1.3337'
|
macro_revision='2.4.6'
|
||||||
_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
|
_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
|
||||||
_LT_DECL(, macro_revision, 0)
|
_LT_DECL(, macro_revision, 0)
|
||||||
])
|
])
|
||||||
Vendored
+4
-3
@@ -1,6 +1,7 @@
|
|||||||
# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
|
# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
|
||||||
#
|
#
|
||||||
# Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc.
|
# Copyright (C) 2004-2005, 2007, 2009, 2011-2015 Free Software
|
||||||
|
# Foundation, Inc.
|
||||||
# Written by Scott James Remnant, 2004.
|
# Written by Scott James Remnant, 2004.
|
||||||
#
|
#
|
||||||
# This file is free software; the Free Software Foundation gives
|
# This file is free software; the Free Software Foundation gives
|
||||||
@@ -11,7 +12,7 @@
|
|||||||
|
|
||||||
# These exist entirely to fool aclocal when bootstrapping libtool.
|
# These exist entirely to fool aclocal when bootstrapping libtool.
|
||||||
#
|
#
|
||||||
# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN)
|
# In the past libtool.m4 has provided macros via AC_DEFUN (or AU_DEFUN),
|
||||||
# which have later been changed to m4_define as they aren't part of the
|
# which have later been changed to m4_define as they aren't part of the
|
||||||
# exported API, or moved to Autoconf or Automake where they belong.
|
# exported API, or moved to Autoconf or Automake where they belong.
|
||||||
#
|
#
|
||||||
@@ -25,7 +26,7 @@
|
|||||||
# included after everything else. This provides aclocal with the
|
# included after everything else. This provides aclocal with the
|
||||||
# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
|
# AC_DEFUNs it wants, but when m4 processes it, it doesn't do anything
|
||||||
# because those macros already exist, or will be overwritten later.
|
# because those macros already exist, or will be overwritten later.
|
||||||
# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
|
# We use AC_DEFUN over AU_DEFUN for compatibility with aclocal-1.6.
|
||||||
#
|
#
|
||||||
# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
|
# Anytime we withdraw an AC_DEFUN or AU_DEFUN, remember to add it here.
|
||||||
# Yes, that means every name once taken will need to remain here until
|
# Yes, that means every name once taken will need to remain here until
|
||||||
|
|||||||
@@ -35,6 +35,10 @@ android {
|
|||||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
applicationVariants.all { variant ->
|
||||||
|
tasks["merge${variant.name.capitalize()}Assets"]
|
||||||
|
.dependsOn("externalNativeBuild${variant.name.capitalize()}")
|
||||||
|
}
|
||||||
if (!project.hasProperty('EXCLUDE_NATIVE_LIBS')) {
|
if (!project.hasProperty('EXCLUDE_NATIVE_LIBS')) {
|
||||||
sourceSets.main {
|
sourceSets.main {
|
||||||
jniLibs.srcDir 'libs'
|
jniLibs.srcDir 'libs'
|
||||||
|
|||||||
@@ -13,6 +13,6 @@ LOCAL_SRC_FILES := YourSourceHere.c
|
|||||||
|
|
||||||
LOCAL_SHARED_LIBRARIES := SDL2
|
LOCAL_SHARED_LIBRARIES := SDL2
|
||||||
|
|
||||||
LOCAL_LDLIBS := -lGLESv1_CM -lGLESv2 -llog
|
LOCAL_LDLIBS := -lGLESv1_CM -lGLESv2 -lOpenSLES -llog -landroid
|
||||||
|
|
||||||
include $(BUILD_SHARED_LIBRARY)
|
include $(BUILD_SHARED_LIBRARY)
|
||||||
@@ -141,6 +141,9 @@ public class HIDDeviceManager {
|
|||||||
|
|
||||||
private void initializeUSB() {
|
private void initializeUSB() {
|
||||||
mUsbManager = (UsbManager)mContext.getSystemService(Context.USB_SERVICE);
|
mUsbManager = (UsbManager)mContext.getSystemService(Context.USB_SERVICE);
|
||||||
|
if (mUsbManager == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
// Logging
|
// Logging
|
||||||
|
|||||||
@@ -63,6 +63,112 @@ import java.util.Locale;
|
|||||||
*/
|
*/
|
||||||
public class SDLActivity extends Activity implements View.OnSystemUiVisibilityChangeListener {
|
public class SDLActivity extends Activity implements View.OnSystemUiVisibilityChangeListener {
|
||||||
private static final String TAG = "SDL";
|
private static final String TAG = "SDL";
|
||||||
|
/*
|
||||||
|
// Display InputType.SOURCE/CLASS of events and devices
|
||||||
|
//
|
||||||
|
// SDLActivity.debugSource(device.getSources(), "device[" + device.getName() + "]");
|
||||||
|
// SDLActivity.debugSource(event.getSource(), "event");
|
||||||
|
public static void debugSource(int sources, String prefix) {
|
||||||
|
int s = sources;
|
||||||
|
int s_copy = sources;
|
||||||
|
String cls = "";
|
||||||
|
String src = "";
|
||||||
|
int tst = 0;
|
||||||
|
int FLAG_TAINTED = 0x80000000;
|
||||||
|
|
||||||
|
if ((s & InputDevice.SOURCE_CLASS_BUTTON) != 0) cls += " BUTTON";
|
||||||
|
if ((s & InputDevice.SOURCE_CLASS_JOYSTICK) != 0) cls += " JOYSTICK";
|
||||||
|
if ((s & InputDevice.SOURCE_CLASS_POINTER) != 0) cls += " POINTER";
|
||||||
|
if ((s & InputDevice.SOURCE_CLASS_POSITION) != 0) cls += " POSITION";
|
||||||
|
if ((s & InputDevice.SOURCE_CLASS_TRACKBALL) != 0) cls += " TRACKBALL";
|
||||||
|
|
||||||
|
|
||||||
|
int s2 = s_copy & ~InputDevice.SOURCE_ANY; // keep class bits
|
||||||
|
s2 &= ~( InputDevice.SOURCE_CLASS_BUTTON
|
||||||
|
| InputDevice.SOURCE_CLASS_JOYSTICK
|
||||||
|
| InputDevice.SOURCE_CLASS_POINTER
|
||||||
|
| InputDevice.SOURCE_CLASS_POSITION
|
||||||
|
| InputDevice.SOURCE_CLASS_TRACKBALL);
|
||||||
|
|
||||||
|
if (s2 != 0) cls += "Some_Unkown";
|
||||||
|
|
||||||
|
s2 = s_copy & InputDevice.SOURCE_ANY; // keep source only, no class;
|
||||||
|
|
||||||
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
|
||||||
|
tst = InputDevice.SOURCE_BLUETOOTH_STYLUS;
|
||||||
|
if ((s & tst) == tst) src += " BLUETOOTH_STYLUS";
|
||||||
|
s2 &= ~tst;
|
||||||
|
}
|
||||||
|
|
||||||
|
tst = InputDevice.SOURCE_DPAD;
|
||||||
|
if ((s & tst) == tst) src += " DPAD";
|
||||||
|
s2 &= ~tst;
|
||||||
|
|
||||||
|
tst = InputDevice.SOURCE_GAMEPAD;
|
||||||
|
if ((s & tst) == tst) src += " GAMEPAD";
|
||||||
|
s2 &= ~tst;
|
||||||
|
|
||||||
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
|
||||||
|
tst = InputDevice.SOURCE_HDMI;
|
||||||
|
if ((s & tst) == tst) src += " HDMI";
|
||||||
|
s2 &= ~tst;
|
||||||
|
}
|
||||||
|
|
||||||
|
tst = InputDevice.SOURCE_JOYSTICK;
|
||||||
|
if ((s & tst) == tst) src += " JOYSTICK";
|
||||||
|
s2 &= ~tst;
|
||||||
|
|
||||||
|
tst = InputDevice.SOURCE_KEYBOARD;
|
||||||
|
if ((s & tst) == tst) src += " KEYBOARD";
|
||||||
|
s2 &= ~tst;
|
||||||
|
|
||||||
|
tst = InputDevice.SOURCE_MOUSE;
|
||||||
|
if ((s & tst) == tst) src += " MOUSE";
|
||||||
|
s2 &= ~tst;
|
||||||
|
|
||||||
|
if (Build.VERSION.SDK_INT >= 26) {
|
||||||
|
tst = InputDevice.SOURCE_MOUSE_RELATIVE;
|
||||||
|
if ((s & tst) == tst) src += " MOUSE_RELATIVE";
|
||||||
|
s2 &= ~tst;
|
||||||
|
|
||||||
|
tst = InputDevice.SOURCE_ROTARY_ENCODER;
|
||||||
|
if ((s & tst) == tst) src += " ROTARY_ENCODER";
|
||||||
|
s2 &= ~tst;
|
||||||
|
}
|
||||||
|
tst = InputDevice.SOURCE_STYLUS;
|
||||||
|
if ((s & tst) == tst) src += " STYLUS";
|
||||||
|
s2 &= ~tst;
|
||||||
|
|
||||||
|
tst = InputDevice.SOURCE_TOUCHPAD;
|
||||||
|
if ((s & tst) == tst) src += " TOUCHPAD";
|
||||||
|
s2 &= ~tst;
|
||||||
|
|
||||||
|
tst = InputDevice.SOURCE_TOUCHSCREEN;
|
||||||
|
if ((s & tst) == tst) src += " TOUCHSCREEN";
|
||||||
|
s2 &= ~tst;
|
||||||
|
|
||||||
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR2) {
|
||||||
|
tst = InputDevice.SOURCE_TOUCH_NAVIGATION;
|
||||||
|
if ((s & tst) == tst) src += " TOUCH_NAVIGATION";
|
||||||
|
s2 &= ~tst;
|
||||||
|
}
|
||||||
|
|
||||||
|
tst = InputDevice.SOURCE_TRACKBALL;
|
||||||
|
if ((s & tst) == tst) src += " TRACKBALL";
|
||||||
|
s2 &= ~tst;
|
||||||
|
|
||||||
|
tst = InputDevice.SOURCE_ANY;
|
||||||
|
if ((s & tst) == tst) src += " ANY";
|
||||||
|
s2 &= ~tst;
|
||||||
|
|
||||||
|
if (s == FLAG_TAINTED) src += " FLAG_TAINTED";
|
||||||
|
s2 &= ~FLAG_TAINTED;
|
||||||
|
|
||||||
|
if (s2 != 0) src += " Some_Unkown";
|
||||||
|
|
||||||
|
Log.v(TAG, prefix + "int=" + s_copy + " CLASS={" + cls + " } source(s):" + src);
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
public static boolean mIsResumedCalled, mHasFocus;
|
public static boolean mIsResumedCalled, mHasFocus;
|
||||||
public static final boolean mHasMultiWindow = (Build.VERSION.SDK_INT >= 24);
|
public static final boolean mHasMultiWindow = (Build.VERSION.SDK_INT >= 24);
|
||||||
@@ -1204,8 +1310,21 @@ public class SDLActivity extends Activity implements View.OnSystemUiVisibilityCh
|
|||||||
|
|
||||||
for (int id : ids) {
|
for (int id : ids) {
|
||||||
InputDevice device = InputDevice.getDevice(id);
|
InputDevice device = InputDevice.getDevice(id);
|
||||||
if (device != null && (device.getSources() & InputDevice.SOURCE_TOUCHSCREEN) != 0) {
|
/* Allow SOURCE_TOUCHSCREEN and also Virtual InputDevices because they can send TOUCHSCREEN events */
|
||||||
nativeAddTouch(device.getId(), device.getName());
|
if (device != null && ((device.getSources() & InputDevice.SOURCE_TOUCHSCREEN) == InputDevice.SOURCE_TOUCHSCREEN
|
||||||
|
|| device.isVirtual())) {
|
||||||
|
|
||||||
|
int touchDevId = device.getId();
|
||||||
|
/*
|
||||||
|
* Prevent id to be -1, since it's used in SDL internal for synthetic events
|
||||||
|
* Appears when using Android emulator, eg:
|
||||||
|
* adb shell input mouse tap 100 100
|
||||||
|
* adb shell input touchscreen tap 100 100
|
||||||
|
*/
|
||||||
|
if (touchDevId < 0) {
|
||||||
|
touchDevId -= 1;
|
||||||
|
}
|
||||||
|
nativeAddTouch(touchDevId, device.getName());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1479,6 +1598,19 @@ public class SDLActivity extends Activity implements View.OnSystemUiVisibilityCh
|
|||||||
return mLastCursorID;
|
return mLastCursorID;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This method is called by SDL using JNI.
|
||||||
|
*/
|
||||||
|
public static void destroyCustomCursor(int cursorID) {
|
||||||
|
if (Build.VERSION.SDK_INT >= 24) {
|
||||||
|
try {
|
||||||
|
mCursors.remove(cursorID);
|
||||||
|
} catch (Exception e) {
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This method is called by SDL using JNI.
|
* This method is called by SDL using JNI.
|
||||||
*/
|
*/
|
||||||
@@ -1882,7 +2014,7 @@ class SDLSurface extends SurfaceView implements SurfaceHolder.Callback,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((source & InputDevice.SOURCE_KEYBOARD) != 0) {
|
if ((source & InputDevice.SOURCE_KEYBOARD) == InputDevice.SOURCE_KEYBOARD) {
|
||||||
if (event.getAction() == KeyEvent.ACTION_DOWN) {
|
if (event.getAction() == KeyEvent.ACTION_DOWN) {
|
||||||
if (SDLActivity.isTextInputEvent(event)) {
|
if (SDLActivity.isTextInputEvent(event)) {
|
||||||
SDLInputConnection.nativeCommitText(String.valueOf((char) event.getUnicodeChar()), 1);
|
SDLInputConnection.nativeCommitText(String.valueOf((char) event.getUnicodeChar()), 1);
|
||||||
@@ -1895,7 +2027,7 @@ class SDLSurface extends SurfaceView implements SurfaceHolder.Callback,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((source & InputDevice.SOURCE_MOUSE) != 0) {
|
if ((source & InputDevice.SOURCE_MOUSE) == InputDevice.SOURCE_MOUSE) {
|
||||||
// on some devices key events are sent for mouse BUTTON_BACK/FORWARD presses
|
// on some devices key events are sent for mouse BUTTON_BACK/FORWARD presses
|
||||||
// they are ignored here because sending them as mouse input to SDL is messy
|
// they are ignored here because sending them as mouse input to SDL is messy
|
||||||
if ((keyCode == KeyEvent.KEYCODE_BACK) || (keyCode == KeyEvent.KEYCODE_FORWARD)) {
|
if ((keyCode == KeyEvent.KEYCODE_BACK) || (keyCode == KeyEvent.KEYCODE_FORWARD)) {
|
||||||
|
|||||||
@@ -255,23 +255,21 @@ class SDLJoystickHandler_API16 extends SDLJoystickHandler {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean handleMotionEvent(MotionEvent event) {
|
public boolean handleMotionEvent(MotionEvent event) {
|
||||||
if ((event.getSource() & InputDevice.SOURCE_JOYSTICK) != 0) {
|
int actionPointerIndex = event.getActionIndex();
|
||||||
int actionPointerIndex = event.getActionIndex();
|
int action = event.getActionMasked();
|
||||||
int action = event.getActionMasked();
|
if (action == MotionEvent.ACTION_MOVE) {
|
||||||
if (action == MotionEvent.ACTION_MOVE) {
|
SDLJoystick joystick = getJoystick(event.getDeviceId());
|
||||||
SDLJoystick joystick = getJoystick(event.getDeviceId());
|
if (joystick != null) {
|
||||||
if (joystick != null) {
|
for (int i = 0; i < joystick.axes.size(); i++) {
|
||||||
for (int i = 0; i < joystick.axes.size(); i++) {
|
InputDevice.MotionRange range = joystick.axes.get(i);
|
||||||
InputDevice.MotionRange range = joystick.axes.get(i);
|
/* Normalize the value to -1...1 */
|
||||||
/* Normalize the value to -1...1 */
|
float value = (event.getAxisValue(range.getAxis(), actionPointerIndex) - range.getMin()) / range.getRange() * 2.0f - 1.0f;
|
||||||
float value = (event.getAxisValue(range.getAxis(), actionPointerIndex) - range.getMin()) / range.getRange() * 2.0f - 1.0f;
|
SDLControllerManager.onNativeJoy(joystick.device_id, i, value);
|
||||||
SDLControllerManager.onNativeJoy(joystick.device_id, i, value);
|
}
|
||||||
}
|
for (int i = 0; i < joystick.hats.size() / 2; i++) {
|
||||||
for (int i = 0; i < joystick.hats.size() / 2; i++) {
|
int hatX = Math.round(event.getAxisValue(joystick.hats.get(2 * i).getAxis(), actionPointerIndex));
|
||||||
int hatX = Math.round(event.getAxisValue(joystick.hats.get(2 * i).getAxis(), actionPointerIndex));
|
int hatY = Math.round(event.getAxisValue(joystick.hats.get(2 * i + 1).getAxis(), actionPointerIndex));
|
||||||
int hatY = Math.round(event.getAxisValue(joystick.hats.get(2 * i + 1).getAxis(), actionPointerIndex));
|
SDLControllerManager.onNativeHat(joystick.device_id, i, hatX, hatY);
|
||||||
SDLControllerManager.onNativeHat(joystick.device_id, i, hatX, hatY);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -319,6 +317,7 @@ class SDLJoystickHandler_API19 extends SDLJoystickHandler_API16 {
|
|||||||
KeyEvent.KEYCODE_BUTTON_X,
|
KeyEvent.KEYCODE_BUTTON_X,
|
||||||
KeyEvent.KEYCODE_BUTTON_Y,
|
KeyEvent.KEYCODE_BUTTON_Y,
|
||||||
KeyEvent.KEYCODE_BACK,
|
KeyEvent.KEYCODE_BACK,
|
||||||
|
KeyEvent.KEYCODE_MENU,
|
||||||
KeyEvent.KEYCODE_BUTTON_MODE,
|
KeyEvent.KEYCODE_BUTTON_MODE,
|
||||||
KeyEvent.KEYCODE_BUTTON_START,
|
KeyEvent.KEYCODE_BUTTON_START,
|
||||||
KeyEvent.KEYCODE_BUTTON_THUMBL,
|
KeyEvent.KEYCODE_BUTTON_THUMBL,
|
||||||
@@ -360,6 +359,7 @@ class SDLJoystickHandler_API19 extends SDLJoystickHandler_API16 {
|
|||||||
(1 << 2), // X -> X
|
(1 << 2), // X -> X
|
||||||
(1 << 3), // Y -> Y
|
(1 << 3), // Y -> Y
|
||||||
(1 << 4), // BACK -> BACK
|
(1 << 4), // BACK -> BACK
|
||||||
|
(1 << 6), // MENU -> START
|
||||||
(1 << 5), // MODE -> GUIDE
|
(1 << 5), // MODE -> GUIDE
|
||||||
(1 << 6), // START -> START
|
(1 << 6), // START -> START
|
||||||
(1 << 7), // THUMBL -> LEFTSTICK
|
(1 << 7), // THUMBL -> LEFTSTICK
|
||||||
@@ -560,8 +560,6 @@ class SDLGenericMotionListener_API12 implements View.OnGenericMotionListener {
|
|||||||
|
|
||||||
switch ( event.getSource() ) {
|
switch ( event.getSource() ) {
|
||||||
case InputDevice.SOURCE_JOYSTICK:
|
case InputDevice.SOURCE_JOYSTICK:
|
||||||
case InputDevice.SOURCE_GAMEPAD:
|
|
||||||
case InputDevice.SOURCE_DPAD:
|
|
||||||
return SDLControllerManager.handleJoystickMotionEvent(event);
|
return SDLControllerManager.handleJoystickMotionEvent(event);
|
||||||
|
|
||||||
case InputDevice.SOURCE_MOUSE:
|
case InputDevice.SOURCE_MOUSE:
|
||||||
@@ -691,8 +689,6 @@ class SDLGenericMotionListener_API26 extends SDLGenericMotionListener_API24 {
|
|||||||
|
|
||||||
switch ( event.getSource() ) {
|
switch ( event.getSource() ) {
|
||||||
case InputDevice.SOURCE_JOYSTICK:
|
case InputDevice.SOURCE_JOYSTICK:
|
||||||
case InputDevice.SOURCE_GAMEPAD:
|
|
||||||
case InputDevice.SOURCE_DPAD:
|
|
||||||
return SDLControllerManager.handleJoystickMotionEvent(event);
|
return SDLControllerManager.handleJoystickMotionEvent(event);
|
||||||
|
|
||||||
case InputDevice.SOURCE_MOUSE:
|
case InputDevice.SOURCE_MOUSE:
|
||||||
|
|||||||
+3
-5
@@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
echo "Generating build information using autoconf"
|
echo "Generating build information using autoconf"
|
||||||
echo "This may take a while ..."
|
echo "This may take a while ..."
|
||||||
|
|
||||||
@@ -10,11 +12,7 @@ cd "$srcdir"
|
|||||||
# Regenerate configuration files
|
# Regenerate configuration files
|
||||||
cat acinclude/* >aclocal.m4
|
cat acinclude/* >aclocal.m4
|
||||||
|
|
||||||
if test "$AUTOCONF"x = x; then
|
"${AUTOCONF:-autoconf}"
|
||||||
AUTOCONF=autoconf
|
|
||||||
fi
|
|
||||||
|
|
||||||
$AUTOCONF || exit 1
|
|
||||||
rm aclocal.m4
|
rm aclocal.m4
|
||||||
rm -rf autom4te.cache
|
rm -rf autom4te.cache
|
||||||
|
|
||||||
|
|||||||
@@ -33,22 +33,21 @@ lib=
|
|||||||
ndk_args=
|
ndk_args=
|
||||||
|
|
||||||
# Allow an external caller to specify locations.
|
# Allow an external caller to specify locations.
|
||||||
for arg in $*
|
for arg in $*; do
|
||||||
do
|
if [ "${arg:0:8}" == "NDK_OUT=" ]; then
|
||||||
if [ "${arg:0:8}" == "NDK_OUT=" ]; then
|
obj=${arg#NDK_OUT=}
|
||||||
obj=${arg#NDK_OUT=}
|
elif [ "${arg:0:13}" == "NDK_LIBS_OUT=" ]; then
|
||||||
elif [ "${arg:0:13}" == "NDK_LIBS_OUT=" ]; then
|
lib=${arg#NDK_LIBS_OUT=}
|
||||||
lib=${arg#NDK_LIBS_OUT=}
|
else
|
||||||
else
|
ndk_args="$ndk_args $arg"
|
||||||
ndk_args="$ndk_args $arg"
|
fi
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ -z $obj ]; then
|
if [ -z $obj ]; then
|
||||||
obj=$buildandroid/obj
|
obj=$buildandroid/obj
|
||||||
fi
|
fi
|
||||||
if [ -z $lib ]; then
|
if [ -z $lib ]; then
|
||||||
lib=$buildandroid/lib
|
lib=$buildandroid/lib
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for dir in $build $buildandroid $obj $lib; do
|
for dir in $build $buildandroid $obj $lib; do
|
||||||
@@ -64,11 +63,11 @@ done
|
|||||||
# ndk-build makefile segments that use them, e.g., default-application.mk.
|
# ndk-build makefile segments that use them, e.g., default-application.mk.
|
||||||
# For consistency, pass all values on the command line.
|
# For consistency, pass all values on the command line.
|
||||||
ndk-build \
|
ndk-build \
|
||||||
NDK_PROJECT_PATH=null \
|
NDK_PROJECT_PATH=null \
|
||||||
NDK_OUT=$obj \
|
NDK_OUT=$obj \
|
||||||
NDK_LIBS_OUT=$lib \
|
NDK_LIBS_OUT=$lib \
|
||||||
APP_BUILD_SCRIPT=Android.mk \
|
APP_BUILD_SCRIPT=Android.mk \
|
||||||
APP_ABI="armeabi-v7a arm64-v8a x86 x86_64" \
|
APP_ABI="armeabi-v7a arm64-v8a x86 x86_64" \
|
||||||
APP_PLATFORM=android-16 \
|
APP_PLATFORM=android-16 \
|
||||||
APP_MODULES="SDL2 SDL2_main" \
|
APP_MODULES="SDL2 SDL2_main" \
|
||||||
$ndk_args
|
$ndk_args
|
||||||
@@ -6,11 +6,11 @@
|
|||||||
|
|
||||||
DEVELOPER="`xcode-select -print-path`/Platforms/MacOSX.platform/Developer"
|
DEVELOPER="`xcode-select -print-path`/Platforms/MacOSX.platform/Developer"
|
||||||
|
|
||||||
# Intel 64-bit compiler flags (10.6 runtime compatibility)
|
# Intel 64-bit compiler flags (10.7 runtime compatibility)
|
||||||
CLANG_COMPILE_X64="clang++ -arch x86_64 -mmacosx-version-min=10.6 \
|
CLANG_COMPILE_X64="clang++ -arch x86_64 -mmacosx-version-min=10.7 \
|
||||||
-I/usr/local/include"
|
-I/usr/local/include"
|
||||||
|
|
||||||
CLANG_LINK_X64="-mmacosx-version-min=10.6"
|
CLANG_LINK_X64="-mmacosx-version-min=10.7"
|
||||||
|
|
||||||
# ARM 64-bit compiler flags (11.0 runtime compatibility)
|
# ARM 64-bit compiler flags (11.0 runtime compatibility)
|
||||||
CLANG_COMPILE_ARM64="clang++ -arch arm64 -mmacosx-version-min=11.0 \
|
CLANG_COMPILE_ARM64="clang++ -arch arm64 -mmacosx-version-min=11.0 \
|
||||||
|
|||||||
@@ -6,12 +6,12 @@
|
|||||||
|
|
||||||
DEVELOPER="`xcode-select -print-path`/Platforms/MacOSX.platform/Developer"
|
DEVELOPER="`xcode-select -print-path`/Platforms/MacOSX.platform/Developer"
|
||||||
|
|
||||||
# Intel 64-bit compiler flags (10.6 runtime compatibility)
|
# Intel 64-bit compiler flags (10.7 runtime compatibility)
|
||||||
CLANG_COMPILE_X64="clang -arch x86_64 -mmacosx-version-min=10.6 \
|
CLANG_COMPILE_X64="clang -arch x86_64 -mmacosx-version-min=10.7 \
|
||||||
-DMAC_OS_X_VERSION_MIN_REQUIRED=1060 \
|
-DMAC_OS_X_VERSION_MIN_REQUIRED=1070 \
|
||||||
-I/usr/local/include"
|
-I/usr/local/include"
|
||||||
|
|
||||||
CLANG_LINK_X64="-mmacosx-version-min=10.6"
|
CLANG_LINK_X64="-mmacosx-version-min=10.7"
|
||||||
|
|
||||||
# ARM 64-bit compiler flags (11.0 runtime compatibility)
|
# ARM 64-bit compiler flags (11.0 runtime compatibility)
|
||||||
CLANG_COMPILE_ARM64="clang -arch arm64 -mmacosx-version-min=11.0 \
|
CLANG_COMPILE_ARM64="clang -arch arm64 -mmacosx-version-min=11.0 \
|
||||||
|
|||||||
Vendored
+34
-14
@@ -1,14 +1,14 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# Attempt to guess a canonical system name.
|
# Attempt to guess a canonical system name.
|
||||||
# Copyright 1992-2021 Free Software Foundation, Inc.
|
# Copyright 1992-2022 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# shellcheck disable=SC2006,SC2268 # see below for rationale
|
# shellcheck disable=SC2006,SC2268 # see below for rationale
|
||||||
|
|
||||||
timestamp='2021-06-03'
|
timestamp='2022-05-25'
|
||||||
|
|
||||||
# This file is free software; you can redistribute it and/or modify it
|
# This file is free software; you can redistribute it and/or modify it
|
||||||
# under the terms of the GNU General Public License as published by
|
# under the terms of the GNU General Public License as published by
|
||||||
# the Free Software Foundation; either version 3 of the License, or
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
#
|
#
|
||||||
# This program is distributed in the hope that it will be useful, but
|
# This program is distributed in the hope that it will be useful, but
|
||||||
@@ -60,7 +60,7 @@ version="\
|
|||||||
GNU config.guess ($timestamp)
|
GNU config.guess ($timestamp)
|
||||||
|
|
||||||
Originally written by Per Bothner.
|
Originally written by Per Bothner.
|
||||||
Copyright 1992-2021 Free Software Foundation, Inc.
|
Copyright 1992-2022 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This is free software; see the source for copying conditions. There is NO
|
This is free software; see the source for copying conditions. There is NO
|
||||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
||||||
@@ -437,7 +437,7 @@ case $UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION in
|
|||||||
# This test works for both compilers.
|
# This test works for both compilers.
|
||||||
if test "$CC_FOR_BUILD" != no_compiler_found; then
|
if test "$CC_FOR_BUILD" != no_compiler_found; then
|
||||||
if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
|
if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
|
||||||
(CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
|
(CCOPTS="" $CC_FOR_BUILD -m64 -E - 2>/dev/null) | \
|
||||||
grep IS_64BIT_ARCH >/dev/null
|
grep IS_64BIT_ARCH >/dev/null
|
||||||
then
|
then
|
||||||
SUN_ARCH=x86_64
|
SUN_ARCH=x86_64
|
||||||
@@ -929,6 +929,9 @@ EOF
|
|||||||
i*:PW*:*)
|
i*:PW*:*)
|
||||||
GUESS=$UNAME_MACHINE-pc-pw32
|
GUESS=$UNAME_MACHINE-pc-pw32
|
||||||
;;
|
;;
|
||||||
|
*:SerenityOS:*:*)
|
||||||
|
GUESS=$UNAME_MACHINE-pc-serenity
|
||||||
|
;;
|
||||||
*:Interix*:*)
|
*:Interix*:*)
|
||||||
case $UNAME_MACHINE in
|
case $UNAME_MACHINE in
|
||||||
x86)
|
x86)
|
||||||
@@ -1148,16 +1151,27 @@ EOF
|
|||||||
;;
|
;;
|
||||||
x86_64:Linux:*:*)
|
x86_64:Linux:*:*)
|
||||||
set_cc_for_build
|
set_cc_for_build
|
||||||
|
CPU=$UNAME_MACHINE
|
||||||
LIBCABI=$LIBC
|
LIBCABI=$LIBC
|
||||||
if test "$CC_FOR_BUILD" != no_compiler_found; then
|
if test "$CC_FOR_BUILD" != no_compiler_found; then
|
||||||
if (echo '#ifdef __ILP32__'; echo IS_X32; echo '#endif') | \
|
ABI=64
|
||||||
(CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
|
sed 's/^ //' << EOF > "$dummy.c"
|
||||||
grep IS_X32 >/dev/null
|
#ifdef __i386__
|
||||||
then
|
ABI=x86
|
||||||
LIBCABI=${LIBC}x32
|
#else
|
||||||
fi
|
#ifdef __ILP32__
|
||||||
|
ABI=x32
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
EOF
|
||||||
|
cc_set_abi=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^ABI' | sed 's, ,,g'`
|
||||||
|
eval "$cc_set_abi"
|
||||||
|
case $ABI in
|
||||||
|
x86) CPU=i686 ;;
|
||||||
|
x32) LIBCABI=${LIBC}x32 ;;
|
||||||
|
esac
|
||||||
fi
|
fi
|
||||||
GUESS=$UNAME_MACHINE-pc-linux-$LIBCABI
|
GUESS=$CPU-pc-linux-$LIBCABI
|
||||||
;;
|
;;
|
||||||
xtensa*:Linux:*:*)
|
xtensa*:Linux:*:*)
|
||||||
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
|
GUESS=$UNAME_MACHINE-unknown-linux-$LIBC
|
||||||
@@ -1364,8 +1378,11 @@ EOF
|
|||||||
BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
|
BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
|
||||||
GUESS=i586-pc-haiku
|
GUESS=i586-pc-haiku
|
||||||
;;
|
;;
|
||||||
x86_64:Haiku:*:*)
|
ppc:Haiku:*:*) # Haiku running on Apple PowerPC
|
||||||
GUESS=x86_64-unknown-haiku
|
GUESS=powerpc-apple-haiku
|
||||||
|
;;
|
||||||
|
*:Haiku:*:*) # Haiku modern gcc (not bound by BeOS compat)
|
||||||
|
GUESS=$UNAME_MACHINE-unknown-haiku
|
||||||
;;
|
;;
|
||||||
SX-4:SUPER-UX:*:*)
|
SX-4:SUPER-UX:*:*)
|
||||||
GUESS=sx4-nec-superux$UNAME_RELEASE
|
GUESS=sx4-nec-superux$UNAME_RELEASE
|
||||||
@@ -1522,6 +1539,9 @@ EOF
|
|||||||
i*86:rdos:*:*)
|
i*86:rdos:*:*)
|
||||||
GUESS=$UNAME_MACHINE-pc-rdos
|
GUESS=$UNAME_MACHINE-pc-rdos
|
||||||
;;
|
;;
|
||||||
|
i*86:Fiwix:*:*)
|
||||||
|
GUESS=$UNAME_MACHINE-pc-fiwix
|
||||||
|
;;
|
||||||
*:AROS:*:*)
|
*:AROS:*:*)
|
||||||
GUESS=$UNAME_MACHINE-unknown-aros
|
GUESS=$UNAME_MACHINE-unknown-aros
|
||||||
;;
|
;;
|
||||||
|
|||||||
Vendored
+13
-7
@@ -1,14 +1,14 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
# Configuration validation subroutine script.
|
# Configuration validation subroutine script.
|
||||||
# Copyright 1992-2021 Free Software Foundation, Inc.
|
# Copyright 1992-2022 Free Software Foundation, Inc.
|
||||||
|
|
||||||
# shellcheck disable=SC2006,SC2268 # see below for rationale
|
# shellcheck disable=SC2006,SC2268 # see below for rationale
|
||||||
|
|
||||||
timestamp='2021-08-14'
|
timestamp='2022-01-03'
|
||||||
|
|
||||||
# This file is free software; you can redistribute it and/or modify it
|
# This file is free software; you can redistribute it and/or modify it
|
||||||
# under the terms of the GNU General Public License as published by
|
# under the terms of the GNU General Public License as published by
|
||||||
# the Free Software Foundation; either version 3 of the License, or
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
# (at your option) any later version.
|
# (at your option) any later version.
|
||||||
#
|
#
|
||||||
# This program is distributed in the hope that it will be useful, but
|
# This program is distributed in the hope that it will be useful, but
|
||||||
@@ -76,7 +76,7 @@ Report bugs and patches to <config-patches@gnu.org>."
|
|||||||
version="\
|
version="\
|
||||||
GNU config.sub ($timestamp)
|
GNU config.sub ($timestamp)
|
||||||
|
|
||||||
Copyright 1992-2021 Free Software Foundation, Inc.
|
Copyright 1992-2022 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This is free software; see the source for copying conditions. There is NO
|
This is free software; see the source for copying conditions. There is NO
|
||||||
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
|
||||||
@@ -1020,6 +1020,11 @@ case $cpu-$vendor in
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
# Here we normalize CPU types with a missing or matching vendor
|
# Here we normalize CPU types with a missing or matching vendor
|
||||||
|
armh-unknown | armh-alt)
|
||||||
|
cpu=armv7l
|
||||||
|
vendor=alt
|
||||||
|
basic_os=${basic_os:-linux-gnueabihf}
|
||||||
|
;;
|
||||||
dpx20-unknown | dpx20-bull)
|
dpx20-unknown | dpx20-bull)
|
||||||
cpu=rs6000
|
cpu=rs6000
|
||||||
vendor=bull
|
vendor=bull
|
||||||
@@ -1121,7 +1126,7 @@ case $cpu-$vendor in
|
|||||||
xscale-* | xscalee[bl]-*)
|
xscale-* | xscalee[bl]-*)
|
||||||
cpu=`echo "$cpu" | sed 's/^xscale/arm/'`
|
cpu=`echo "$cpu" | sed 's/^xscale/arm/'`
|
||||||
;;
|
;;
|
||||||
arm64-*)
|
arm64-* | aarch64le-*)
|
||||||
cpu=aarch64
|
cpu=aarch64
|
||||||
;;
|
;;
|
||||||
|
|
||||||
@@ -1304,7 +1309,7 @@ esac
|
|||||||
if test x$basic_os != x
|
if test x$basic_os != x
|
||||||
then
|
then
|
||||||
|
|
||||||
# First recognize some ad-hoc caes, or perhaps split kernel-os, or else just
|
# First recognize some ad-hoc cases, or perhaps split kernel-os, or else just
|
||||||
# set os.
|
# set os.
|
||||||
case $basic_os in
|
case $basic_os in
|
||||||
gnu/linux*)
|
gnu/linux*)
|
||||||
@@ -1748,7 +1753,8 @@ case $os in
|
|||||||
| skyos* | haiku* | rdos* | toppers* | drops* | es* \
|
| skyos* | haiku* | rdos* | toppers* | drops* | es* \
|
||||||
| onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
|
| onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
|
||||||
| midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \
|
| midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \
|
||||||
| nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr*)
|
| nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr* \
|
||||||
|
| fiwix* )
|
||||||
;;
|
;;
|
||||||
# This one is extra strict with allowed versions
|
# This one is extra strict with allowed versions
|
||||||
sco3.2v2 | sco3.2v[4-9]* | sco5v6*)
|
sco3.2v2 | sco3.2v[4-9]* | sco5v6*)
|
||||||
|
|||||||
@@ -46,9 +46,15 @@ my @releases = sort {
|
|||||||
|
|
||||||
# this happens to work for how SDL versions things at the moment.
|
# this happens to work for how SDL versions things at the moment.
|
||||||
my $current_release = $releases[-1];
|
my $current_release = $releases[-1];
|
||||||
my @current_release_segments = split /\./, $current_release;
|
my $next_release;
|
||||||
@current_release_segments[2] = '' . ($current_release_segments[2] + 2);
|
|
||||||
my $next_release = join('.', @current_release_segments);
|
if ($current_release eq '2.0.22') { # Hack for our jump from 2.0.22 to 2.24.0...
|
||||||
|
$next_release = '2.24.0';
|
||||||
|
} else {
|
||||||
|
my @current_release_segments = split /\./, $current_release;
|
||||||
|
@current_release_segments[1] = '' . ($current_release_segments[1] + 2);
|
||||||
|
$next_release = join('.', @current_release_segments);
|
||||||
|
}
|
||||||
|
|
||||||
#print("\n\nSORTED\n");
|
#print("\n\nSORTED\n");
|
||||||
#foreach (@releases) {
|
#foreach (@releases) {
|
||||||
|
|||||||
@@ -0,0 +1,163 @@
|
|||||||
|
/*
|
||||||
|
Simple DirectMedia Layer
|
||||||
|
Copyright (C) 1997-2022 Sam Lantinga <slouken@libsdl.org>
|
||||||
|
|
||||||
|
This software is provided 'as-is', without any express or implied
|
||||||
|
warranty. In no event will the authors be held liable for any damages
|
||||||
|
arising from the use of this software.
|
||||||
|
|
||||||
|
Permission is granted to anyone to use this software for any purpose,
|
||||||
|
including commercial applications, and to alter it and redistribute it
|
||||||
|
freely, subject to the following restrictions:
|
||||||
|
|
||||||
|
1. The origin of this software must not be misrepresented; you must not
|
||||||
|
claim that you wrote the original software. If you use this software
|
||||||
|
in a product, an acknowledgment in the product documentation would be
|
||||||
|
appreciated but is not required.
|
||||||
|
2. Altered source versions must be plainly marked as such, and must not be
|
||||||
|
misrepresented as being the original software.
|
||||||
|
3. This notice may not be removed or altered from any source distribution.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
|
||||||
|
Built with:
|
||||||
|
|
||||||
|
gcc -o genfilter build-scripts/gen_audio_resampler_filter.c -lm && ./genfilter > src/audio/SDL_audio_resampler_filter.h
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
/*
|
||||||
|
SDL's resampler uses a "bandlimited interpolation" algorithm:
|
||||||
|
https://ccrma.stanford.edu/~jos/resample/
|
||||||
|
|
||||||
|
This code pre-generates the kaiser tables so we don't have to do this at
|
||||||
|
run time, at a cost of about 20 kilobytes of static data in SDL. This code
|
||||||
|
used to be part of SDL itself and generated the tables on the first use,
|
||||||
|
but that was expensive to produce on platforms without floating point
|
||||||
|
hardware.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <math.h>
|
||||||
|
|
||||||
|
#define RESAMPLER_ZERO_CROSSINGS 5
|
||||||
|
#define RESAMPLER_BITS_PER_SAMPLE 16
|
||||||
|
#define RESAMPLER_SAMPLES_PER_ZERO_CROSSING (1 << ((RESAMPLER_BITS_PER_SAMPLE / 2) + 1))
|
||||||
|
#define RESAMPLER_FILTER_SIZE ((RESAMPLER_SAMPLES_PER_ZERO_CROSSING * RESAMPLER_ZERO_CROSSINGS) + 1)
|
||||||
|
|
||||||
|
/* This is a "modified" bessel function, so you can't use POSIX j0() */
|
||||||
|
static double
|
||||||
|
bessel(const double x)
|
||||||
|
{
|
||||||
|
const double xdiv2 = x / 2.0;
|
||||||
|
double i0 = 1.0f;
|
||||||
|
double f = 1.0f;
|
||||||
|
int i = 1;
|
||||||
|
|
||||||
|
while (1) {
|
||||||
|
const double diff = pow(xdiv2, i * 2) / pow(f, 2);
|
||||||
|
if (diff < 1.0e-21f) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
i0 += diff;
|
||||||
|
i++;
|
||||||
|
f *= (double) i;
|
||||||
|
}
|
||||||
|
|
||||||
|
return i0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* build kaiser table with cardinal sine applied to it, and array of differences between elements. */
|
||||||
|
static void
|
||||||
|
kaiser_and_sinc(float *table, float *diffs, const int tablelen, const double beta)
|
||||||
|
{
|
||||||
|
const int lenm1 = tablelen - 1;
|
||||||
|
const int lenm1div2 = lenm1 / 2;
|
||||||
|
const double bessel_beta = bessel(beta);
|
||||||
|
int i;
|
||||||
|
|
||||||
|
table[0] = 1.0f;
|
||||||
|
for (i = 1; i < tablelen; i++) {
|
||||||
|
const double kaiser = bessel(beta * sqrt(1.0 - pow(((i - lenm1) / 2.0) / lenm1div2, 2.0))) / bessel_beta;
|
||||||
|
table[tablelen - i] = (float) kaiser;
|
||||||
|
}
|
||||||
|
|
||||||
|
for (i = 1; i < tablelen; i++) {
|
||||||
|
const float x = (((float) i) / ((float) RESAMPLER_SAMPLES_PER_ZERO_CROSSING)) * ((float) M_PI);
|
||||||
|
table[i] *= sinf(x) / x;
|
||||||
|
diffs[i - 1] = table[i] - table[i - 1];
|
||||||
|
}
|
||||||
|
diffs[lenm1] = 0.0f;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
static float ResamplerFilter[RESAMPLER_FILTER_SIZE];
|
||||||
|
static float ResamplerFilterDifference[RESAMPLER_FILTER_SIZE];
|
||||||
|
|
||||||
|
static void
|
||||||
|
PrepareResampleFilter(void)
|
||||||
|
{
|
||||||
|
/* if dB > 50, beta=(0.1102 * (dB - 8.7)), according to Matlab. */
|
||||||
|
const double dB = 80.0;
|
||||||
|
const double beta = 0.1102 * (dB - 8.7);
|
||||||
|
kaiser_and_sinc(ResamplerFilter, ResamplerFilterDifference, RESAMPLER_FILTER_SIZE, beta);
|
||||||
|
}
|
||||||
|
|
||||||
|
int main(void)
|
||||||
|
{
|
||||||
|
int i;
|
||||||
|
|
||||||
|
PrepareResampleFilter();
|
||||||
|
|
||||||
|
printf(
|
||||||
|
"/*\n"
|
||||||
|
" Simple DirectMedia Layer\n"
|
||||||
|
" Copyright (C) 1997-2022 Sam Lantinga <slouken@libsdl.org>\n"
|
||||||
|
"\n"
|
||||||
|
" This software is provided 'as-is', without any express or implied\n"
|
||||||
|
" warranty. In no event will the authors be held liable for any damages\n"
|
||||||
|
" arising from the use of this software.\n"
|
||||||
|
"\n"
|
||||||
|
" Permission is granted to anyone to use this software for any purpose,\n"
|
||||||
|
" including commercial applications, and to alter it and redistribute it\n"
|
||||||
|
" freely, subject to the following restrictions:\n"
|
||||||
|
"\n"
|
||||||
|
" 1. The origin of this software must not be misrepresented; you must not\n"
|
||||||
|
" claim that you wrote the original software. If you use this software\n"
|
||||||
|
" in a product, an acknowledgment in the product documentation would be\n"
|
||||||
|
" appreciated but is not required.\n"
|
||||||
|
" 2. Altered source versions must be plainly marked as such, and must not be\n"
|
||||||
|
" misrepresented as being the original software.\n"
|
||||||
|
" 3. This notice may not be removed or altered from any source distribution.\n"
|
||||||
|
"*/\n"
|
||||||
|
"\n"
|
||||||
|
"/* DO NOT EDIT, THIS FILE WAS GENERATED BY build-scripts/gen_audio_resampler_filter.c */\n"
|
||||||
|
"\n"
|
||||||
|
"#define RESAMPLER_ZERO_CROSSINGS %d\n"
|
||||||
|
"#define RESAMPLER_BITS_PER_SAMPLE %d\n"
|
||||||
|
"#define RESAMPLER_SAMPLES_PER_ZERO_CROSSING (1 << ((RESAMPLER_BITS_PER_SAMPLE / 2) + 1))\n"
|
||||||
|
"#define RESAMPLER_FILTER_SIZE ((RESAMPLER_SAMPLES_PER_ZERO_CROSSING * RESAMPLER_ZERO_CROSSINGS) + 1)\n"
|
||||||
|
"\n", RESAMPLER_ZERO_CROSSINGS, RESAMPLER_BITS_PER_SAMPLE
|
||||||
|
);
|
||||||
|
|
||||||
|
printf("static const float ResamplerFilter[RESAMPLER_FILTER_SIZE] = {\n");
|
||||||
|
printf(" %.9ff", ResamplerFilter[0]);
|
||||||
|
for (i = 0; i < RESAMPLER_FILTER_SIZE-1; i++) {
|
||||||
|
printf("%s%.9ff", ((i % 5) == 4) ? ",\n " : ", ", ResamplerFilter[i+1]);
|
||||||
|
}
|
||||||
|
printf("\n};\n\n");
|
||||||
|
|
||||||
|
printf("static const float ResamplerFilterDifference[RESAMPLER_FILTER_SIZE] = {\n");
|
||||||
|
printf(" %.9ff", ResamplerFilterDifference[0]);
|
||||||
|
for (i = 0; i < RESAMPLER_FILTER_SIZE-1; i++) {
|
||||||
|
printf("%s%.9ff", ((i % 5) == 4) ? ",\n " : ", ", ResamplerFilterDifference[i+1]);
|
||||||
|
}
|
||||||
|
printf("\n};\n\n");
|
||||||
|
printf("/* vi: set ts=4 sw=4 expandtab: */\n\n");
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* vi: set ts=4 sw=4 expandtab: */
|
||||||
|
|
||||||
Executable → Regular
+3582
-2049
File diff suppressed because it is too large.
Load diff
@@ -1,42 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# This is the script buildbot.libsdl.org uses to cross-compile SDL2 from
|
|
||||||
# x86 Linux to OS/2, using OpenWatcom.
|
|
||||||
|
|
||||||
# The final zipfile can be unpacked on any machine that supports OpenWatcom
|
|
||||||
# (Windows, Linux, OS/2, etc). Point the compiler at the include directory
|
|
||||||
# and link against the SDL2.lib file. Ship the SDL2.dll with your app.
|
|
||||||
|
|
||||||
if [ -z "$WATCOM" ]; then
|
|
||||||
echo "This script expects \$WATCOM to be set to the OpenWatcom install dir." 1>&2
|
|
||||||
echo "This is often something like '/usr/local/share/watcom'" 1>&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
export PATH="$WATCOM/binl:$PATH"
|
|
||||||
|
|
||||||
ZIPFILE="$1"
|
|
||||||
if [ -z $1 ]; then
|
|
||||||
ZIPFILE=sdl-os2.zip
|
|
||||||
fi
|
|
||||||
ZIPDIR=buildbot/SDL
|
|
||||||
|
|
||||||
set -e
|
|
||||||
set -x
|
|
||||||
|
|
||||||
cd `dirname "$0"`
|
|
||||||
cd ..
|
|
||||||
|
|
||||||
rm -f $ZIPFILE
|
|
||||||
wmake -f Makefile.os2
|
|
||||||
rm -rf $ZIPDIR
|
|
||||||
mkdir -p $ZIPDIR
|
|
||||||
chmod a+r SDL2.lib SDL2.dll
|
|
||||||
mv SDL2.lib SDL2.dll $ZIPDIR/
|
|
||||||
cp -R include $ZIPDIR/
|
|
||||||
zip -9r "buildbot/$ZIPFILE" $ZIPDIR
|
|
||||||
|
|
||||||
wmake -f Makefile.os2 distclean
|
|
||||||
|
|
||||||
set +x
|
|
||||||
echo "All done. Final installable is in $ZIPFILE ...";
|
|
||||||
@@ -1,8 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
find . -type f -exec grep -Il "Copyright" {} \; \
|
find . -type f -exec grep -Il "Copyright" {} \; \
|
||||||
| grep -v \.git \
|
| grep -v \.git \
|
||||||
| while read file; \
|
| while read file; do \
|
||||||
do \
|
LC_ALL=C sed -b -i "s/\(.*Copyright.*\)[0-9]\{4\}\( *Sam Lantinga\)/\1`date +%Y`\2/" "$file"; \
|
||||||
LC_ALL=C sed -b -i "s/\(.*Copyright.*\)[0-9]\{4\}\( *Sam Lantinga\)/\1`date +%Y`\2/" "$file"; \
|
|
||||||
done
|
done
|
||||||
+382
-30
@@ -4,24 +4,101 @@ use warnings;
|
|||||||
use strict;
|
use strict;
|
||||||
use Text::Wrap;
|
use Text::Wrap;
|
||||||
|
|
||||||
|
$Text::Wrap::huge = 'overflow';
|
||||||
|
|
||||||
|
my $projectfullname = 'Simple Directmedia Layer';
|
||||||
|
my $projectshortname = 'SDL';
|
||||||
|
my $wikisubdir = '';
|
||||||
|
my $incsubdir = 'include';
|
||||||
|
my $apiprefixregex = undef;
|
||||||
|
my $versionfname = 'include/SDL_version.h';
|
||||||
|
my $versionmajorregex = '\A\#define\s+SDL_MAJOR_VERSION\s+(\d+)\Z';
|
||||||
|
my $versionminorregex = '\A\#define\s+SDL_MINOR_VERSION\s+(\d+)\Z';
|
||||||
|
my $versionpatchregex = '\A\#define\s+SDL_PATCHLEVEL\s+(\d+)\Z';
|
||||||
|
my $mainincludefname = 'SDL.h';
|
||||||
|
my $selectheaderregex = '\ASDL.*?\.h\Z';
|
||||||
|
my $projecturl = 'https://libsdl.org/';
|
||||||
|
my $wikiurl = 'https://wiki.libsdl.org';
|
||||||
|
my $bugreporturl = 'https://github.com/libsdl-org/sdlwiki/issues/new';
|
||||||
my $srcpath = undef;
|
my $srcpath = undef;
|
||||||
my $wikipath = undef;
|
my $wikipath = undef;
|
||||||
my $warn_about_missing = 0;
|
my $warn_about_missing = 0;
|
||||||
my $copy_direction = 0;
|
my $copy_direction = 0;
|
||||||
|
my $optionsfname = undef;
|
||||||
|
|
||||||
foreach (@ARGV) {
|
foreach (@ARGV) {
|
||||||
$warn_about_missing = 1, next if $_ eq '--warn-about-missing';
|
$warn_about_missing = 1, next if $_ eq '--warn-about-missing';
|
||||||
$copy_direction = 1, next if $_ eq '--copy-to-headers';
|
$copy_direction = 1, next if $_ eq '--copy-to-headers';
|
||||||
$copy_direction = 1, next if $_ eq '--copy-to-header';
|
$copy_direction = 1, next if $_ eq '--copy-to-header';
|
||||||
$copy_direction = -1, next if $_ eq '--copy-to-wiki';
|
$copy_direction = -1, next if $_ eq '--copy-to-wiki';
|
||||||
|
$copy_direction = -2, next if $_ eq '--copy-to-manpages';
|
||||||
|
if (/\A--options=(.*)\Z/) {
|
||||||
|
$optionsfname = $1;
|
||||||
|
next;
|
||||||
|
}
|
||||||
$srcpath = $_, next if not defined $srcpath;
|
$srcpath = $_, next if not defined $srcpath;
|
||||||
$wikipath = $_, next if not defined $wikipath;
|
$wikipath = $_, next if not defined $wikipath;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
my $default_optionsfname = '.wikiheaders-options';
|
||||||
|
$default_optionsfname = "$srcpath/$default_optionsfname" if defined $srcpath;
|
||||||
|
|
||||||
|
if ((not defined $optionsfname) && (-f $default_optionsfname)) {
|
||||||
|
$optionsfname = $default_optionsfname;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (defined $optionsfname) {
|
||||||
|
open OPTIONS, '<', $optionsfname or die("Failed to open options file '$optionsfname': $!\n");
|
||||||
|
while (<OPTIONS>) {
|
||||||
|
chomp;
|
||||||
|
if (/\A(.*?)\=(.*)\Z/) {
|
||||||
|
my $key = $1;
|
||||||
|
my $val = $2;
|
||||||
|
$key =~ s/\A\s+//;
|
||||||
|
$key =~ s/\s+\Z//;
|
||||||
|
$val =~ s/\A\s+//;
|
||||||
|
$val =~ s/\s+\Z//;
|
||||||
|
$warn_about_missing = int($val), next if $key eq 'warn_about_missing';
|
||||||
|
$srcpath = $val, next if $key eq 'srcpath';
|
||||||
|
$wikipath = $val, next if $key eq 'wikipath';
|
||||||
|
$apiprefixregex = $val, next if $key eq 'apiprefixregex';
|
||||||
|
$projectfullname = $val, next if $key eq 'projectfullname';
|
||||||
|
$projectshortname = $val, next if $key eq 'projectshortname';
|
||||||
|
$wikisubdir = $val, next if $key eq 'wikisubdir';
|
||||||
|
$incsubdir = $val, next if $key eq 'incsubdir';
|
||||||
|
$versionmajorregex = $val, next if $key eq 'versionmajorregex';
|
||||||
|
$versionminorregex = $val, next if $key eq 'versionminorregex';
|
||||||
|
$versionpatchregex = $val, next if $key eq 'versionpatchregex';
|
||||||
|
$versionfname = $val, next if $key eq 'versionfname';
|
||||||
|
$mainincludefname = $val, next if $key eq 'mainincludefname';
|
||||||
|
$selectheaderregex = $val, next if $key eq 'selectheaderregex';
|
||||||
|
$projecturl = $val, next if $key eq 'projecturl';
|
||||||
|
$wikiurl = $val, next if $key eq 'wikiurl';
|
||||||
|
$bugreporturl = $val, next if $key eq 'bugreporturl';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
close(OPTIONS);
|
||||||
|
}
|
||||||
|
|
||||||
my $wordwrap_mode = 'mediawiki';
|
my $wordwrap_mode = 'mediawiki';
|
||||||
sub wordwrap_atom { # don't call this directly.
|
sub wordwrap_atom { # don't call this directly.
|
||||||
my $str = shift;
|
my $str = shift;
|
||||||
return fill('', '', $str);
|
my $retval = '';
|
||||||
|
|
||||||
|
# wordwrap but leave links intact, even if they overflow.
|
||||||
|
if ($wordwrap_mode eq 'mediawiki') {
|
||||||
|
while ($str =~ s/(.*?)\s*(\[https?\:\/\/.*?\s+.*?\])\s*//ms) {
|
||||||
|
$retval .= fill('', '', $1); # wrap it.
|
||||||
|
$retval .= "\n$2\n"; # don't wrap it.
|
||||||
|
}
|
||||||
|
} elsif ($wordwrap_mode eq 'md') {
|
||||||
|
while ($str =~ s/(.*?)\s*(\[.*?\]\(https?\:\/\/.*?\))\s*//ms) {
|
||||||
|
$retval .= fill('', '', $1); # wrap it.
|
||||||
|
$retval .= "\n$2\n"; # don't wrap it.
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return $retval . fill('', '', $str);
|
||||||
}
|
}
|
||||||
|
|
||||||
sub wordwrap_with_bullet_indent { # don't call this directly.
|
sub wordwrap_with_bullet_indent { # don't call this directly.
|
||||||
@@ -141,16 +218,23 @@ sub wikify_chunk {
|
|||||||
while ($str =~ s/\A(.*?)\`(.*?)\`//ms) {
|
while ($str =~ s/\A(.*?)\`(.*?)\`//ms) {
|
||||||
my $codeblock = $2;
|
my $codeblock = $2;
|
||||||
$codedstr .= wikify_chunk($wikitype, $1, undef, undef);
|
$codedstr .= wikify_chunk($wikitype, $1, undef, undef);
|
||||||
# Convert obvious SDL things to wikilinks, even inside `code` blocks.
|
if (defined $apiprefixregex) {
|
||||||
$codeblock =~ s/\b(SDL_[a-zA-Z0-9_]+)/[[$1]]/gms;
|
# Convert obvious API things to wikilinks, even inside `code` blocks.
|
||||||
|
$codeblock =~ s/\b($apiprefixregex[a-zA-Z0-9_]+)/[[$1]]/gms;
|
||||||
|
}
|
||||||
$codedstr .= "<code>$codeblock</code>";
|
$codedstr .= "<code>$codeblock</code>";
|
||||||
}
|
}
|
||||||
|
|
||||||
# Convert obvious SDL things to wikilinks.
|
# Convert obvious API things to wikilinks.
|
||||||
$str =~ s/\b(SDL_[a-zA-Z0-9_]+)/[[$1]]/gms;
|
if (defined $apiprefixregex) {
|
||||||
|
$str =~ s/\b($apiprefixregex[a-zA-Z0-9_]+)/[[$1]]/gms;
|
||||||
|
}
|
||||||
|
|
||||||
# Make some Markdown things into MediaWiki...
|
# Make some Markdown things into MediaWiki...
|
||||||
|
|
||||||
|
# links
|
||||||
|
$str =~ s/\[(.*?)\]\((https?\:\/\/.*?)\)/\[$2 $1\]/g;
|
||||||
|
|
||||||
# bold+italic
|
# bold+italic
|
||||||
$str =~ s/\*\*\*(.*?)\*\*\*/'''''$1'''''/gms;
|
$str =~ s/\*\*\*(.*?)\*\*\*/'''''$1'''''/gms;
|
||||||
|
|
||||||
@@ -169,8 +253,10 @@ sub wikify_chunk {
|
|||||||
$str .= "<syntaxhighlight lang='$codelang'>$code<\/syntaxhighlight>";
|
$str .= "<syntaxhighlight lang='$codelang'>$code<\/syntaxhighlight>";
|
||||||
}
|
}
|
||||||
} elsif ($wikitype eq 'md') {
|
} elsif ($wikitype eq 'md') {
|
||||||
# Convert obvious SDL things to wikilinks.
|
# Convert obvious API things to wikilinks.
|
||||||
$str =~ s/\b(SDL_[a-zA-Z0-9_]+)/[$1]($1)/gms;
|
if (defined $apiprefixregex) {
|
||||||
|
$str =~ s/\b($apiprefixregex[a-zA-Z0-9_]+)/[$1]($1)/gms;
|
||||||
|
}
|
||||||
if (defined $code) {
|
if (defined $code) {
|
||||||
$str .= "```$codelang$code```";
|
$str .= "```$codelang$code```";
|
||||||
}
|
}
|
||||||
@@ -199,6 +285,9 @@ sub wikify {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
my $dewikify_mode = 'md';
|
||||||
|
my $dewikify_manpage_code_indent = 1;
|
||||||
|
|
||||||
sub dewikify_chunk {
|
sub dewikify_chunk {
|
||||||
my $wikitype = shift;
|
my $wikitype = shift;
|
||||||
my $str = shift;
|
my $str = shift;
|
||||||
@@ -207,30 +296,79 @@ sub dewikify_chunk {
|
|||||||
|
|
||||||
#print("\n\nDEWIKIFY CHUNK:\n\n$str\n\n\n");
|
#print("\n\nDEWIKIFY CHUNK:\n\n$str\n\n\n");
|
||||||
|
|
||||||
if ($wikitype eq 'mediawiki') {
|
if ($dewikify_mode eq 'md') {
|
||||||
# Doxygen supports Markdown (and it just simply looks better than MediaWiki
|
if ($wikitype eq 'mediawiki') {
|
||||||
# when looking at the raw headers), so do some conversions here as necessary.
|
# Doxygen supports Markdown (and it just simply looks better than MediaWiki
|
||||||
|
# when looking at the raw headers), so do some conversions here as necessary.
|
||||||
|
|
||||||
$str =~ s/\[\[(SDL_[a-zA-Z0-9_]+)\]\]/$1/gms; # Dump obvious wikilinks.
|
# Dump obvious wikilinks.
|
||||||
|
if (defined $apiprefixregex) {
|
||||||
|
$str =~ s/\[\[($apiprefixregex[a-zA-Z0-9_]+)\]\]/$1/gms;
|
||||||
|
}
|
||||||
|
|
||||||
# <code></code> is also popular. :/
|
# links
|
||||||
$str =~ s/\<code>(.*?)<\/code>/`$1`/gms;
|
$str =~ s/\[(https?\:\/\/.*?)\s+(.*?)\]/\[$2\]\($1\)/g;
|
||||||
|
|
||||||
# bold+italic
|
# <code></code> is also popular. :/
|
||||||
$str =~ s/\'''''(.*?)'''''/***$1***/gms;
|
$str =~ s/\<code>(.*?)<\/code>/`$1`/gms;
|
||||||
|
|
||||||
# bold
|
# bold+italic
|
||||||
$str =~ s/\'''(.*?)'''/**$1**/gms;
|
$str =~ s/'''''(.*?)'''''/***$1***/gms;
|
||||||
|
|
||||||
# italic
|
# bold
|
||||||
$str =~ s/\''(.*?)''/*$1*/gms;
|
$str =~ s/'''(.*?)'''/**$1**/gms;
|
||||||
|
|
||||||
# bullets
|
# italic
|
||||||
$str =~ s/^\* /- /gm;
|
$str =~ s/''(.*?)''/*$1*/gms;
|
||||||
}
|
|
||||||
|
|
||||||
if (defined $code) {
|
# bullets
|
||||||
$str .= "```$codelang$code```";
|
$str =~ s/^\* /- /gm;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (defined $code) {
|
||||||
|
$str .= "```$codelang$code```";
|
||||||
|
}
|
||||||
|
} elsif ($dewikify_mode eq 'manpage') {
|
||||||
|
$str =~ s/\./\\[char46]/gms; # make sure these can't become control codes.
|
||||||
|
if ($wikitype eq 'mediawiki') {
|
||||||
|
# Dump obvious wikilinks.
|
||||||
|
if (defined $apiprefixregex) {
|
||||||
|
$str =~ s/\s*\[\[($apiprefixregex[a-zA-Z0-9_]+)\]\]\s*/\n.BR $1\n/gms;
|
||||||
|
}
|
||||||
|
|
||||||
|
# links
|
||||||
|
$str =~ s/\[(https?\:\/\/.*?)\s+(.*?)\]/\n.URL "$1" "$2"\n/g;
|
||||||
|
|
||||||
|
# <code></code> is also popular. :/
|
||||||
|
$str =~ s/\s*\<code>(.*?)<\/code>\s*/\n.BR $1\n/gms;
|
||||||
|
|
||||||
|
# bold+italic
|
||||||
|
$str =~ s/\s*'''''(.*?)'''''\s*/\n.BI $1\n/gms;
|
||||||
|
|
||||||
|
# bold
|
||||||
|
$str =~ s/\s*'''(.*?)'''\s*/\n.B $1\n/gms;
|
||||||
|
|
||||||
|
# italic
|
||||||
|
$str =~ s/\s*''(.*?)''\s*/\n.I $1\n/gms;
|
||||||
|
|
||||||
|
# bullets
|
||||||
|
$str =~ s/^\* /\n\\\(bu /gm;
|
||||||
|
} else {
|
||||||
|
die("Unexpected wikitype when converting to manpages\n"); # !!! FIXME: need to handle Markdown wiki pages.
|
||||||
|
}
|
||||||
|
|
||||||
|
if (defined $code) {
|
||||||
|
$code =~ s/\A\n+//gms;
|
||||||
|
$code =~ s/\n+\Z//gms;
|
||||||
|
if ($dewikify_manpage_code_indent) {
|
||||||
|
$str .= "\n.IP\n"
|
||||||
|
} else {
|
||||||
|
$str .= "\n.PP\n"
|
||||||
|
}
|
||||||
|
$str .= ".EX\n$code\n.EE\n.PP\n";
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
die("Unexpected dewikify_mode\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
#print("\n\nDEWIKIFY CHUNK DONE:\n\n$str\n\n\n");
|
#print("\n\nDEWIKIFY CHUNK DONE:\n\n$str\n\n\n");
|
||||||
@@ -260,7 +398,7 @@ sub dewikify {
|
|||||||
}
|
}
|
||||||
|
|
||||||
sub usage {
|
sub usage {
|
||||||
die("USAGE: $0 <source code git clone path> <wiki git clone path> [--copy-to-headers|--copy-to-wiki] [--warn-about-missing]\n\n");
|
die("USAGE: $0 <source code git clone path> <wiki git clone path> [--copy-to-headers|--copy-to-wiki|--copy-to-manpages] [--warn-about-missing]\n\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
usage() if not defined $srcpath;
|
usage() if not defined $srcpath;
|
||||||
@@ -295,11 +433,13 @@ my %headerfuncslocation = (); # $headerfuncslocation{"SDL_OpenAudio"} -> name
|
|||||||
my %headerfuncschunk = (); # $headerfuncschunk{"SDL_OpenAudio"} -> offset in array in %headers that should be replaced for this function.
|
my %headerfuncschunk = (); # $headerfuncschunk{"SDL_OpenAudio"} -> offset in array in %headers that should be replaced for this function.
|
||||||
my %headerfuncshasdoxygen = (); # $headerfuncschunk{"SDL_OpenAudio"} -> 1 if there was no existing doxygen for this function.
|
my %headerfuncshasdoxygen = (); # $headerfuncschunk{"SDL_OpenAudio"} -> 1 if there was no existing doxygen for this function.
|
||||||
|
|
||||||
my $incpath = "$srcpath/include";
|
my $incpath = "$srcpath";
|
||||||
|
$incpath .= "/$incsubdir" if $incsubdir ne '';
|
||||||
|
|
||||||
opendir(DH, $incpath) or die("Can't opendir '$incpath': $!\n");
|
opendir(DH, $incpath) or die("Can't opendir '$incpath': $!\n");
|
||||||
while (readdir(DH)) {
|
while (readdir(DH)) {
|
||||||
my $dent = $_;
|
my $dent = $_;
|
||||||
next if not $dent =~ /\ASDL.*?\.h\Z/; # just SDL*.h headers.
|
next if not $dent =~ /$selectheaderregex/; # just selected headers.
|
||||||
open(FH, '<', "$incpath/$dent") or die("Can't open '$incpath/$dent': $!\n");
|
open(FH, '<', "$incpath/$dent") or die("Can't open '$incpath/$dent': $!\n");
|
||||||
|
|
||||||
my @contents = ();
|
my @contents = ();
|
||||||
@@ -449,7 +589,7 @@ opendir(DH, $wikipath) or die("Can't opendir '$wikipath': $!\n");
|
|||||||
while (readdir(DH)) {
|
while (readdir(DH)) {
|
||||||
my $dent = $_;
|
my $dent = $_;
|
||||||
my $type = '';
|
my $type = '';
|
||||||
if ($dent =~ /\ASDL.*?\.(md|mediawiki)\Z/) {
|
if ($dent =~ /\.(md|mediawiki)\Z/) {
|
||||||
$type = $1;
|
$type = $1;
|
||||||
} else {
|
} else {
|
||||||
next; # only dealing with wiki pages.
|
next; # only dealing with wiki pages.
|
||||||
@@ -551,6 +691,7 @@ if ($warn_about_missing) {
|
|||||||
if ($copy_direction == 1) { # --copy-to-headers
|
if ($copy_direction == 1) { # --copy-to-headers
|
||||||
my %changed_headers = ();
|
my %changed_headers = ();
|
||||||
|
|
||||||
|
$dewikify_mode = 'md';
|
||||||
$wordwrap_mode = 'md'; # the headers use Markdown format.
|
$wordwrap_mode = 'md'; # the headers use Markdown format.
|
||||||
|
|
||||||
foreach (keys %headerfuncs) {
|
foreach (keys %headerfuncs) {
|
||||||
@@ -676,6 +817,7 @@ if ($copy_direction == 1) { # --copy-to-headers
|
|||||||
foreach (@desclines) {
|
foreach (@desclines) {
|
||||||
s/\A(\:|\* )//;
|
s/\A(\:|\* )//;
|
||||||
s/\(\)\Z//; # Convert "SDL_Func()" to "SDL_Func"
|
s/\(\)\Z//; # Convert "SDL_Func()" to "SDL_Func"
|
||||||
|
s/\A\/*//;
|
||||||
$str .= "\\sa $_\n";
|
$str .= "\\sa $_\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -740,7 +882,7 @@ if ($copy_direction == 1) { # --copy-to-headers
|
|||||||
my $fn = $_;
|
my $fn = $_;
|
||||||
next if not $headerfuncshasdoxygen{$fn};
|
next if not $headerfuncshasdoxygen{$fn};
|
||||||
my $wikitype = defined $wikitypes{$fn} ? $wikitypes{$fn} : 'mediawiki'; # default to MediaWiki for new stuff FOR NOW.
|
my $wikitype = defined $wikitypes{$fn} ? $wikitypes{$fn} : 'mediawiki'; # default to MediaWiki for new stuff FOR NOW.
|
||||||
die("Unexpected wikitype '$wikitype'\n") if (($wikitype ne 'mediawiki') and ($wikitype ne 'md'));
|
die("Unexpected wikitype '$wikitype'\n") if (($wikitype ne 'mediawiki') and ($wikitype ne 'md') and ($wikitype ne 'manpage'));
|
||||||
|
|
||||||
#print("$fn\n"); next;
|
#print("$fn\n"); next;
|
||||||
|
|
||||||
@@ -884,7 +1026,7 @@ if ($copy_direction == 1) { # --copy-to-headers
|
|||||||
if ($wikitype eq 'mediawiki') {
|
if ($wikitype eq 'mediawiki') {
|
||||||
$sections{'Related Functions'} .= ":[[$sa]]\n";
|
$sections{'Related Functions'} .= ":[[$sa]]\n";
|
||||||
} elsif ($wikitype eq 'md') {
|
} elsif ($wikitype eq 'md') {
|
||||||
$sections{'Related Functions'} .= "* [$sa](/$sa)\n";
|
$sections{'Related Functions'} .= "* [$sa]($sa)\n";
|
||||||
} else { die("Expected wikitype '$wikitype'\n"); }
|
} else { die("Expected wikitype '$wikitype'\n"); }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1009,6 +1151,216 @@ if ($copy_direction == 1) { # --copy-to-headers
|
|||||||
close(FH);
|
close(FH);
|
||||||
rename($path, "$wikipath/$_.${wikitype}") or die("Can't rename '$path' to '$wikipath/$_.${wikitype}': $!\n");
|
rename($path, "$wikipath/$_.${wikitype}") or die("Can't rename '$path' to '$wikipath/$_.${wikitype}': $!\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
} elsif ($copy_direction == -2) { # --copy-to-manpages
|
||||||
|
# This only takes from the wiki data, since it has sections we omit from the headers, like code examples.
|
||||||
|
|
||||||
|
my $manpath = "$srcpath/man";
|
||||||
|
mkdir($manpath);
|
||||||
|
$manpath .= "/man3";
|
||||||
|
mkdir($manpath);
|
||||||
|
|
||||||
|
$dewikify_mode = 'manpage';
|
||||||
|
$wordwrap_mode = 'manpage';
|
||||||
|
|
||||||
|
my $introtxt = '';
|
||||||
|
if (0) {
|
||||||
|
open(FH, '<', "$srcpath/LICENSE.txt") or die("Can't open '$srcpath/LICENSE.txt': $!\n");
|
||||||
|
while (<FH>) {
|
||||||
|
chomp;
|
||||||
|
$introtxt .= ".\\\" $_\n";
|
||||||
|
}
|
||||||
|
close(FH);
|
||||||
|
}
|
||||||
|
|
||||||
|
my $gitrev = `cd "$srcpath" ; git rev-list HEAD~..`;
|
||||||
|
chomp($gitrev);
|
||||||
|
|
||||||
|
# !!! FIXME
|
||||||
|
open(FH, '<', "$srcpath/$versionfname") or die("Can't open '$srcpath/$versionfname': $!\n");
|
||||||
|
my $majorver = 0;
|
||||||
|
my $minorver = 0;
|
||||||
|
my $patchver = 0;
|
||||||
|
while (<FH>) {
|
||||||
|
chomp;
|
||||||
|
if (/$versionmajorregex/) {
|
||||||
|
$majorver = int($1);
|
||||||
|
} elsif (/$versionminorregex/) {
|
||||||
|
$minorver = int($1);
|
||||||
|
} elsif (/$versionpatchregex/) {
|
||||||
|
$patchver = int($1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
close(FH);
|
||||||
|
my $fullversion = "$majorver.$minorver.$patchver";
|
||||||
|
|
||||||
|
foreach (keys %headerfuncs) {
|
||||||
|
my $fn = $_;
|
||||||
|
next if not defined $wikifuncs{$fn}; # don't have a page for that function, skip it.
|
||||||
|
my $wikitype = $wikitypes{$fn};
|
||||||
|
my $sectionsref = $wikifuncs{$fn};
|
||||||
|
my $remarks = %$sectionsref{'Remarks'};
|
||||||
|
my $params = %$sectionsref{'Function Parameters'};
|
||||||
|
my $returns = %$sectionsref{'Return Value'};
|
||||||
|
my $version = %$sectionsref{'Version'};
|
||||||
|
my $related = %$sectionsref{'Related Functions'};
|
||||||
|
my $examples = %$sectionsref{'Code Examples'};
|
||||||
|
my $deprecated = %$sectionsref{'Deprecated'};
|
||||||
|
my $brief = %$sectionsref{'[Brief]'};
|
||||||
|
my $decl = $headerdecls{$fn};
|
||||||
|
my $str = '';
|
||||||
|
|
||||||
|
$brief = "$brief";
|
||||||
|
$brief =~ s/\A[\s\n]*\= .*? \=\s*?\n+//ms;
|
||||||
|
$brief =~ s/\A[\s\n]*\=\= .*? \=\=\s*?\n+//ms;
|
||||||
|
$brief =~ s/\A(.*?\.) /$1\n/; # \brief should only be one sentence, delimited by a period+space. Split if necessary.
|
||||||
|
my @briefsplit = split /\n/, $brief;
|
||||||
|
$brief = shift @briefsplit;
|
||||||
|
$brief = dewikify($wikitype, $brief);
|
||||||
|
|
||||||
|
if (defined $remarks) {
|
||||||
|
$remarks = dewikify($wikitype, join("\n", @briefsplit) . $remarks);
|
||||||
|
}
|
||||||
|
|
||||||
|
$str .= $introtxt;
|
||||||
|
|
||||||
|
$str .= ".\\\" This manpage content is licensed under Creative Commons\n";
|
||||||
|
$str .= ".\\\" Attribution 4.0 International (CC BY 4.0)\n";
|
||||||
|
$str .= ".\\\" https://creativecommons.org/licenses/by/4.0/\n";
|
||||||
|
$str .= ".\\\" This manpage was generated from ${projectshortname}'s wiki page for $fn:\n";
|
||||||
|
$str .= ".\\\" $wikiurl/$fn\n";
|
||||||
|
$str .= ".\\\" Generated with SDL/build-scripts/wikiheaders.pl\n";
|
||||||
|
$str .= ".\\\" revision $gitrev\n" if $gitrev ne '';
|
||||||
|
$str .= ".\\\" Please report issues in this manpage's content at:\n";
|
||||||
|
$str .= ".\\\" $bugreporturl\n";
|
||||||
|
$str .= ".\\\" Please report issues in the generation of this manpage from the wiki at:\n";
|
||||||
|
$str .= ".\\\" https://github.com/libsdl-org/SDL/issues/new?title=Misgenerated%20manpage%20for%20$fn\n";
|
||||||
|
$str .= ".\\\" $projectshortname can be found at $projecturl\n";
|
||||||
|
|
||||||
|
# Define a .URL macro. The "www.tmac" thing decides if we're using GNU roff (which has a .URL macro already), and if so, overrides the macro we just created.
|
||||||
|
# This wizadry is from https://web.archive.org/web/20060102165607/http://people.debian.org/~branden/talks/wtfm/wtfm.pdf
|
||||||
|
$str .= ".de URL\n";
|
||||||
|
$str .= '\\$2 \(laURL: \\$1 \(ra\\$3' . "\n";
|
||||||
|
$str .= "..\n";
|
||||||
|
$str .= '.if \n[.g] .mso www.tmac' . "\n";
|
||||||
|
|
||||||
|
$str .= ".TH $fn 3 \"$projectshortname $fullversion\" \"$projectfullname\" \"$projectshortname$majorver FUNCTIONS\"\n";
|
||||||
|
$str .= ".SH NAME\n";
|
||||||
|
|
||||||
|
$str .= "$fn";
|
||||||
|
$str .= " \\- $brief" if (defined $brief);
|
||||||
|
$str .= "\n";
|
||||||
|
|
||||||
|
$str .= ".SH SYNOPSIS\n";
|
||||||
|
$str .= ".nf\n";
|
||||||
|
$str .= ".B #include \\(dq$mainincludefname\\(dq\n";
|
||||||
|
$str .= ".PP\n";
|
||||||
|
|
||||||
|
my @decllines = split /\n/, $decl;
|
||||||
|
foreach (@decllines) {
|
||||||
|
$str .= ".BI \"$_\n";
|
||||||
|
}
|
||||||
|
$str .= ".fi\n";
|
||||||
|
|
||||||
|
if (defined $remarks) {
|
||||||
|
$str .= ".SH DESCRIPTION\n";
|
||||||
|
$str .= $remarks . "\n";
|
||||||
|
}
|
||||||
|
|
||||||
|
if (defined $deprecated) {
|
||||||
|
$str .= ".SH DEPRECATED\n";
|
||||||
|
$str .= dewikify($wikitype, $deprecated) . "\n";
|
||||||
|
}
|
||||||
|
|
||||||
|
if (defined $params) {
|
||||||
|
$str .= ".SH FUNCTION PARAMETERS\n";
|
||||||
|
my @lines = split /\n/, $params;
|
||||||
|
if ($wikitype eq 'mediawiki') {
|
||||||
|
die("Unexpected data parsing MediaWiki table") if (shift @lines ne '{|'); # Dump the '{|' start
|
||||||
|
while (scalar(@lines) >= 3) {
|
||||||
|
my $name = shift @lines;
|
||||||
|
my $desc = shift @lines;
|
||||||
|
my $terminator = shift @lines; # the '|-' or '|}' line.
|
||||||
|
last if ($terminator ne '|-') and ($terminator ne '|}'); # we seem to have run out of table.
|
||||||
|
$name =~ s/\A\|\s*//;
|
||||||
|
$name =~ s/\A\*\*(.*?)\*\*/$1/;
|
||||||
|
$name =~ s/\A\'\'\'(.*?)\'\'\'/$1/;
|
||||||
|
$desc =~ s/\A\|\s*//;
|
||||||
|
$desc = dewikify($wikitype, $desc);
|
||||||
|
#print STDERR "FN: $fn NAME: $name DESC: $desc TERM: $terminator\n";
|
||||||
|
|
||||||
|
$str .= ".TP\n";
|
||||||
|
$str .= ".I $name\n";
|
||||||
|
$str .= "$desc\n";
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
die("write me");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (defined $returns) {
|
||||||
|
$str .= ".SH RETURN VALUE\n";
|
||||||
|
$str .= dewikify($wikitype, $returns) . "\n";
|
||||||
|
}
|
||||||
|
|
||||||
|
if (defined $examples) {
|
||||||
|
$str .= ".SH CODE EXAMPLES\n";
|
||||||
|
$dewikify_manpage_code_indent = 0;
|
||||||
|
$str .= dewikify($wikitype, $examples) . "\n";
|
||||||
|
$dewikify_manpage_code_indent = 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (defined $version) {
|
||||||
|
$str .= ".SH AVAILABILITY\n";
|
||||||
|
$str .= dewikify($wikitype, $version) . "\n";
|
||||||
|
}
|
||||||
|
|
||||||
|
if (defined $related) {
|
||||||
|
$str .= ".SH SEE ALSO\n";
|
||||||
|
# !!! FIXME: lots of code duplication in all of these.
|
||||||
|
my $v = dewikify($wikitype, $related);
|
||||||
|
my @desclines = split /\n/, $v;
|
||||||
|
my $nextstr = '';
|
||||||
|
foreach (@desclines) {
|
||||||
|
s/\A(\:|\* )//;
|
||||||
|
s/\(\)\Z//; # Convert "SDL_Func()" to "SDL_Func"
|
||||||
|
s/\A\/*//;
|
||||||
|
s/\A\.BR\s+//; # dewikify added this, but we want to handle it.
|
||||||
|
s/\A\s+//;
|
||||||
|
s/\s+\Z//;
|
||||||
|
next if $_ eq '';
|
||||||
|
$str .= "$nextstr.BR $_ (3)";
|
||||||
|
$nextstr = ",\n";
|
||||||
|
}
|
||||||
|
$str .= "\n";
|
||||||
|
}
|
||||||
|
|
||||||
|
if (0) {
|
||||||
|
$str .= ".SH COPYRIGHT\n";
|
||||||
|
$str .= "This manpage is licensed under\n";
|
||||||
|
$str .= ".UR https://creativecommons.org/licenses/by/4.0/\n";
|
||||||
|
$str .= "Creative Commons Attribution 4.0 International (CC BY 4.0)\n";
|
||||||
|
$str .= ".UE\n";
|
||||||
|
$str .= ".PP\n";
|
||||||
|
$str .= "This manpage was generated from\n";
|
||||||
|
$str .= ".UR $wikiurl/$fn\n";
|
||||||
|
$str .= "${projectshortname}'s wiki\n";
|
||||||
|
$str .= ".UE\n";
|
||||||
|
$str .= "using SDL/build-scripts/wikiheaders.pl";
|
||||||
|
$str .= " revision $gitrev" if $gitrev ne '';
|
||||||
|
$str .= ".\n";
|
||||||
|
$str .= "Please report issues in this manpage at\n";
|
||||||
|
$str .= ".UR $bugreporturl\n";
|
||||||
|
$str .= "our bugtracker!\n";
|
||||||
|
$str .= ".UE\n";
|
||||||
|
}
|
||||||
|
|
||||||
|
my $path = "$manpath/$_.3.tmp";
|
||||||
|
open(FH, '>', $path) or die("Can't open '$path': $!\n");
|
||||||
|
print FH $str;
|
||||||
|
close(FH);
|
||||||
|
rename($path, "$manpath/$_.3") or die("Can't rename '$path' to '$manpath/$_.3': $!\n");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# end of wikiheaders.pl ...
|
# end of wikiheaders.pl ...
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
# Base version of SDL, used for packaging purposes
|
# Base version of SDL, used for packaging purposes
|
||||||
$SDLVersion = "2.0.18"
|
$SDLVersion = "2.23.1"
|
||||||
|
|
||||||
# Gets the .bat file that sets up an MSBuild environment, given one of
|
# Gets the .bat file that sets up an MSBuild environment, given one of
|
||||||
# Visual Studio's, "PlatformToolset"s.
|
# Visual Studio's, "PlatformToolset"s.
|
||||||
|
|||||||
+20
-9
@@ -17,8 +17,8 @@ macro(SET_OPTION _NAME _DESC)
|
|||||||
endmacro()
|
endmacro()
|
||||||
|
|
||||||
macro(DEP_OPTION _NAME _DESC _DEFLT _DEPTEST _FAILDFLT)
|
macro(DEP_OPTION _NAME _DESC _DEFLT _DEPTEST _FAILDFLT)
|
||||||
add_to_alloptions(${_NAME})
|
add_to_alloptions("${_NAME}")
|
||||||
cmake_dependent_option(${_NAME} ${_DESC} ${_DEFLT} ${_DEPTEST} ${_FAILDFLT})
|
cmake_dependent_option("${_NAME}" "${_DESC}" "${_DEFLT}" "${_DEPTEST}" "${_FAILDFLT}")
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
||||||
macro(OPTION_STRING _NAME _DESC _VALUE)
|
macro(OPTION_STRING _NAME _DESC _VALUE)
|
||||||
@@ -92,11 +92,22 @@ macro(LISTTOSTRREV _LIST _OUTPUT)
|
|||||||
endforeach()
|
endforeach()
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
||||||
|
if(${CMAKE_VERSION} VERSION_LESS "3.16.0")
|
||||||
|
macro(CHECK_OBJC_SOURCE_COMPILES SOURCE VAR)
|
||||||
|
set(PREV_REQUIRED_DEFS "${CMAKE_REQUIRED_DEFINITIONS}")
|
||||||
|
set(CMAKE_REQUIRED_DEFINITIONS "-x objective-c ${PREV_REQUIRED_DEFS}")
|
||||||
|
CHECK_C_SOURCE_COMPILES(${SOURCE} ${VAR})
|
||||||
|
set(CMAKE_REQUIRED_DEFINITIONS "${PREV_REQUIRED_DEFS}")
|
||||||
|
endmacro()
|
||||||
|
else()
|
||||||
|
include(CheckOBJCSourceCompiles)
|
||||||
|
if (APPLE)
|
||||||
|
enable_language(OBJC)
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
macro(CHECK_OBJC_SOURCE_COMPILES SOURCE VAR)
|
if(CMAKE_VERSION VERSION_LESS 3.13.0)
|
||||||
set(PREV_REQUIRED_DEFS "${CMAKE_REQUIRED_DEFINITIONS}")
|
macro(target_link_directories _TARGET _SCOPE)
|
||||||
set(CMAKE_REQUIRED_DEFINITIONS "-x objective-c ${PREV_REQUIRED_DEFS}")
|
link_directories(${ARGN})
|
||||||
CHECK_C_SOURCE_COMPILES(${SOURCE} ${VAR})
|
endmacro()
|
||||||
set(CMAKE_REQUIRED_DEFINITIONS "${PREV_REQUIRED_DEFS}")
|
endif()
|
||||||
endmacro()
|
|
||||||
|
|
||||||
+106
-109
@@ -48,6 +48,7 @@ macro(CheckDLOPEN)
|
|||||||
int main(int argc, char **argv) {
|
int main(int argc, char **argv) {
|
||||||
void *handle = dlopen(\"\", RTLD_NOW);
|
void *handle = dlopen(\"\", RTLD_NOW);
|
||||||
const char *loaderror = (char *) dlerror();
|
const char *loaderror = (char *) dlerror();
|
||||||
|
return 0;
|
||||||
}" HAVE_DLOPEN)
|
}" HAVE_DLOPEN)
|
||||||
set(CMAKE_REQUIRED_LIBRARIES)
|
set(CMAKE_REQUIRED_LIBRARIES)
|
||||||
endif()
|
endif()
|
||||||
@@ -57,8 +58,7 @@ macro(CheckO_CLOEXEC)
|
|||||||
check_c_source_compiles("
|
check_c_source_compiles("
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
int flag = O_CLOEXEC;
|
int flag = O_CLOEXEC;
|
||||||
int main(void) {
|
int main(int argc, char **argv) { return 0; }" HAVE_O_CLOEXEC)
|
||||||
}" HAVE_O_CLOEXEC)
|
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
||||||
# Requires:
|
# Requires:
|
||||||
@@ -68,12 +68,12 @@ macro(CheckOSS)
|
|||||||
set(OSS_HEADER_FILE "sys/soundcard.h")
|
set(OSS_HEADER_FILE "sys/soundcard.h")
|
||||||
check_c_source_compiles("
|
check_c_source_compiles("
|
||||||
#include <sys/soundcard.h>
|
#include <sys/soundcard.h>
|
||||||
int main() { int arg = SNDCTL_DSP_SETFRAGMENT; }" OSS_FOUND)
|
int main(int argc, char **argv) { int arg = SNDCTL_DSP_SETFRAGMENT; return 0; }" OSS_FOUND)
|
||||||
if(NOT OSS_FOUND)
|
if(NOT OSS_FOUND)
|
||||||
set(OSS_HEADER_FILE "soundcard.h")
|
set(OSS_HEADER_FILE "soundcard.h")
|
||||||
check_c_source_compiles("
|
check_c_source_compiles("
|
||||||
#include <soundcard.h>
|
#include <soundcard.h>
|
||||||
int main() { int arg = SNDCTL_DSP_SETFRAGMENT; }" OSS_FOUND)
|
int main(int argc, char **argv) { int arg = SNDCTL_DSP_SETFRAGMENT; return 0; }" OSS_FOUND)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(OSS_FOUND)
|
if(OSS_FOUND)
|
||||||
@@ -83,7 +83,7 @@ macro(CheckOSS)
|
|||||||
set(SDL_AUDIO_DRIVER_OSS_SOUNDCARD_H 1)
|
set(SDL_AUDIO_DRIVER_OSS_SOUNDCARD_H 1)
|
||||||
endif()
|
endif()
|
||||||
set(SDL_AUDIO_DRIVER_OSS 1)
|
set(SDL_AUDIO_DRIVER_OSS 1)
|
||||||
set(SOURCE_FILES ${SOURCE_FILES} ${OSS_SOURCES})
|
list(APPEND SOURCE_FILES ${OSS_SOURCES})
|
||||||
if(NETBSD OR OPENBSD)
|
if(NETBSD OR OPENBSD)
|
||||||
list(APPEND EXTRA_LIBS ossaudio)
|
list(APPEND EXTRA_LIBS ossaudio)
|
||||||
endif()
|
endif()
|
||||||
@@ -106,13 +106,13 @@ macro(CheckALSA)
|
|||||||
if(HAVE_LIBASOUND)
|
if(HAVE_LIBASOUND)
|
||||||
set(HAVE_ALSA TRUE)
|
set(HAVE_ALSA TRUE)
|
||||||
file(GLOB ALSA_SOURCES ${SDL2_SOURCE_DIR}/src/audio/alsa/*.c)
|
file(GLOB ALSA_SOURCES ${SDL2_SOURCE_DIR}/src/audio/alsa/*.c)
|
||||||
set(SOURCE_FILES ${SOURCE_FILES} ${ALSA_SOURCES})
|
list(APPEND SOURCE_FILES ${ALSA_SOURCES})
|
||||||
set(SDL_AUDIO_DRIVER_ALSA 1)
|
set(SDL_AUDIO_DRIVER_ALSA 1)
|
||||||
if(SDL_ALSA_SHARED AND NOT HAVE_SDL_LOADSO)
|
if(SDL_ALSA_SHARED AND NOT HAVE_SDL_LOADSO)
|
||||||
message_warn("You must have SDL_LoadObject() support for dynamic ALSA loading")
|
message_warn("You must have SDL_LoadObject() support for dynamic ALSA loading")
|
||||||
endif()
|
endif()
|
||||||
if(SDL_ALSA_SHARED AND HAVE_SDL_LOADSO)
|
FindLibraryAndSONAME("asound")
|
||||||
FindLibraryAndSONAME("asound")
|
if(SDL_ALSA_SHARED AND ASOUND_LIB AND HAVE_SDL_LOADSO)
|
||||||
set(SDL_AUDIO_DRIVER_ALSA_DYNAMIC "\"${ASOUND_LIB_SONAME}\"")
|
set(SDL_AUDIO_DRIVER_ALSA_DYNAMIC "\"${ASOUND_LIB_SONAME}\"")
|
||||||
set(HAVE_ALSA_SHARED TRUE)
|
set(HAVE_ALSA_SHARED TRUE)
|
||||||
else()
|
else()
|
||||||
@@ -134,14 +134,14 @@ macro(CheckPipewire)
|
|||||||
if(PKG_PIPEWIRE_FOUND)
|
if(PKG_PIPEWIRE_FOUND)
|
||||||
set(HAVE_PIPEWIRE TRUE)
|
set(HAVE_PIPEWIRE TRUE)
|
||||||
file(GLOB PIPEWIRE_SOURCES ${SDL2_SOURCE_DIR}/src/audio/pipewire/*.c)
|
file(GLOB PIPEWIRE_SOURCES ${SDL2_SOURCE_DIR}/src/audio/pipewire/*.c)
|
||||||
set(SOURCE_FILES ${SOURCE_FILES} ${PIPEWIRE_SOURCES})
|
list(APPEND SOURCE_FILES ${PIPEWIRE_SOURCES})
|
||||||
set(SDL_AUDIO_DRIVER_PIPEWIRE 1)
|
set(SDL_AUDIO_DRIVER_PIPEWIRE 1)
|
||||||
list(APPEND EXTRA_CFLAGS ${PKG_PIPEWIRE_CFLAGS})
|
list(APPEND EXTRA_CFLAGS ${PKG_PIPEWIRE_CFLAGS})
|
||||||
if(SDL_PIPEWIRE_SHARED AND NOT HAVE_SDL_LOADSO)
|
if(SDL_PIPEWIRE_SHARED AND NOT HAVE_SDL_LOADSO)
|
||||||
message_warn("You must have SDL_LoadObject() support for dynamic Pipewire loading")
|
message_warn("You must have SDL_LoadObject() support for dynamic Pipewire loading")
|
||||||
endif()
|
endif()
|
||||||
if(SDL_PIPEWIRE_SHARED AND HAVE_SDL_LOADSO)
|
FindLibraryAndSONAME("pipewire-0.3")
|
||||||
FindLibraryAndSONAME("pipewire-0.3")
|
if(SDL_PIPEWIRE_SHARED AND PIPEWIRE_0.3_LIB AND HAVE_SDL_LOADSO)
|
||||||
set(SDL_AUDIO_DRIVER_PIPEWIRE_DYNAMIC "\"${PIPEWIRE_0.3_LIB_SONAME}\"")
|
set(SDL_AUDIO_DRIVER_PIPEWIRE_DYNAMIC "\"${PIPEWIRE_0.3_LIB_SONAME}\"")
|
||||||
set(HAVE_PIPEWIRE_SHARED TRUE)
|
set(HAVE_PIPEWIRE_SHARED TRUE)
|
||||||
else()
|
else()
|
||||||
@@ -163,18 +163,18 @@ macro(CheckPulseAudio)
|
|||||||
if(PKG_PULSEAUDIO_FOUND)
|
if(PKG_PULSEAUDIO_FOUND)
|
||||||
set(HAVE_PULSEAUDIO TRUE)
|
set(HAVE_PULSEAUDIO TRUE)
|
||||||
file(GLOB PULSEAUDIO_SOURCES ${SDL2_SOURCE_DIR}/src/audio/pulseaudio/*.c)
|
file(GLOB PULSEAUDIO_SOURCES ${SDL2_SOURCE_DIR}/src/audio/pulseaudio/*.c)
|
||||||
set(SOURCE_FILES ${SOURCE_FILES} ${PULSEAUDIO_SOURCES})
|
list(APPEND SOURCE_FILES ${PULSEAUDIO_SOURCES})
|
||||||
set(SDL_AUDIO_DRIVER_PULSEAUDIO 1)
|
set(SDL_AUDIO_DRIVER_PULSEAUDIO 1)
|
||||||
list(APPEND EXTRA_CFLAGS ${PKG_PULSEAUDIO_CFLAGS})
|
list(APPEND EXTRA_CFLAGS ${PKG_PULSEAUDIO_CFLAGS})
|
||||||
if(SDL_PULSEAUDIO_SHARED AND NOT HAVE_SDL_LOADSO)
|
if(SDL_PULSEAUDIO_SHARED AND NOT HAVE_SDL_LOADSO)
|
||||||
message_warn("You must have SDL_LoadObject() support for dynamic PulseAudio loading")
|
message_warn("You must have SDL_LoadObject() support for dynamic PulseAudio loading")
|
||||||
endif()
|
endif()
|
||||||
if(SDL_PULSEAUDIO_SHARED AND HAVE_SDL_LOADSO)
|
FindLibraryAndSONAME("pulse-simple")
|
||||||
FindLibraryAndSONAME("pulse-simple")
|
if(SDL_PULSEAUDIO_SHARED AND PULSE_SIMPLE_LIB AND HAVE_SDL_LOADSO)
|
||||||
set(SDL_AUDIO_DRIVER_PULSEAUDIO_DYNAMIC "\"${PULSE_SIMPLE_LIB_SONAME}\"")
|
set(SDL_AUDIO_DRIVER_PULSEAUDIO_DYNAMIC "\"${PULSE_SIMPLE_LIB_SONAME}\"")
|
||||||
set(HAVE_PULSEAUDIO_SHARED TRUE)
|
set(HAVE_PULSEAUDIO_SHARED TRUE)
|
||||||
else()
|
else()
|
||||||
list(APPEND EXTRA_LDFLAGS ${PKG_sPULSEAUDIO_LDFLAGS})
|
list(APPEND EXTRA_LDFLAGS ${PKG_PULSEAUDIO_LDFLAGS})
|
||||||
endif()
|
endif()
|
||||||
set(HAVE_SDL_AUDIO TRUE)
|
set(HAVE_SDL_AUDIO TRUE)
|
||||||
endif()
|
endif()
|
||||||
@@ -192,14 +192,14 @@ macro(CheckJACK)
|
|||||||
if(PKG_JACK_FOUND)
|
if(PKG_JACK_FOUND)
|
||||||
set(HAVE_JACK TRUE)
|
set(HAVE_JACK TRUE)
|
||||||
file(GLOB JACK_SOURCES ${SDL2_SOURCE_DIR}/src/audio/jack/*.c)
|
file(GLOB JACK_SOURCES ${SDL2_SOURCE_DIR}/src/audio/jack/*.c)
|
||||||
set(SOURCE_FILES ${SOURCE_FILES} ${JACK_SOURCES})
|
list(APPEND SOURCE_FILES ${JACK_SOURCES})
|
||||||
set(SDL_AUDIO_DRIVER_JACK 1)
|
set(SDL_AUDIO_DRIVER_JACK 1)
|
||||||
list(APPEND EXTRA_CFLAGS ${PKG_JACK_CFLAGS})
|
list(APPEND EXTRA_CFLAGS ${PKG_JACK_CFLAGS})
|
||||||
if(SDL_JACK_SHARED AND NOT HAVE_SDL_LOADSO)
|
if(SDL_JACK_SHARED AND NOT HAVE_SDL_LOADSO)
|
||||||
message_warn("You must have SDL_LoadObject() support for dynamic JACK audio loading")
|
message_warn("You must have SDL_LoadObject() support for dynamic JACK audio loading")
|
||||||
endif()
|
endif()
|
||||||
if(SDL_JACK_SHARED AND HAVE_SDL_LOADSO)
|
FindLibraryAndSONAME("jack")
|
||||||
FindLibraryAndSONAME("jack")
|
if(SDL_JACK_SHARED AND JACK_LIB AND HAVE_SDL_LOADSO)
|
||||||
set(SDL_AUDIO_DRIVER_JACK_DYNAMIC "\"${JACK_LIB_SONAME}\"")
|
set(SDL_AUDIO_DRIVER_JACK_DYNAMIC "\"${JACK_LIB_SONAME}\"")
|
||||||
set(HAVE_JACK_SHARED TRUE)
|
set(HAVE_JACK_SHARED TRUE)
|
||||||
else()
|
else()
|
||||||
@@ -221,14 +221,14 @@ macro(CheckESD)
|
|||||||
if(PKG_ESD_FOUND)
|
if(PKG_ESD_FOUND)
|
||||||
set(HAVE_ESD TRUE)
|
set(HAVE_ESD TRUE)
|
||||||
file(GLOB ESD_SOURCES ${SDL2_SOURCE_DIR}/src/audio/esd/*.c)
|
file(GLOB ESD_SOURCES ${SDL2_SOURCE_DIR}/src/audio/esd/*.c)
|
||||||
set(SOURCE_FILES ${SOURCE_FILES} ${ESD_SOURCES})
|
list(APPEND SOURCE_FILES ${ESD_SOURCES})
|
||||||
set(SDL_AUDIO_DRIVER_ESD 1)
|
set(SDL_AUDIO_DRIVER_ESD 1)
|
||||||
list(APPEND EXTRA_CFLAGS ${PKG_ESD_CFLAGS})
|
list(APPEND EXTRA_CFLAGS ${PKG_ESD_CFLAGS})
|
||||||
if(SDL_ESD_SHARED AND NOT HAVE_SDL_LOADSO)
|
if(SDL_ESD_SHARED AND NOT HAVE_SDL_LOADSO)
|
||||||
message_warn("You must have SDL_LoadObject() support for dynamic ESD loading")
|
message_warn("You must have SDL_LoadObject() support for dynamic ESD loading")
|
||||||
endif()
|
endif()
|
||||||
if(SDL_ESD_SHARED AND HAVE_SDL_LOADSO)
|
FindLibraryAndSONAME(esd)
|
||||||
FindLibraryAndSONAME(esd)
|
if(SDL_ESD_SHARED AND ESD_LIB AND HAVE_SDL_LOADSO)
|
||||||
set(SDL_AUDIO_DRIVER_ESD_DYNAMIC "\"${ESD_LIB_SONAME}\"")
|
set(SDL_AUDIO_DRIVER_ESD_DYNAMIC "\"${ESD_LIB_SONAME}\"")
|
||||||
set(HAVE_ESD_SHARED TRUE)
|
set(HAVE_ESD_SHARED TRUE)
|
||||||
else()
|
else()
|
||||||
@@ -254,15 +254,15 @@ macro(CheckARTS)
|
|||||||
execute_process(CMD_ARTSLIBS ${ARTS_CONFIG} --libs
|
execute_process(CMD_ARTSLIBS ${ARTS_CONFIG} --libs
|
||||||
OUTPUT_VARIABLE ARTS_LIBS OUTPUT_STRIP_TRAILING_WHITESPACE)
|
OUTPUT_VARIABLE ARTS_LIBS OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||||
file(GLOB ARTS_SOURCES ${SDL2_SOURCE_DIR}/src/audio/arts/*.c)
|
file(GLOB ARTS_SOURCES ${SDL2_SOURCE_DIR}/src/audio/arts/*.c)
|
||||||
set(SOURCE_FILES ${SOURCE_FILES} ${ARTS_SOURCES})
|
list(APPEND SOURCE_FILES ${ARTS_SOURCES})
|
||||||
set(SDL_AUDIO_DRIVER_ARTS 1)
|
set(SDL_AUDIO_DRIVER_ARTS 1)
|
||||||
set(HAVE_ARTS TRUE)
|
set(HAVE_ARTS TRUE)
|
||||||
if(SDL_ARTS_SHARED AND NOT HAVE_SDL_LOADSO)
|
if(SDL_ARTS_SHARED AND NOT HAVE_SDL_LOADSO)
|
||||||
message_warn("You must have SDL_LoadObject() support for dynamic ARTS loading")
|
message_warn("You must have SDL_LoadObject() support for dynamic ARTS loading")
|
||||||
endif()
|
endif()
|
||||||
if(SDL_ARTS_SHARED AND HAVE_SDL_LOADSO)
|
FindLibraryAndSONAME(artsc)
|
||||||
|
if(SDL_ARTS_SHARED AND ARTSC_LIB AND HAVE_SDL_LOADSO)
|
||||||
# TODO
|
# TODO
|
||||||
FindLibraryAndSONAME(artsc)
|
|
||||||
set(SDL_AUDIO_DRIVER_ARTS_DYNAMIC "\"${ARTSC_LIB_SONAME}\"")
|
set(SDL_AUDIO_DRIVER_ARTS_DYNAMIC "\"${ARTSC_LIB_SONAME}\"")
|
||||||
set(HAVE_ARTS_SHARED TRUE)
|
set(HAVE_ARTS_SHARED TRUE)
|
||||||
else()
|
else()
|
||||||
@@ -286,13 +286,13 @@ macro(CheckNAS)
|
|||||||
if(HAVE_NAS_H AND D_NAS_LIB)
|
if(HAVE_NAS_H AND D_NAS_LIB)
|
||||||
set(HAVE_NAS TRUE)
|
set(HAVE_NAS TRUE)
|
||||||
file(GLOB NAS_SOURCES ${SDL2_SOURCE_DIR}/src/audio/nas/*.c)
|
file(GLOB NAS_SOURCES ${SDL2_SOURCE_DIR}/src/audio/nas/*.c)
|
||||||
set(SOURCE_FILES ${SOURCE_FILES} ${NAS_SOURCES})
|
list(APPEND SOURCE_FILES ${NAS_SOURCES})
|
||||||
set(SDL_AUDIO_DRIVER_NAS 1)
|
set(SDL_AUDIO_DRIVER_NAS 1)
|
||||||
if(SDL_NAS_SHARED AND NOT HAVE_SDL_LOADSO)
|
if(SDL_NAS_SHARED AND NOT HAVE_SDL_LOADSO)
|
||||||
message_warn("You must have SDL_LoadObject() support for dynamic NAS loading")
|
message_warn("You must have SDL_LoadObject() support for dynamic NAS loading")
|
||||||
endif()
|
endif()
|
||||||
if(SDL_NAS_SHARED AND HAVE_SDL_LOADSO)
|
FindLibraryAndSONAME("audio")
|
||||||
FindLibraryAndSONAME("audio")
|
if(SDL_NAS_SHARED AND AUDIO_LIB AND HAVE_SDL_LOADSO)
|
||||||
set(SDL_AUDIO_DRIVER_NAS_DYNAMIC "\"${AUDIO_LIB_SONAME}\"")
|
set(SDL_AUDIO_DRIVER_NAS_DYNAMIC "\"${AUDIO_LIB_SONAME}\"")
|
||||||
set(HAVE_NAS_SHARED TRUE)
|
set(HAVE_NAS_SHARED TRUE)
|
||||||
else()
|
else()
|
||||||
@@ -316,13 +316,13 @@ macro(CheckSNDIO)
|
|||||||
if(HAVE_SNDIO_H AND D_SNDIO_LIB)
|
if(HAVE_SNDIO_H AND D_SNDIO_LIB)
|
||||||
set(HAVE_SNDIO TRUE)
|
set(HAVE_SNDIO TRUE)
|
||||||
file(GLOB SNDIO_SOURCES ${SDL2_SOURCE_DIR}/src/audio/sndio/*.c)
|
file(GLOB SNDIO_SOURCES ${SDL2_SOURCE_DIR}/src/audio/sndio/*.c)
|
||||||
set(SOURCE_FILES ${SOURCE_FILES} ${SNDIO_SOURCES})
|
list(APPEND SOURCE_FILES ${SNDIO_SOURCES})
|
||||||
set(SDL_AUDIO_DRIVER_SNDIO 1)
|
set(SDL_AUDIO_DRIVER_SNDIO 1)
|
||||||
if(SDL_SNDIO_SHARED AND NOT HAVE_SDL_LOADSO)
|
if(SDL_SNDIO_SHARED AND NOT HAVE_SDL_LOADSO)
|
||||||
message_warn("You must have SDL_LoadObject() support for dynamic sndio loading")
|
message_warn("You must have SDL_LoadObject() support for dynamic sndio loading")
|
||||||
endif()
|
endif()
|
||||||
if(SDL_SNDIO_SHARED AND HAVE_SDL_LOADSO)
|
FindLibraryAndSONAME("sndio")
|
||||||
FindLibraryAndSONAME("sndio")
|
if(SDL_SNDIO_SHARED AND SNDIO_LIB AND HAVE_SDL_LOADSO)
|
||||||
set(SDL_AUDIO_DRIVER_SNDIO_DYNAMIC "\"${SNDIO_LIB_SONAME}\"")
|
set(SDL_AUDIO_DRIVER_SNDIO_DYNAMIC "\"${SNDIO_LIB_SONAME}\"")
|
||||||
set(HAVE_SNDIO_SHARED TRUE)
|
set(HAVE_SNDIO_SHARED TRUE)
|
||||||
else()
|
else()
|
||||||
@@ -344,14 +344,14 @@ macro(CheckFusionSound)
|
|||||||
if(PKG_FUSIONSOUND_FOUND)
|
if(PKG_FUSIONSOUND_FOUND)
|
||||||
set(HAVE_FUSIONSOUND TRUE)
|
set(HAVE_FUSIONSOUND TRUE)
|
||||||
file(GLOB FUSIONSOUND_SOURCES ${SDL2_SOURCE_DIR}/src/audio/fusionsound/*.c)
|
file(GLOB FUSIONSOUND_SOURCES ${SDL2_SOURCE_DIR}/src/audio/fusionsound/*.c)
|
||||||
set(SOURCE_FILES ${SOURCE_FILES} ${FUSIONSOUND_SOURCES})
|
list(APPEND SOURCE_FILES ${FUSIONSOUND_SOURCES})
|
||||||
set(SDL_AUDIO_DRIVER_FUSIONSOUND 1)
|
set(SDL_AUDIO_DRIVER_FUSIONSOUND 1)
|
||||||
list(APPEND EXTRA_CFLAGS ${PKG_FUSIONSOUND_CFLAGS})
|
list(APPEND EXTRA_CFLAGS ${PKG_FUSIONSOUND_CFLAGS})
|
||||||
if(FUSIONSOUND_SHARED AND NOT HAVE_SDL_LOADSO)
|
if(FUSIONSOUND_SHARED AND NOT HAVE_SDL_LOADSO)
|
||||||
message_warn("You must have SDL_LoadObject() support for dynamic FusionSound loading")
|
message_warn("You must have SDL_LoadObject() support for dynamic FusionSound loading")
|
||||||
endif()
|
endif()
|
||||||
if(FUSIONSOUND_SHARED AND HAVE_SDL_LOADSO)
|
FindLibraryAndSONAME("fusionsound")
|
||||||
FindLibraryAndSONAME("fusionsound")
|
if(FUSIONSOUND_SHARED AND FUSIONSOUND_LIB AND HAVE_SDL_LOADSO)
|
||||||
set(SDL_AUDIO_DRIVER_FUSIONSOUND_DYNAMIC "\"${FUSIONSOUND_LIB_SONAME}\"")
|
set(SDL_AUDIO_DRIVER_FUSIONSOUND_DYNAMIC "\"${FUSIONSOUND_LIB_SONAME}\"")
|
||||||
set(HAVE_FUSIONSOUND_SHARED TRUE)
|
set(HAVE_FUSIONSOUND_SHARED TRUE)
|
||||||
else()
|
else()
|
||||||
@@ -375,8 +375,8 @@ macro(CheckLibSampleRate)
|
|||||||
if(SDL_LIBSAMPLERATE_SHARED AND NOT HAVE_SDL_LOADSO)
|
if(SDL_LIBSAMPLERATE_SHARED AND NOT HAVE_SDL_LOADSO)
|
||||||
message_warn("You must have SDL_LoadObject() support for dynamic libsamplerate loading")
|
message_warn("You must have SDL_LoadObject() support for dynamic libsamplerate loading")
|
||||||
endif()
|
endif()
|
||||||
if(SDL_LIBSAMPLERATE_SHARED AND HAVE_SDL_LOADSO)
|
FindLibraryAndSONAME("samplerate")
|
||||||
FindLibraryAndSONAME("samplerate")
|
if(SDL_LIBSAMPLERATE_SHARED AND SAMPLERATE_LIB AND HAVE_SDL_LOADSO)
|
||||||
set(SDL_LIBSAMPLERATE_DYNAMIC "\"${SAMPLERATE_LIB_SONAME}\"")
|
set(SDL_LIBSAMPLERATE_DYNAMIC "\"${SAMPLERATE_LIB_SONAME}\"")
|
||||||
set(HAVE_LIBSAMPLERATE_SHARED TRUE)
|
set(HAVE_LIBSAMPLERATE_SHARED TRUE)
|
||||||
else()
|
else()
|
||||||
@@ -393,7 +393,7 @@ endmacro()
|
|||||||
# - HAVE_SDL_LOADSO opt
|
# - HAVE_SDL_LOADSO opt
|
||||||
macro(CheckX11)
|
macro(CheckX11)
|
||||||
if(SDL_X11)
|
if(SDL_X11)
|
||||||
foreach(_LIB X11 Xext Xcursor Xinerama Xi Xfixes Xrandr Xrender Xss Xxf86vm)
|
foreach(_LIB X11 Xext Xcursor Xi Xfixes Xrandr Xrender Xss)
|
||||||
FindLibraryAndSONAME("${_LIB}")
|
FindLibraryAndSONAME("${_LIB}")
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
@@ -415,15 +415,13 @@ macro(CheckX11)
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
check_include_file(X11/Xcursor/Xcursor.h HAVE_XCURSOR_H)
|
check_include_file(X11/Xcursor/Xcursor.h HAVE_XCURSOR_H)
|
||||||
check_include_file(X11/extensions/Xinerama.h HAVE_XINERAMA_H)
|
|
||||||
check_include_file(X11/extensions/XInput2.h HAVE_XINPUT2_H)
|
check_include_file(X11/extensions/XInput2.h HAVE_XINPUT2_H)
|
||||||
check_include_file(X11/extensions/Xrandr.h HAVE_XRANDR_H)
|
check_include_file(X11/extensions/Xrandr.h HAVE_XRANDR_H)
|
||||||
check_include_file(X11/extensions/Xfixes.h HAVE_XFIXES_H)
|
check_include_file(X11/extensions/Xfixes.h HAVE_XFIXES_H_)
|
||||||
check_include_file(X11/extensions/Xrender.h HAVE_XRENDER_H)
|
check_include_file(X11/extensions/Xrender.h HAVE_XRENDER_H)
|
||||||
check_include_file(X11/extensions/scrnsaver.h HAVE_XSS_H)
|
check_include_file(X11/extensions/scrnsaver.h HAVE_XSS_H)
|
||||||
check_include_file(X11/extensions/shape.h HAVE_XSHAPE_H)
|
check_include_file(X11/extensions/shape.h HAVE_XSHAPE_H)
|
||||||
check_include_files("X11/Xlib.h;X11/extensions/Xdbe.h" HAVE_XDBE_H)
|
check_include_files("X11/Xlib.h;X11/extensions/Xdbe.h" HAVE_XDBE_H)
|
||||||
check_include_files("X11/Xlib.h;X11/extensions/xf86vmode.h" HAVE_XF86VM_H)
|
|
||||||
check_include_files("X11/Xlib.h;X11/Xproto.h;X11/extensions/Xext.h" HAVE_XEXT_H)
|
check_include_files("X11/Xlib.h;X11/Xproto.h;X11/extensions/Xext.h" HAVE_XEXT_H)
|
||||||
|
|
||||||
if(X11_LIB)
|
if(X11_LIB)
|
||||||
@@ -435,7 +433,7 @@ macro(CheckX11)
|
|||||||
set(HAVE_SDL_VIDEO TRUE)
|
set(HAVE_SDL_VIDEO TRUE)
|
||||||
|
|
||||||
file(GLOB X11_SOURCES ${SDL2_SOURCE_DIR}/src/video/x11/*.c)
|
file(GLOB X11_SOURCES ${SDL2_SOURCE_DIR}/src/video/x11/*.c)
|
||||||
set(SOURCE_FILES ${SOURCE_FILES} ${X11_SOURCES})
|
list(APPEND SOURCE_FILES ${X11_SOURCES})
|
||||||
set(SDL_VIDEO_DRIVER_X11 1)
|
set(SDL_VIDEO_DRIVER_X11 1)
|
||||||
|
|
||||||
# !!! FIXME: why is this disabled for Apple?
|
# !!! FIXME: why is this disabled for Apple?
|
||||||
@@ -461,12 +459,14 @@ macro(CheckX11)
|
|||||||
else()
|
else()
|
||||||
set(HAVE_X11_SHARED TRUE)
|
set(HAVE_X11_SHARED TRUE)
|
||||||
endif()
|
endif()
|
||||||
if(HAVE_X11_SHARED)
|
if(HAVE_X11_SHARED AND X11_LIB AND XEXT_LIB)
|
||||||
set(SDL_VIDEO_DRIVER_X11_DYNAMIC "\"${X11_LIB_SONAME}\"")
|
set(SDL_VIDEO_DRIVER_X11_DYNAMIC "\"${X11_LIB_SONAME}\"")
|
||||||
set(SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT "\"${XEXT_LIB_SONAME}\"")
|
set(SDL_VIDEO_DRIVER_X11_DYNAMIC_XEXT "\"${XEXT_LIB_SONAME}\"")
|
||||||
else()
|
else()
|
||||||
list(APPEND EXTRA_LIBS ${X11_LIB} ${XEXT_LIB})
|
list(APPEND EXTRA_LIBS ${X11_LIB} ${XEXT_LIB})
|
||||||
endif()
|
endif()
|
||||||
|
else()
|
||||||
|
list(APPEND EXTRA_LIBS ${X11_LIB} ${XEXT_LIB})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(CMAKE_REQUIRED_LIBRARIES ${X11_LIB} ${X11_LIB})
|
set(CMAKE_REQUIRED_LIBRARIES ${X11_LIB} ${X11_LIB})
|
||||||
@@ -479,7 +479,8 @@ macro(CheckX11)
|
|||||||
XGenericEventCookie *cookie = &event.xcookie;
|
XGenericEventCookie *cookie = &event.xcookie;
|
||||||
XNextEvent(display, &event);
|
XNextEvent(display, &event);
|
||||||
XGetEventData(display, cookie);
|
XGetEventData(display, cookie);
|
||||||
XFreeEventData(display, cookie); }" HAVE_XGENERICEVENT)
|
XFreeEventData(display, cookie);
|
||||||
|
return 0; }" HAVE_XGENERICEVENT)
|
||||||
if(HAVE_XGENERICEVENT)
|
if(HAVE_XGENERICEVENT)
|
||||||
set(SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS 1)
|
set(SDL_VIDEO_DRIVER_X11_SUPPORTS_GENERIC_EVENTS 1)
|
||||||
endif()
|
endif()
|
||||||
@@ -501,16 +502,6 @@ macro(CheckX11)
|
|||||||
set(SDL_VIDEO_DRIVER_X11_XDBE 1)
|
set(SDL_VIDEO_DRIVER_X11_XDBE 1)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(SDL_X11_XINERAMA AND HAVE_XINERAMA_H)
|
|
||||||
set(HAVE_X11_XINERAMA TRUE)
|
|
||||||
if(HAVE_X11_SHARED AND XINERAMA_LIB)
|
|
||||||
set(SDL_VIDEO_DRIVER_X11_DYNAMIC_XINERAMA "\"${XINERAMA_LIB_SONAME}\"")
|
|
||||||
else()
|
|
||||||
list(APPEND EXTRA_LIBS ${XINERAMA_LIB})
|
|
||||||
endif()
|
|
||||||
set(SDL_VIDEO_DRIVER_X11_XINERAMA 1)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(SDL_X11_XINPUT AND HAVE_XINPUT2_H)
|
if(SDL_X11_XINPUT AND HAVE_XINPUT2_H)
|
||||||
set(HAVE_X11_XINPUT TRUE)
|
set(HAVE_X11_XINPUT TRUE)
|
||||||
if(HAVE_X11_SHARED AND XI_LIB)
|
if(HAVE_X11_SHARED AND XI_LIB)
|
||||||
@@ -527,17 +518,25 @@ macro(CheckX11)
|
|||||||
#include <X11/extensions/XInput2.h>
|
#include <X11/extensions/XInput2.h>
|
||||||
int event_type = XI_TouchBegin;
|
int event_type = XI_TouchBegin;
|
||||||
XITouchClassInfo *t;
|
XITouchClassInfo *t;
|
||||||
Status XIAllowTouchEvents(Display *a,int b,unsigned int c,Window d,int f)
|
Status XIAllowTouchEvents(Display *a,int b,unsigned int c,Window d,int f) {
|
||||||
{
|
|
||||||
return (Status)0;
|
return (Status)0;
|
||||||
}
|
}
|
||||||
int main(int argc, char **argv) {}" HAVE_XINPUT2_MULTITOUCH)
|
int main(int argc, char **argv) { return 0; }" HAVE_XINPUT2_MULTITOUCH)
|
||||||
if(HAVE_XINPUT2_MULTITOUCH)
|
if(HAVE_XINPUT2_MULTITOUCH)
|
||||||
set(SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH 1)
|
set(SDL_VIDEO_DRIVER_X11_XINPUT2_SUPPORTS_MULTITOUCH 1)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# check along with XInput2.h because we use Xfixes with XIBarrierReleasePointer
|
# check along with XInput2.h because we use Xfixes with XIBarrierReleasePointer
|
||||||
|
if(SDL_X11_XFIXES AND HAVE_XFIXES_H_ AND HAVE_XINPUT2_H)
|
||||||
|
check_c_source_compiles("
|
||||||
|
#include <X11/Xlib.h>
|
||||||
|
#include <X11/Xproto.h>
|
||||||
|
#include <X11/extensions/XInput2.h>
|
||||||
|
#include <X11/extensions/Xfixes.h>
|
||||||
|
BarrierEventID b;
|
||||||
|
int main(int argc, char **argv) { return 0; }" HAVE_XFIXES_H)
|
||||||
|
endif()
|
||||||
if(SDL_X11_XFIXES AND HAVE_XFIXES_H AND HAVE_XINPUT2_H)
|
if(SDL_X11_XFIXES AND HAVE_XFIXES_H AND HAVE_XINPUT2_H)
|
||||||
if(HAVE_X11_SHARED AND XFIXES_LIB)
|
if(HAVE_X11_SHARED AND XFIXES_LIB)
|
||||||
set(SDL_VIDEO_DRIVER_X11_DYNAMIC_XFIXES "\"${XFIXES_LIB_SONAME}\"")
|
set(SDL_VIDEO_DRIVER_X11_DYNAMIC_XFIXES "\"${XFIXES_LIB_SONAME}\"")
|
||||||
@@ -573,16 +572,6 @@ macro(CheckX11)
|
|||||||
set(HAVE_X11_XSHAPE TRUE)
|
set(HAVE_X11_XSHAPE TRUE)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(SDL_X11_XVM AND HAVE_XF86VM_H)
|
|
||||||
if(HAVE_X11_SHARED AND XXF86VM_LIB)
|
|
||||||
set(SDL_VIDEO_DRIVER_X11_DYNAMIC_XVIDMODE "\"${XXF86VM_LIB_SONAME}\"")
|
|
||||||
else()
|
|
||||||
list(APPEND EXTRA_LIBS ${XXF86VM_LIB})
|
|
||||||
endif()
|
|
||||||
set(SDL_VIDEO_DRIVER_X11_XVIDMODE 1)
|
|
||||||
set(HAVE_X11_XVM TRUE)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
set(CMAKE_REQUIRED_LIBRARIES)
|
set(CMAKE_REQUIRED_LIBRARIES)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
@@ -610,7 +599,7 @@ macro(WaylandProtocolGen _SCANNER _CODE_MODE _XML _PROTL)
|
|||||||
ARGS "${_CODE_MODE}" "${_XML}" "${_WAYLAND_PROT_C_CODE}"
|
ARGS "${_CODE_MODE}" "${_XML}" "${_WAYLAND_PROT_C_CODE}"
|
||||||
)
|
)
|
||||||
|
|
||||||
set(SOURCE_FILES ${SOURCE_FILES} "${_WAYLAND_PROT_C_CODE}")
|
list(APPEND SOURCE_FILES "${_WAYLAND_PROT_C_CODE}")
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
||||||
# Requires:
|
# Requires:
|
||||||
@@ -621,7 +610,7 @@ endmacro()
|
|||||||
# - HAVE_SDL_LOADSO opt
|
# - HAVE_SDL_LOADSO opt
|
||||||
macro(CheckWayland)
|
macro(CheckWayland)
|
||||||
if(SDL_WAYLAND)
|
if(SDL_WAYLAND)
|
||||||
pkg_check_modules(WAYLAND wayland-client wayland-egl wayland-cursor egl "xkbcommon>=0.5.0")
|
pkg_check_modules(WAYLAND "wayland-client>=1.18" wayland-egl wayland-cursor egl "xkbcommon>=0.5.0")
|
||||||
|
|
||||||
if(WAYLAND_FOUND)
|
if(WAYLAND_FOUND)
|
||||||
find_program(WAYLAND_SCANNER NAMES wayland-scanner REQUIRED)
|
find_program(WAYLAND_SCANNER NAMES wayland-scanner REQUIRED)
|
||||||
@@ -637,11 +626,11 @@ macro(CheckWayland)
|
|||||||
endif()
|
endif()
|
||||||
string(REPLACE "wayland-scanner " "" WAYLAND_SCANNER_VERSION ${WAYLAND_SCANNER_VERSION})
|
string(REPLACE "wayland-scanner " "" WAYLAND_SCANNER_VERSION ${WAYLAND_SCANNER_VERSION})
|
||||||
|
|
||||||
string(COMPARE GREATER_EQUAL ${WAYLAND_SCANNER_VERSION} "1.15.0" WAYLAND_SCANNER_1_15_FOUND)
|
string(COMPARE LESS ${WAYLAND_SCANNER_VERSION} "1.15.0" WAYLAND_SCANNER_PRE_1_15)
|
||||||
if(WAYLAND_SCANNER_1_15_FOUND)
|
if(WAYLAND_SCANNER_PRE_1_15)
|
||||||
set(WAYLAND_SCANNER_CODE_MODE "private-code")
|
|
||||||
else()
|
|
||||||
set(WAYLAND_SCANNER_CODE_MODE "code")
|
set(WAYLAND_SCANNER_CODE_MODE "code")
|
||||||
|
else()
|
||||||
|
set(WAYLAND_SCANNER_CODE_MODE "private-code")
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
@@ -653,7 +642,7 @@ macro(CheckWayland)
|
|||||||
set(HAVE_SDL_VIDEO TRUE)
|
set(HAVE_SDL_VIDEO TRUE)
|
||||||
|
|
||||||
file(GLOB WAYLAND_SOURCES ${SDL2_SOURCE_DIR}/src/video/wayland/*.c)
|
file(GLOB WAYLAND_SOURCES ${SDL2_SOURCE_DIR}/src/video/wayland/*.c)
|
||||||
set(SOURCE_FILES ${SOURCE_FILES} ${WAYLAND_SOURCES})
|
list(APPEND SOURCE_FILES ${WAYLAND_SOURCES})
|
||||||
|
|
||||||
# We have to generate some protocol interface code for some unstable Wayland features.
|
# We have to generate some protocol interface code for some unstable Wayland features.
|
||||||
file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/wayland-generated-protocols")
|
file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/wayland-generated-protocols")
|
||||||
@@ -673,18 +662,18 @@ macro(CheckWayland)
|
|||||||
if(SDL_WAYLAND_SHARED AND NOT HAVE_SDL_LOADSO)
|
if(SDL_WAYLAND_SHARED AND NOT HAVE_SDL_LOADSO)
|
||||||
message_warn("You must have SDL_LoadObject() support for dynamic Wayland loading")
|
message_warn("You must have SDL_LoadObject() support for dynamic Wayland loading")
|
||||||
endif()
|
endif()
|
||||||
if(SDL_WAYLAND_SHARED AND HAVE_SDL_LOADSO)
|
FindLibraryAndSONAME(wayland-client)
|
||||||
FindLibraryAndSONAME(wayland-client)
|
FindLibraryAndSONAME(wayland-egl)
|
||||||
FindLibraryAndSONAME(wayland-egl)
|
FindLibraryAndSONAME(wayland-cursor)
|
||||||
FindLibraryAndSONAME(wayland-cursor)
|
FindLibraryAndSONAME(xkbcommon)
|
||||||
FindLibraryAndSONAME(xkbcommon)
|
if(SDL_WAYLAND_SHARED AND WAYLAND_CLIENT_LIB AND WAYLAND_EGL_LIB AND WAYLAND_CURSOR_LIB AND XKBCOMMON_LIB AND HAVE_SDL_LOADSO)
|
||||||
set(SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC "\"${WAYLAND_CLIENT_LIB_SONAME}\"")
|
set(SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC "\"${WAYLAND_CLIENT_LIB_SONAME}\"")
|
||||||
set(SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_EGL "\"${WAYLAND_EGL_LIB_SONAME}\"")
|
set(SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_EGL "\"${WAYLAND_EGL_LIB_SONAME}\"")
|
||||||
set(SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_CURSOR "\"${WAYLAND_CURSOR_LIB_SONAME}\"")
|
set(SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_CURSOR "\"${WAYLAND_CURSOR_LIB_SONAME}\"")
|
||||||
set(SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_XKBCOMMON "\"${XKBCOMMON_LIB_SONAME}\"")
|
set(SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_XKBCOMMON "\"${XKBCOMMON_LIB_SONAME}\"")
|
||||||
set(HAVE_WAYLAND_SHARED TRUE)
|
set(HAVE_WAYLAND_SHARED TRUE)
|
||||||
else()
|
else()
|
||||||
set(EXTRA_LIBS ${WAYLAND_LIBRARIES} ${EXTRA_LIBS})
|
list(APPEND EXTRA_LIBS ${WAYLAND_LIBRARIES})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(SDL_WAYLAND_LIBDECOR)
|
if(SDL_WAYLAND_LIBDECOR)
|
||||||
@@ -697,12 +686,12 @@ macro(CheckWayland)
|
|||||||
if(SDL_WAYLAND_LIBDECOR_SHARED AND NOT HAVE_SDL_LOADSO)
|
if(SDL_WAYLAND_LIBDECOR_SHARED AND NOT HAVE_SDL_LOADSO)
|
||||||
message_warn("You must have SDL_LoadObject() support for dynamic libdecor loading")
|
message_warn("You must have SDL_LoadObject() support for dynamic libdecor loading")
|
||||||
endif()
|
endif()
|
||||||
if(SDL_WAYLAND_LIBDECOR_SHARED AND HAVE_SDL_LOADSO)
|
FindLibraryAndSONAME(decor-0)
|
||||||
|
if(SDL_WAYLAND_LIBDECOR_SHARED AND DECOR_0_LIB AND HAVE_SDL_LOADSO)
|
||||||
set(HAVE_LIBDECOR_SHARED TRUE)
|
set(HAVE_LIBDECOR_SHARED TRUE)
|
||||||
FindLibraryAndSONAME(decor-0)
|
|
||||||
set(SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_LIBDECOR "\"${DECOR_0_LIB_SONAME}\"")
|
set(SDL_VIDEO_DRIVER_WAYLAND_DYNAMIC_LIBDECOR "\"${DECOR_0_LIB_SONAME}\"")
|
||||||
else()
|
else()
|
||||||
set(EXTRA_LIBS ${LIBDECOR_LIBRARIES} ${EXTRA_LIBS})
|
list(APPEND EXTRA_LIBS ${LIBDECOR_LIBRARIES})
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
@@ -722,8 +711,7 @@ macro(CheckCOCOA)
|
|||||||
endif()
|
endif()
|
||||||
if(HAVE_COCOA)
|
if(HAVE_COCOA)
|
||||||
file(GLOB COCOA_SOURCES ${SDL2_SOURCE_DIR}/src/video/cocoa/*.m)
|
file(GLOB COCOA_SOURCES ${SDL2_SOURCE_DIR}/src/video/cocoa/*.m)
|
||||||
set_source_files_properties(${COCOA_SOURCES} PROPERTIES LANGUAGE C)
|
list(APPEND SOURCE_FILES ${COCOA_SOURCES})
|
||||||
set(SOURCE_FILES ${SOURCE_FILES} ${COCOA_SOURCES})
|
|
||||||
set(SDL_VIDEO_DRIVER_COCOA 1)
|
set(SDL_VIDEO_DRIVER_COCOA 1)
|
||||||
set(HAVE_SDL_VIDEO TRUE)
|
set(HAVE_SDL_VIDEO TRUE)
|
||||||
endif()
|
endif()
|
||||||
@@ -741,15 +729,16 @@ macro(CheckDirectFB)
|
|||||||
if(PKG_DIRECTFB_FOUND)
|
if(PKG_DIRECTFB_FOUND)
|
||||||
set(HAVE_DIRECTFB TRUE)
|
set(HAVE_DIRECTFB TRUE)
|
||||||
file(GLOB DIRECTFB_SOURCES ${SDL2_SOURCE_DIR}/src/video/directfb/*.c)
|
file(GLOB DIRECTFB_SOURCES ${SDL2_SOURCE_DIR}/src/video/directfb/*.c)
|
||||||
set(SOURCE_FILES ${SOURCE_FILES} ${DIRECTFB_SOURCES})
|
list(APPEND SOURCE_FILES ${DIRECTFB_SOURCES})
|
||||||
set(SDL_VIDEO_DRIVER_DIRECTFB 1)
|
set(SDL_VIDEO_DRIVER_DIRECTFB 1)
|
||||||
set(SDL_VIDEO_RENDER_DIRECTFB 1)
|
set(SDL_VIDEO_RENDER_DIRECTFB 1)
|
||||||
list(APPEND EXTRA_CFLAGS ${PKG_DIRECTFB_CFLAGS})
|
list(APPEND EXTRA_CFLAGS ${PKG_DIRECTFB_CFLAGS})
|
||||||
|
list(APPEND SDL_CFLAGS ${PKG_DIRECTFB_CFLAGS})
|
||||||
if(SDL_DIRECTFB_SHARED AND NOT HAVE_SDL_LOADSO)
|
if(SDL_DIRECTFB_SHARED AND NOT HAVE_SDL_LOADSO)
|
||||||
message_warn("You must have SDL_LoadObject() support for dynamic DirectFB loading")
|
message_warn("You must have SDL_LoadObject() support for dynamic DirectFB loading")
|
||||||
endif()
|
endif()
|
||||||
if(SDL_DIRECTFB_SHARED AND HAVE_SDL_LOADSO)
|
FindLibraryAndSONAME("directfb")
|
||||||
FindLibraryAndSONAME("directfb")
|
if(SDL_DIRECTFB_SHARED AND DIRECTFB_LIB AND HAVE_SDL_LOADSO)
|
||||||
set(SDL_VIDEO_DRIVER_DIRECTFB_DYNAMIC "\"${DIRECTFB_LIB_SONAME}\"")
|
set(SDL_VIDEO_DRIVER_DIRECTFB_DYNAMIC "\"${DIRECTFB_LIB_SONAME}\"")
|
||||||
set(HAVE_DIRECTFB_SHARED TRUE)
|
set(HAVE_DIRECTFB_SHARED TRUE)
|
||||||
else()
|
else()
|
||||||
@@ -766,24 +755,26 @@ macro(CheckVivante)
|
|||||||
if(SDL_VIVANTE)
|
if(SDL_VIVANTE)
|
||||||
check_c_source_compiles("
|
check_c_source_compiles("
|
||||||
#include <gc_vdk.h>
|
#include <gc_vdk.h>
|
||||||
int main(int argc, char** argv) {}" HAVE_VIVANTE_VDK)
|
int main(int argc, char** argv) { return 0; }" HAVE_VIVANTE_VDK)
|
||||||
check_c_source_compiles("
|
check_c_source_compiles("
|
||||||
#define LINUX
|
#define LINUX
|
||||||
#define EGL_API_FB
|
#define EGL_API_FB
|
||||||
#include <EGL/eglvivante.h>
|
#include <EGL/eglvivante.h>
|
||||||
int main(int argc, char** argv) {}" HAVE_VIVANTE_EGL_FB)
|
int main(int argc, char** argv) { return 0; }" HAVE_VIVANTE_EGL_FB)
|
||||||
if(HAVE_VIVANTE_VDK OR HAVE_VIVANTE_EGL_FB)
|
if(HAVE_VIVANTE_VDK OR HAVE_VIVANTE_EGL_FB)
|
||||||
set(HAVE_VIVANTE TRUE)
|
set(HAVE_VIVANTE TRUE)
|
||||||
set(HAVE_SDL_VIDEO TRUE)
|
set(HAVE_SDL_VIDEO TRUE)
|
||||||
|
|
||||||
file(GLOB VIVANTE_SOURCES ${SDL2_SOURCE_DIR}/src/video/vivante/*.c)
|
file(GLOB VIVANTE_SOURCES ${SDL2_SOURCE_DIR}/src/video/vivante/*.c)
|
||||||
set(SOURCE_FILES ${SOURCE_FILES} ${VIVANTE_SOURCES})
|
list(APPEND SOURCE_FILES ${VIVANTE_SOURCES})
|
||||||
set(SDL_VIDEO_DRIVER_VIVANTE 1)
|
set(SDL_VIDEO_DRIVER_VIVANTE 1)
|
||||||
if(HAVE_VIVANTE_VDK)
|
if(HAVE_VIVANTE_VDK)
|
||||||
set(SDL_VIDEO_DRIVER_VIVANTE_VDK 1)
|
set(SDL_VIDEO_DRIVER_VIVANTE_VDK 1)
|
||||||
list(APPEND EXTRA_LIBS VDK VIVANTE)
|
find_library(VIVANTE_LIBRARY REQUIRED NAMES VIVANTE vivante drm_vivante)
|
||||||
|
find_library(VIVANTE_VDK_LIBRARY VDK REQUIRED)
|
||||||
|
list(APPEND EXTRA_LIBS ${VIVANTE_LIBRARY} ${VIVANTE_VDK_LIBRARY})
|
||||||
else()
|
else()
|
||||||
set(SDL_CFLAGS "${SDL_CFLAGS} -DLINUX -DEGL_API_FB")
|
list(APPEND SDL_CFLAGS -DLINUX -DEGL_API_FB)
|
||||||
list(APPEND EXTRA_LIBS EGL)
|
list(APPEND EXTRA_LIBS EGL)
|
||||||
endif(HAVE_VIVANTE_VDK)
|
endif(HAVE_VIVANTE_VDK)
|
||||||
endif()
|
endif()
|
||||||
@@ -796,7 +787,7 @@ macro(CheckGLX)
|
|||||||
if(SDL_OPENGL)
|
if(SDL_OPENGL)
|
||||||
check_c_source_compiles("
|
check_c_source_compiles("
|
||||||
#include <GL/glx.h>
|
#include <GL/glx.h>
|
||||||
int main(int argc, char** argv) {}" HAVE_OPENGL_GLX)
|
int main(int argc, char** argv) { return 0; }" HAVE_OPENGL_GLX)
|
||||||
if(HAVE_OPENGL_GLX)
|
if(HAVE_OPENGL_GLX)
|
||||||
set(SDL_VIDEO_OPENGL_GLX 1)
|
set(SDL_VIDEO_OPENGL_GLX 1)
|
||||||
endif()
|
endif()
|
||||||
@@ -808,15 +799,14 @@ endmacro()
|
|||||||
macro(CheckEGL)
|
macro(CheckEGL)
|
||||||
if (SDL_OPENGL OR SDL_OPENGLES)
|
if (SDL_OPENGL OR SDL_OPENGLES)
|
||||||
pkg_check_modules(EGL egl)
|
pkg_check_modules(EGL egl)
|
||||||
string(REPLACE "-D_THREAD_SAFE;" "-D_THREAD_SAFE=1;" EGL_CFLAGS "${EGL_CFLAGS}")
|
set(CMAKE_REQUIRED_DEFINITIONS "${CMAKE_REQUIRED_DEFINITIONS} ${EGL_CFLAGS}")
|
||||||
set(CMAKE_REQUIRED_FLAGS "${CMAKE_REQUIRED_FLAGS} ${EGL_CFLAGS}")
|
|
||||||
check_c_source_compiles("
|
check_c_source_compiles("
|
||||||
#define EGL_API_FB
|
#define EGL_API_FB
|
||||||
#define MESA_EGL_NO_X11_HEADERS
|
#define MESA_EGL_NO_X11_HEADERS
|
||||||
#define EGL_NO_X11
|
#define EGL_NO_X11
|
||||||
#include <EGL/egl.h>
|
#include <EGL/egl.h>
|
||||||
#include <EGL/eglext.h>
|
#include <EGL/eglext.h>
|
||||||
int main (int argc, char** argv) {}" HAVE_OPENGL_EGL)
|
int main (int argc, char** argv) { return 0; }" HAVE_OPENGL_EGL)
|
||||||
if(HAVE_OPENGL_EGL)
|
if(HAVE_OPENGL_EGL)
|
||||||
set(SDL_VIDEO_OPENGL_EGL 1)
|
set(SDL_VIDEO_OPENGL_EGL 1)
|
||||||
endif()
|
endif()
|
||||||
@@ -830,7 +820,7 @@ macro(CheckOpenGL)
|
|||||||
check_c_source_compiles("
|
check_c_source_compiles("
|
||||||
#include <GL/gl.h>
|
#include <GL/gl.h>
|
||||||
#include <GL/glext.h>
|
#include <GL/glext.h>
|
||||||
int main(int argc, char** argv) {}" HAVE_OPENGL)
|
int main(int argc, char** argv) { return 0; }" HAVE_OPENGL)
|
||||||
if(HAVE_OPENGL)
|
if(HAVE_OPENGL)
|
||||||
set(SDL_VIDEO_OPENGL 1)
|
set(SDL_VIDEO_OPENGL 1)
|
||||||
set(SDL_VIDEO_RENDER_OGL 1)
|
set(SDL_VIDEO_RENDER_OGL 1)
|
||||||
@@ -845,7 +835,7 @@ macro(CheckOpenGLES)
|
|||||||
check_c_source_compiles("
|
check_c_source_compiles("
|
||||||
#include <GLES/gl.h>
|
#include <GLES/gl.h>
|
||||||
#include <GLES/glext.h>
|
#include <GLES/glext.h>
|
||||||
int main (int argc, char** argv) {}" HAVE_OPENGLES_V1)
|
int main (int argc, char** argv) { return 0; }" HAVE_OPENGLES_V1)
|
||||||
if(HAVE_OPENGLES_V1)
|
if(HAVE_OPENGLES_V1)
|
||||||
set(HAVE_OPENGLES TRUE)
|
set(HAVE_OPENGLES TRUE)
|
||||||
set(SDL_VIDEO_OPENGL_ES 1)
|
set(SDL_VIDEO_OPENGL_ES 1)
|
||||||
@@ -854,7 +844,7 @@ macro(CheckOpenGLES)
|
|||||||
check_c_source_compiles("
|
check_c_source_compiles("
|
||||||
#include <GLES2/gl2.h>
|
#include <GLES2/gl2.h>
|
||||||
#include <GLES2/gl2ext.h>
|
#include <GLES2/gl2ext.h>
|
||||||
int main (int argc, char** argv) {}" HAVE_OPENGLES_V2)
|
int main (int argc, char** argv) { return 0; }" HAVE_OPENGLES_V2)
|
||||||
if(HAVE_OPENGLES_V2)
|
if(HAVE_OPENGLES_V2)
|
||||||
set(HAVE_OPENGLES TRUE)
|
set(HAVE_OPENGLES TRUE)
|
||||||
set(SDL_VIDEO_OPENGL_ES2 1)
|
set(SDL_VIDEO_OPENGL_ES2 1)
|
||||||
@@ -932,8 +922,7 @@ macro(CheckPTHREAD)
|
|||||||
set(SDL_THREAD_PTHREAD 1)
|
set(SDL_THREAD_PTHREAD 1)
|
||||||
list(APPEND EXTRA_CFLAGS ${PTHREAD_CFLAGS})
|
list(APPEND EXTRA_CFLAGS ${PTHREAD_CFLAGS})
|
||||||
list(APPEND EXTRA_LDFLAGS ${PTHREAD_LDFLAGS})
|
list(APPEND EXTRA_LDFLAGS ${PTHREAD_LDFLAGS})
|
||||||
set(SDL_CFLAGS "${SDL_CFLAGS} ${PTHREAD_CFLAGS}")
|
list(APPEND SDL_CFLAGS ${PTHREAD_CFLAGS})
|
||||||
list(APPEND SDL_LIBS ${PTHREAD_LDFLAGS})
|
|
||||||
|
|
||||||
check_c_source_compiles("
|
check_c_source_compiles("
|
||||||
#define _GNU_SOURCE 1
|
#define _GNU_SOURCE 1
|
||||||
@@ -1138,7 +1127,7 @@ macro(CheckUSBHID)
|
|||||||
endif()
|
endif()
|
||||||
set(SDL_JOYSTICK_USBHID 1)
|
set(SDL_JOYSTICK_USBHID 1)
|
||||||
file(GLOB BSD_JOYSTICK_SOURCES ${SDL2_SOURCE_DIR}/src/joystick/bsd/*.c)
|
file(GLOB BSD_JOYSTICK_SOURCES ${SDL2_SOURCE_DIR}/src/joystick/bsd/*.c)
|
||||||
set(SOURCE_FILES ${SOURCE_FILES} ${BSD_JOYSTICK_SOURCES})
|
list(APPEND SOURCE_FILES ${BSD_JOYSTICK_SOURCES})
|
||||||
list(APPEND EXTRA_CFLAGS ${USB_CFLAGS})
|
list(APPEND EXTRA_CFLAGS ${USB_CFLAGS})
|
||||||
list(APPEND EXTRA_LIBS ${USB_LIBS})
|
list(APPEND EXTRA_LIBS ${USB_LIBS})
|
||||||
set(HAVE_SDL_JOYSTICK TRUE)
|
set(HAVE_SDL_JOYSTICK TRUE)
|
||||||
@@ -1161,10 +1150,14 @@ macro(CheckHIDAPI)
|
|||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${LIBUSB_CFLAGS}")
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${LIBUSB_CFLAGS}")
|
||||||
if(HIDAPI_ONLY_LIBUSB)
|
if(HIDAPI_ONLY_LIBUSB)
|
||||||
list(APPEND EXTRA_LIBS ${LIBUSB_LIBS})
|
list(APPEND EXTRA_LIBS ${LIBUSB_LIBS})
|
||||||
|
elseif(OS2)
|
||||||
|
set(SDL_LIBUSB_DYNAMIC "\"usb100.dll\"")
|
||||||
else()
|
else()
|
||||||
# libusb is loaded dynamically, so don't add it to EXTRA_LIBS
|
# libusb is loaded dynamically, so don't add it to EXTRA_LIBS
|
||||||
FindLibraryAndSONAME("usb-1.0")
|
FindLibraryAndSONAME("usb-1.0")
|
||||||
set(SDL_LIBUSB_DYNAMIC "\"${USB_LIB_SONAME}\"")
|
if(USB_1.0_LIB)
|
||||||
|
set(SDL_LIBUSB_DYNAMIC "\"${USB_1.0_LIB_SONAME}\"")
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
@@ -1175,10 +1168,10 @@ macro(CheckHIDAPI)
|
|||||||
|
|
||||||
if(HAVE_HIDAPI)
|
if(HAVE_HIDAPI)
|
||||||
if(ANDROID)
|
if(ANDROID)
|
||||||
set(SOURCE_FILES ${SOURCE_FILES} ${SDL2_SOURCE_DIR}/src/hidapi/android/hid.cpp)
|
list(APPEND SOURCE_FILES ${SDL2_SOURCE_DIR}/src/hidapi/android/hid.cpp)
|
||||||
endif()
|
endif()
|
||||||
if(IOS OR TVOS)
|
if(IOS OR TVOS)
|
||||||
set(SOURCE_FILES ${SOURCE_FILES} ${SDL2_SOURCE_DIR}/src/hidapi/ios/hid.m)
|
list(APPEND SOURCE_FILES ${SDL2_SOURCE_DIR}/src/hidapi/ios/hid.m)
|
||||||
set(SDL_FRAMEWORK_COREBLUETOOTH 1)
|
set(SDL_FRAMEWORK_COREBLUETOOTH 1)
|
||||||
endif()
|
endif()
|
||||||
set(HAVE_SDL_HIDAPI TRUE)
|
set(HAVE_SDL_HIDAPI TRUE)
|
||||||
@@ -1188,7 +1181,7 @@ macro(CheckHIDAPI)
|
|||||||
set(HAVE_SDL_JOYSTICK TRUE)
|
set(HAVE_SDL_JOYSTICK TRUE)
|
||||||
set(HAVE_HIDAPI_JOYSTICK TRUE)
|
set(HAVE_HIDAPI_JOYSTICK TRUE)
|
||||||
file(GLOB HIDAPI_JOYSTICK_SOURCES ${SDL2_SOURCE_DIR}/src/joystick/hidapi/*.c)
|
file(GLOB HIDAPI_JOYSTICK_SOURCES ${SDL2_SOURCE_DIR}/src/joystick/hidapi/*.c)
|
||||||
set(SOURCE_FILES ${SOURCE_FILES} ${HIDAPI_JOYSTICK_SOURCES})
|
list(APPEND SOURCE_FILES ${HIDAPI_JOYSTICK_SOURCES})
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
endmacro()
|
endmacro()
|
||||||
@@ -1212,7 +1205,11 @@ macro(CheckRPI)
|
|||||||
set(CMAKE_REQUIRED_LIBRARIES "${VIDEO_RPI_LIBRARIES}")
|
set(CMAKE_REQUIRED_LIBRARIES "${VIDEO_RPI_LIBRARIES}")
|
||||||
check_c_source_compiles("
|
check_c_source_compiles("
|
||||||
#include <bcm_host.h>
|
#include <bcm_host.h>
|
||||||
int main(int argc, char **argv) {}" HAVE_RPI)
|
#include <EGL/eglplatform.h>
|
||||||
|
int main(int argc, char **argv) {
|
||||||
|
EGL_DISPMANX_WINDOW_T window;
|
||||||
|
bcm_host_init();
|
||||||
|
}" HAVE_RPI)
|
||||||
set(CMAKE_REQUIRED_FLAGS "${ORIG_CMAKE_REQUIRED_FLAGS}")
|
set(CMAKE_REQUIRED_FLAGS "${ORIG_CMAKE_REQUIRED_FLAGS}")
|
||||||
set(CMAKE_REQUIRED_LIBRARIES)
|
set(CMAKE_REQUIRED_LIBRARIES)
|
||||||
|
|
||||||
@@ -1220,7 +1217,7 @@ macro(CheckRPI)
|
|||||||
set(HAVE_SDL_VIDEO TRUE)
|
set(HAVE_SDL_VIDEO TRUE)
|
||||||
set(SDL_VIDEO_DRIVER_RPI 1)
|
set(SDL_VIDEO_DRIVER_RPI 1)
|
||||||
file(GLOB VIDEO_RPI_SOURCES ${SDL2_SOURCE_DIR}/src/video/raspberry/*.c)
|
file(GLOB VIDEO_RPI_SOURCES ${SDL2_SOURCE_DIR}/src/video/raspberry/*.c)
|
||||||
set(SOURCE_FILES ${SOURCE_FILES} ${VIDEO_RPI_SOURCES})
|
list(APPEND SOURCE_FILES ${VIDEO_RPI_SOURCES})
|
||||||
list(APPEND EXTRA_LIBS ${VIDEO_RPI_LIBRARIES})
|
list(APPEND EXTRA_LIBS ${VIDEO_RPI_LIBRARIES})
|
||||||
# !!! FIXME: shouldn't be using CMAKE_C_FLAGS, right?
|
# !!! FIXME: shouldn't be using CMAKE_C_FLAGS, right?
|
||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${VIDEO_RPI_INCLUDE_FLAGS} ${VIDEO_RPI_LIBRARY_FLAGS}")
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${VIDEO_RPI_INCLUDE_FLAGS} ${VIDEO_RPI_LIBRARY_FLAGS}")
|
||||||
@@ -1247,7 +1244,7 @@ macro(CheckKMSDRM)
|
|||||||
set(HAVE_SDL_VIDEO TRUE)
|
set(HAVE_SDL_VIDEO TRUE)
|
||||||
|
|
||||||
file(GLOB KMSDRM_SOURCES ${SDL2_SOURCE_DIR}/src/video/kmsdrm/*.c)
|
file(GLOB KMSDRM_SOURCES ${SDL2_SOURCE_DIR}/src/video/kmsdrm/*.c)
|
||||||
set(SOURCE_FILES ${SOURCE_FILES} ${KMSDRM_SOURCES})
|
list(APPEND SOURCE_FILES ${KMSDRM_SOURCES})
|
||||||
|
|
||||||
list(APPEND EXTRA_CFLAGS ${KMSDRM_CFLAGS})
|
list(APPEND EXTRA_CFLAGS ${KMSDRM_CFLAGS})
|
||||||
|
|
||||||
@@ -1263,7 +1260,7 @@ macro(CheckKMSDRM)
|
|||||||
set(SDL_VIDEO_DRIVER_KMSDRM_DYNAMIC_GBM "\"${GBM_LIB_SONAME}\"")
|
set(SDL_VIDEO_DRIVER_KMSDRM_DYNAMIC_GBM "\"${GBM_LIB_SONAME}\"")
|
||||||
set(HAVE_KMSDRM_SHARED TRUE)
|
set(HAVE_KMSDRM_SHARED TRUE)
|
||||||
else()
|
else()
|
||||||
set(EXTRA_LIBS ${KMSDRM_LIBRARIES} ${EXTRA_LIBS})
|
list(APPEND EXTRA_LIBS ${KMSDRM_LIBRARIES})
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
@@ -0,0 +1,100 @@
|
|||||||
|
# This cmake build script is meant for verifying the various CMake configuration script.
|
||||||
|
|
||||||
|
cmake_minimum_required(VERSION 3.12)
|
||||||
|
project(sdl_test LANGUAGES C)
|
||||||
|
|
||||||
|
if(ANDROID)
|
||||||
|
macro(add_executable NAME)
|
||||||
|
set(args ${ARGN})
|
||||||
|
list(REMOVE_ITEM args WIN32)
|
||||||
|
add_library(${NAME} SHARED ${args})
|
||||||
|
unset(args)
|
||||||
|
endmacro()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
cmake_policy(SET CMP0074 NEW)
|
||||||
|
|
||||||
|
# Override CMAKE_FIND_ROOT_PATH_MODE to allow search for SDL2 outside of sysroot
|
||||||
|
set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE NEVER)
|
||||||
|
|
||||||
|
include(FeatureSummary)
|
||||||
|
|
||||||
|
option(TEST_SHARED "Test linking to shared SDL2 library" ON)
|
||||||
|
add_feature_info("TEST_SHARED" TEST_SHARED "Test linking with shared library")
|
||||||
|
|
||||||
|
option(TEST_STATIC "Test linking to static SDL2 libary" ON)
|
||||||
|
add_feature_info("TEST_STATIC" TEST_STATIC "Test linking with static library")
|
||||||
|
|
||||||
|
if(TEST_SHARED)
|
||||||
|
find_package(SDL2 REQUIRED CONFIG COMPONENTS SDL2)
|
||||||
|
if(EMSCRIPTEN OR (WIN32 AND NOT WINDOWS_STORE))
|
||||||
|
find_package(SDL2 REQUIRED CONFIG COMPONENTS SDL2main)
|
||||||
|
endif()
|
||||||
|
add_executable(gui-shared WIN32 main_gui.c)
|
||||||
|
if(TARGET SDL2::SDL2main)
|
||||||
|
target_link_libraries(gui-shared PRIVATE SDL2::SDL2main)
|
||||||
|
endif()
|
||||||
|
target_link_libraries(gui-shared PRIVATE SDL2::SDL2)
|
||||||
|
if(WIN32)
|
||||||
|
add_custom_command(TARGET gui-shared POST_BUILD
|
||||||
|
COMMAND ${CMAKE_COMMAND} -E copy_if_different "$<TARGET_FILE:SDL2::SDL2>" "$<TARGET_FILE_DIR:gui-shared>"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
add_executable(gui-shared-vars WIN32 main_gui.c)
|
||||||
|
target_link_libraries(gui-shared-vars PRIVATE ${SDL2_LIBRARIES})
|
||||||
|
target_include_directories(gui-shared-vars PRIVATE ${SDL2_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
add_executable(cli-shared main_cli.c)
|
||||||
|
target_link_libraries(cli-shared PRIVATE SDL2::SDL2)
|
||||||
|
if(WIN32)
|
||||||
|
add_custom_command(TARGET cli-shared POST_BUILD
|
||||||
|
COMMAND ${CMAKE_COMMAND} -E copy_if_different "$<TARGET_FILE:SDL2::SDL2>" "$<TARGET_FILE_DIR:cli-shared>"
|
||||||
|
)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# SDL2_LIBRARIES does not support creating a cli SDL2 application
|
||||||
|
# (it is possible that SDL2main is a stub, but we don't know for sure)
|
||||||
|
if(NOT TARGET SDL2::SDL2main)
|
||||||
|
add_executable(cli-shared-vars main_cli.c)
|
||||||
|
target_link_libraries(cli-shared-vars PRIVATE ${SDL2_LIBRARIES})
|
||||||
|
target_include_directories(cli-shared-vars PRIVATE ${SDL2_INCLUDE_DIRS})
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(TEST_STATIC)
|
||||||
|
find_package(SDL2 REQUIRED CONFIG COMPONENTS SDL2-static)
|
||||||
|
if(EMSCRIPTEN OR (WIN32 AND NOT WINDOWS_STORE))
|
||||||
|
find_package(SDL2 REQUIRED CONFIG COMPONENTS SDL2main)
|
||||||
|
endif()
|
||||||
|
add_executable(gui-static WIN32 main_gui.c)
|
||||||
|
if(TARGET SDL2::SDL2main)
|
||||||
|
target_link_libraries(gui-static PRIVATE SDL2::SDL2main)
|
||||||
|
endif()
|
||||||
|
target_link_libraries(gui-static PRIVATE SDL2::SDL2-static)
|
||||||
|
|
||||||
|
add_executable(gui-static-vars WIN32 main_gui.c)
|
||||||
|
target_link_libraries(gui-static-vars PRIVATE ${SDL2MAIN_LIBRARY} ${SDL2_STATIC_LIBRARIES})
|
||||||
|
target_include_directories(gui-static-vars PRIVATE ${SDL2_INCLUDE_DIRS})
|
||||||
|
|
||||||
|
add_executable(cli-static main_cli.c)
|
||||||
|
target_link_libraries(cli-static PRIVATE SDL2::SDL2-static)
|
||||||
|
|
||||||
|
# SDL2_LIBRARIES does not support creating a cli SDL2 application (when SDL2::SDL2main is available)
|
||||||
|
# (it is possible that SDL2main is a stub, but we don't know for sure)
|
||||||
|
if(NOT TARGET SDL2::SDL2main)
|
||||||
|
add_executable(cli-static-vars main_cli.c)
|
||||||
|
target_link_libraries(cli-static-vars PRIVATE ${SDL2_STATIC_LIBRARIES})
|
||||||
|
target_include_directories(cli-static-vars PRIVATE ${SDL2_INCLUDE_DIRS})
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
|
message(STATUS "SDL2_PREFIX: ${SDL2_PREFIX}")
|
||||||
|
message(STATUS "SDL2_INCLUDE_DIR: ${SDL2_INCLUDE_DIR}")
|
||||||
|
message(STATUS "SDL2_INCLUDE_DIRS: ${SDL2_INCLUDE_DIRS}")
|
||||||
|
message(STATUS "SDL2_LIBRARIES: ${SDL2_LIBRARIES}")
|
||||||
|
message(STATUS "SDL2_STATIC_LIBRARIES: ${SDL2_STATIC_LIBRARIES}")
|
||||||
|
message(STATUS "SDL2MAIN_LIBRARY: ${SDL2MAIN_LIBRARY}")
|
||||||
|
message(STATUS "SDL2TEST_LIBRARY: ${SDL2TEST_LIBRARY}")
|
||||||
|
|
||||||
|
feature_summary(WHAT ALL)
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
#define SDL_MAIN_HANDLED
|
||||||
|
#include "SDL.h"
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
int main(int argc, char *argv[]) {
|
||||||
|
SDL_SetMainReady();
|
||||||
|
if (SDL_Init(0) < 0) {
|
||||||
|
fprintf(stderr, "could not initialize sdl2: %s\n", SDL_GetError());
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
SDL_Delay(100);
|
||||||
|
SDL_Quit();
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
#include "SDL.h"
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
int main(int argc, char *argv[]) {
|
||||||
|
SDL_Window *window = NULL;
|
||||||
|
SDL_Surface *screenSurface = NULL;
|
||||||
|
if (SDL_Init(SDL_INIT_VIDEO) < 0) {
|
||||||
|
fprintf(stderr, "could not initialize sdl2: %s\n", SDL_GetError());
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
window = SDL_CreateWindow(
|
||||||
|
"hello_sdl2",
|
||||||
|
SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED,
|
||||||
|
640, 480,
|
||||||
|
SDL_WINDOW_SHOWN
|
||||||
|
);
|
||||||
|
if (window == NULL) {
|
||||||
|
fprintf(stderr, "could not create window: %s\n", SDL_GetError());
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
screenSurface = SDL_GetWindowSurface(window);
|
||||||
|
SDL_FillRect(screenSurface, NULL, SDL_MapRGB(screenSurface->format, 0xff, 0xff, 0xff));
|
||||||
|
SDL_UpdateWindowSurface(window);
|
||||||
|
SDL_Delay(100);
|
||||||
|
SDL_DestroyWindow(window);
|
||||||
|
SDL_Quit();
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
+422
-184
File diff suppressed because it is too large.
Load diff
Vendored
-174
@@ -1,174 +0,0 @@
|
|||||||
libsdl2 (2.0.18) UNRELEASED; urgency=low
|
|
||||||
|
|
||||||
* Updated SDL to version 2.0.18
|
|
||||||
|
|
||||||
-- Sam Lantinga <slouken@libsdl.org> Fri, 26 Nov 2021 08:07:21 -0800
|
|
||||||
|
|
||||||
libsdl2 (2.0.17) UNRELEASED; urgency=low
|
|
||||||
|
|
||||||
* Updated SDL to version 2.0.17
|
|
||||||
|
|
||||||
-- Sam Lantinga <slouken@libsdl.org> Tue, 10 Aug 2021 15:00:14 -0800
|
|
||||||
|
|
||||||
libsdl2 (2.0.16) UNRELEASED; urgency=low
|
|
||||||
|
|
||||||
* Updated SDL to version 2.0.16
|
|
||||||
|
|
||||||
-- Sam Lantinga <slouken@libsdl.org> Sat, 31 Jul 2021 13:27:38 -0800
|
|
||||||
|
|
||||||
libsdl2 (2.0.15) UNRELEASED; urgency=low
|
|
||||||
|
|
||||||
* Updated SDL to version 2.0.15 for development builds
|
|
||||||
|
|
||||||
-- Sam Lantinga <slouken@libsdl.org> Tue, 22 Dec 2020 10:29:01 -0800
|
|
||||||
|
|
||||||
libsdl2 (2.0.14) UNRELEASED; urgency=low
|
|
||||||
|
|
||||||
* Updated SDL to version 2.0.14
|
|
||||||
|
|
||||||
-- Sam Lantinga <slouken@libsdl.org> Tue, 8 Dec 2020 17:54:33 -0800
|
|
||||||
|
|
||||||
libsdl2 (2.0.13) UNRELEASED; urgency=low
|
|
||||||
|
|
||||||
* Updated SDL to version 2.0.13 for development builds
|
|
||||||
|
|
||||||
-- Sam Lantinga <slouken@libsdl.org> Tue, 10 Mar 2020 18:24:22 -0800
|
|
||||||
|
|
||||||
libsdl2 (2.0.12) UNRELEASED; urgency=low
|
|
||||||
|
|
||||||
* Updated SDL to version 2.0.12
|
|
||||||
|
|
||||||
-- Sam Lantinga <slouken@libsdl.org> Sun, 1 Mar 2020 14:57:07 -0800
|
|
||||||
|
|
||||||
libsdl2 (2.0.11) UNRELEASED; urgency=low
|
|
||||||
|
|
||||||
* Updated SDL to version 2.0.11 for development builds
|
|
||||||
|
|
||||||
-- Sam Lantinga <slouken@libsdl.org> Sun, 22 Sep 2019 10:33:03 -0800
|
|
||||||
|
|
||||||
libsdl2 (2.0.10) UNRELEASED; urgency=low
|
|
||||||
|
|
||||||
* Updated SDL to version 2.0.10
|
|
||||||
|
|
||||||
-- Sam Lantinga <slouken@libsdl.org> Mon, 17 Jun 2019 08:48:47 -0800
|
|
||||||
|
|
||||||
libsdl2 (2.0.9) UNRELEASED; urgency=low
|
|
||||||
|
|
||||||
* Updated SDL to version 2.0.9
|
|
||||||
|
|
||||||
-- Sam Lantinga <slouken@libsdl.org> Wed, 26 Sep 2018 10:02:21 -0800
|
|
||||||
|
|
||||||
libsdl2 (2.0.8) UNRELEASED; urgency=low
|
|
||||||
|
|
||||||
* Updated SDL to version 2.0.8
|
|
||||||
|
|
||||||
-- Sam Lantinga <slouken@libsdl.org> Sat, 4 Nov 2017 21:21:53 -0800
|
|
||||||
|
|
||||||
libsdl2 (2.0.7) UNRELEASED; urgency=low
|
|
||||||
|
|
||||||
* Updated SDL to version 2.0.7
|
|
||||||
|
|
||||||
-- Sam Lantinga <slouken@libsdl.org> Thu, 12 Oct 2017 08:01:16 -0800
|
|
||||||
|
|
||||||
libsdl2 (2.0.6) UNRELEASED; urgency=low
|
|
||||||
|
|
||||||
* Updated SDL to version 2.0.6
|
|
||||||
|
|
||||||
-- Sam Lantinga <slouken@libsdl.org> Sat, 9 Sep 2017 07:29:36 -0800
|
|
||||||
|
|
||||||
libsdl2 (2.0.5) UNRELEASED; urgency=low
|
|
||||||
|
|
||||||
* Updated SDL to version 2.0.5
|
|
||||||
|
|
||||||
-- Sam Lantinga <slouken@libsdl.org> Mon, 28 Nov 2016 07:32:52 -0800
|
|
||||||
|
|
||||||
libsdl2 (2.0.4) UNRELEASED; urgency=low
|
|
||||||
|
|
||||||
* Updated SDL to version 2.0.4
|
|
||||||
|
|
||||||
-- Sam Lantinga <slouken@libsdl.org> Thu, 07 Jan 2016 11:02:39 -0800
|
|
||||||
|
|
||||||
libsdl2 (2.0.3) UNRELEASED; urgency=low
|
|
||||||
|
|
||||||
* Updated SDL to version 2.0.3
|
|
||||||
|
|
||||||
-- Sam Lantinga <slouken@libsdl.org> Sun, 9 Mar 2014 10:35:54 -0800
|
|
||||||
|
|
||||||
libsdl2 (2.0.2) UNRELEASED; urgency=low
|
|
||||||
|
|
||||||
* Updated SDL to version 2.0.2
|
|
||||||
|
|
||||||
-- Sam Lantinga <slouken@libsdl.org> Sun, 9 Feb 2014 2:55:59 -0800
|
|
||||||
|
|
||||||
libsdl2 (2.0.1) UNRELEASED; urgency=low
|
|
||||||
|
|
||||||
* Updated SDL to version 2.0.1
|
|
||||||
|
|
||||||
-- Sam Lantinga <slouken@libsdl.org> Wed, 23 Oct 2013 16:31:38 -0800
|
|
||||||
|
|
||||||
libsdl2 (2.0.0) UNRELEASED; urgency=low
|
|
||||||
|
|
||||||
* SDL is now a native debian package.
|
|
||||||
* Removed udeb package
|
|
||||||
* Disabled DirectFB support by default, to avoid runtime dependencies
|
|
||||||
|
|
||||||
-- Sam Lantinga <slouken@libsdl.org> Fri, 15 Feb 2013 08:55:04 -0800
|
|
||||||
|
|
||||||
libsdl2 (2.0.0~20130127-1) UNRELEASED; urgency=low
|
|
||||||
|
|
||||||
* New upstream snapshot.
|
|
||||||
|
|
||||||
-- Sam Hocevar <sho@debian.org> Wed, 30 Jan 2013 23:01:12 +0100
|
|
||||||
|
|
||||||
libsdl2 (2.0.0~20130103-1) unstable; urgency=low
|
|
||||||
|
|
||||||
[ Manuel A. Fernandez Montecelo ]
|
|
||||||
* debian/control:
|
|
||||||
- Updating maintainers/permissions:
|
|
||||||
- Add myself and Felix Geyer
|
|
||||||
- Update Build-Depends:
|
|
||||||
- Remove a few obsolete items
|
|
||||||
- Add items added lately to libsdl1.2, such as libts (touch screen)
|
|
||||||
support
|
|
||||||
- Add "libsdl2-dbg", analog to libsdl1.2-dbg
|
|
||||||
- Change "XC-Package-Type: udeb" to "Package-Type"
|
|
||||||
* debian/compat: set level 9
|
|
||||||
* debian/source/format: Set to "3.0 (quilt)"
|
|
||||||
- Remove README.source, not needed with new format
|
|
||||||
* debian/sdl2-config.1: Fix typo, "progams"->"programs"
|
|
||||||
* debian/libsdl2-dev.install:
|
|
||||||
- Remove "usr/lib/*/*.la", discouraged
|
|
||||||
- Add man pages: "usr/share/man/man3/*"
|
|
||||||
* debian/libsdl2-dev.manpages: add file to install local "sdl2-config.1"
|
|
||||||
* debian/sources: Removed, possible obsolete file from long ago?
|
|
||||||
* debian/copyright:
|
|
||||||
- Upstream updated to zlib/libpng
|
|
||||||
- Copyright-file format conversion to 1.0
|
|
||||||
- Complete revamp and detailed research about copyright and licenses used,
|
|
||||||
it's very messy but hopefully complete
|
|
||||||
|
|
||||||
[ Felix Geyer ]
|
|
||||||
* Simplify debian/rules by using dh(1).
|
|
||||||
|
|
||||||
-- Manuel A. Fernandez Montecelo <manuel.montezelo@gmail.com> Sun, 27 Jan 2013 16:40:49 +0100
|
|
||||||
|
|
||||||
libsdl2 (2.0~20120220c-1) experimental; urgency=low
|
|
||||||
|
|
||||||
* Upstream version was renamed to 2.0 (Closes: #669367).
|
|
||||||
* New upstream snapshot (Closes: #671506).
|
|
||||||
* This package no longer conflicts with libsdl-1.2.
|
|
||||||
* debian/rules: add multiarch support (Closes: #669364).
|
|
||||||
|
|
||||||
* debian/patches/fix_joystick_misc_axes.diff: fix a joystick remapping
|
|
||||||
bug causing some axes to malfunction.
|
|
||||||
* debian/patches/external_header_paths.diff: provide additional CFLAGS
|
|
||||||
so that headers such as SDL_syswm.h can be included (Closes: #669363).
|
|
||||||
|
|
||||||
-- Sam Hocevar <sho@debian.org> Thu, 17 May 2012 19:03:59 +0200
|
|
||||||
|
|
||||||
libsdl-1.3 (1.3.0~20111204-1) experimental; urgency=low
|
|
||||||
|
|
||||||
* Initial upload from upstream snapshot.
|
|
||||||
|
|
||||||
-- Sam Hocevar <sho@debian.org> Sun, 04 Dec 2011 14:35:05 +0100
|
|
||||||
|
|
||||||
Vendored
-1
@@ -1 +0,0 @@
|
|||||||
9
|
|
||||||
Vendored
-91
@@ -1,91 +0,0 @@
|
|||||||
Source: libsdl2
|
|
||||||
Priority: optional
|
|
||||||
Section: libs
|
|
||||||
Maintainer: Debian SDL packages maintainers <pkg-sdl-maintainers@lists.alioth.debian.org>
|
|
||||||
Uploaders: Barry deFreese <bdefreese@debian.org>,
|
|
||||||
Sam Hocevar <sho@debian.org>,
|
|
||||||
Manuel A. Fernandez Montecelo <manuel.montezelo@gmail.com>,
|
|
||||||
Felix Geyer <fgeyer@debian.org>,
|
|
||||||
Sam Lantinga <slouken@libsdl.org>
|
|
||||||
Standards-Version: 3.9.3
|
|
||||||
Build-Depends: debhelper (>= 9),
|
|
||||||
dh-autoreconf,
|
|
||||||
dpkg-dev (>= 1.16.1~),
|
|
||||||
fcitx-libs-dev [linux-any],
|
|
||||||
libasound2-dev [linux-any],
|
|
||||||
libdbus-1-dev,
|
|
||||||
libegl1-mesa-dev [!hurd-any],
|
|
||||||
libdrm-dev [linux-any],
|
|
||||||
libgl1-mesa-dev,
|
|
||||||
libgles-dev [!hurd-any],
|
|
||||||
libpulse-dev,
|
|
||||||
libudev-dev [linux-any],
|
|
||||||
libdbus-1-dev [linux-any],
|
|
||||||
libibus-1.0-dev[linux-any],
|
|
||||||
libpulse-dev,
|
|
||||||
libsndio-dev,
|
|
||||||
libudev-dev [linux-any],
|
|
||||||
libusb2-dev [kfreebsd-any],
|
|
||||||
libusbhid-dev [kfreebsd-any],
|
|
||||||
libwayland-dev [linux-any],
|
|
||||||
libx11-dev,
|
|
||||||
libxcursor-dev,
|
|
||||||
libxext-dev,
|
|
||||||
libxfixes-dev,
|
|
||||||
libxi-dev,
|
|
||||||
libxinerama-dev,
|
|
||||||
libxkbcommon-dev,
|
|
||||||
libxrandr-dev,
|
|
||||||
libxss-dev,
|
|
||||||
libxxf86vm-dev,
|
|
||||||
libxt-dev,
|
|
||||||
libxv-dev,
|
|
||||||
pkg-config,
|
|
||||||
libsamplerate0-dev,
|
|
||||||
wayland-protocols
|
|
||||||
Homepage: http://www.libsdl.org/
|
|
||||||
|
|
||||||
Package: libsdl2-2.0-0
|
|
||||||
Architecture: any
|
|
||||||
Multi-Arch: same
|
|
||||||
Pre-Depends: ${misc:Pre-Depends}
|
|
||||||
Depends: ${misc:Depends},
|
|
||||||
${shlibs:Depends},
|
|
||||||
libudev1 [linux-any],
|
|
||||||
libdbus-1-3 [linux-any]
|
|
||||||
Conflicts: libsdl-1.3-0
|
|
||||||
Replaces: libsdl-1.3-0
|
|
||||||
Description: Simple DirectMedia Layer
|
|
||||||
SDL is a library that allows programs portable low level access to
|
|
||||||
a video framebuffer, audio output, mouse, and keyboard.
|
|
||||||
.
|
|
||||||
This package contains the shared library, compiled with X11 graphics drivers and OSS, ALSA and PulseAudio sound drivers.
|
|
||||||
|
|
||||||
Package: libsdl2-dev
|
|
||||||
Section: libdevel
|
|
||||||
Architecture: any
|
|
||||||
Multi-Arch: same
|
|
||||||
Depends: ${misc:Depends},
|
|
||||||
libsdl2-2.0-0 (= ${binary:Version}),
|
|
||||||
libc6-dev,
|
|
||||||
libgl1-mesa-dev
|
|
||||||
Conflicts: libsdl-1.3-dev
|
|
||||||
Replaces: libsdl-1.3-dev
|
|
||||||
Description: Simple DirectMedia Layer development files
|
|
||||||
SDL is a library that allows programs portable low level access to a video
|
|
||||||
framebuffer, audio output, mouse, and keyboard.
|
|
||||||
.
|
|
||||||
This package contains files needed if you wish to use the SDL library in your own programs.
|
|
||||||
|
|
||||||
Package: libsdl2-dbg
|
|
||||||
Priority: extra
|
|
||||||
Section: debug
|
|
||||||
Architecture: any
|
|
||||||
Multi-Arch: same
|
|
||||||
Depends: ${misc:Depends},
|
|
||||||
libsdl2-2.0-0 (= ${binary:Version}),
|
|
||||||
Description: Simple DirectMedia Layer debug files
|
|
||||||
SDL is a library that allows programs portable low level access to a video
|
|
||||||
framebuffer, audio output, mouse, and keyboard.
|
|
||||||
.
|
|
||||||
This package contains the debug symbols for the SDL library.
|
|
||||||
Vendored
-351
@@ -1,351 +0,0 @@
|
|||||||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
|
||||||
Upstream-Name: SDL
|
|
||||||
Upstream-Contact: Sam Lantinga <slouken@libsdl.org>
|
|
||||||
Source: http://www.libsdl.org/
|
|
||||||
|
|
||||||
Files: *
|
|
||||||
Copyright: 1997-2021 Sam Lantinga <slouken@libsdl.org>
|
|
||||||
License: zlib/libpng
|
|
||||||
|
|
||||||
Files: src/libm/*
|
|
||||||
Copyright: 1993 by Sun Microsystems, Inc. All rights reserved.
|
|
||||||
License: SunPro
|
|
||||||
|
|
||||||
Files: src/main/windows/SDL_windows_main.c
|
|
||||||
Copyright: 2021 Sam Lantinga
|
|
||||||
License: PublicDomain_Sam_Lantinga
|
|
||||||
Comment: SDL_main.c, placed in the public domain by Sam Lantinga 4/13/98
|
|
||||||
|
|
||||||
Files: src/render/mmx.h
|
|
||||||
Copyright: 1997-99 by H. Dietz and R. Fisher
|
|
||||||
License: zlib/libpng
|
|
||||||
Comment:
|
|
||||||
Copyright but no mention to license.
|
|
||||||
.
|
|
||||||
Included since long ago with SDL (and its Debian package) under directory
|
|
||||||
src/video/mmx.h
|
|
||||||
|
|
||||||
Files: src/render/SDL_yuv_sw.c
|
|
||||||
Copyright: 1995 Erik Corry
|
|
||||||
1995 The Regents of the University of California
|
|
||||||
1995 Brown University
|
|
||||||
License: BrownUn_UnCalifornia_ErikCorry
|
|
||||||
|
|
||||||
Files: src/test/SDL_test_md5.c
|
|
||||||
Copyright: 1997-2021 Sam Lantinga <slouken@libsdl.org>
|
|
||||||
1990 RSA Data Security, Inc.
|
|
||||||
License: zlib/libpng and RSA_Data_Security
|
|
||||||
|
|
||||||
Files: src/thread/windows/win_ce_semaphore.c
|
|
||||||
Copyright: 1998, Johnson M. Hart (with corrections 2001 by Rainer Loritz)
|
|
||||||
License: Johnson_M._Hart
|
|
||||||
|
|
||||||
Files: src/video/x11/imKStoUCS.c
|
|
||||||
src/video/x11/imKStoUCS.h
|
|
||||||
Copyright: 1994-2003 The XFree86 Project, Inc.
|
|
||||||
License: MIT/X11
|
|
||||||
|
|
||||||
Files: test/testhaptic.c
|
|
||||||
Copyright: 1997-2021 Sam Lantinga <slouken@libsdl.org>
|
|
||||||
2008 Edgar Simo Serra
|
|
||||||
License: BSD_3_clause
|
|
||||||
|
|
||||||
Files: test/testrumble.c
|
|
||||||
Copyright: 1997-2021 Sam Lantinga <slouken@libsdl.org>
|
|
||||||
2011 Edgar Simo Serra
|
|
||||||
License: BSD_3_clause
|
|
||||||
|
|
||||||
Files: test/shapes/*
|
|
||||||
Copyright: none
|
|
||||||
License: zlib/libpng
|
|
||||||
Comment: No specific information about the images
|
|
||||||
|
|
||||||
Files: Xcode/TemplatesForXcode*/*/main.c
|
|
||||||
Copyright: none
|
|
||||||
License: zlib/libpng
|
|
||||||
Comment: SDL files, no copyright or license notice
|
|
||||||
|
|
||||||
Files: Xcode/TemplatesForXcode*/*/atlantis/*
|
|
||||||
Copyright: 1993, 1994, Silicon Graphics, Inc.
|
|
||||||
License: SGI_atlantis
|
|
||||||
|
|
||||||
Files: Xcode/TemplatesForXcode*/*/atlantis/atlantis.c
|
|
||||||
Copyright: 1994 Mark J. Kilgard
|
|
||||||
1993, 1994, Silicon Graphics, Inc.
|
|
||||||
License: SGI_atlantis
|
|
||||||
Comment: See license for full copyright notice, this one is the same except for
|
|
||||||
the additional copyright holder
|
|
||||||
|
|
||||||
Files: Xcode/SDLTest/sdlcommon_prefix.h
|
|
||||||
Copyright: 2003 Darrell Walisser
|
|
||||||
License: zlib/libpng
|
|
||||||
Comment:
|
|
||||||
Created by Darrell Walisser on Wed Aug 06 2003.
|
|
||||||
Copyright (c) 2003 __MyCompanyName__. All rights reserved.
|
|
||||||
|
|
||||||
Files: debian/*
|
|
||||||
Copyright: 2011-2012, Manuel A. Fernandez Montecelo <manuel.montezelo@gmail.com>
|
|
||||||
2011-2012, Felix Geyer <debfx-pkg@fobos.de>
|
|
||||||
2011, Roman Vasiyarov <rvasiyarov@gmail.com>
|
|
||||||
2010, Jon Dowland <jmtd@debian.org>
|
|
||||||
2009, Barry deFreese <bdefreese@debian.org>
|
|
||||||
2007-2008, Aurelien Jarno <aurel32@debian.org>
|
|
||||||
2007-2008, Sam Hocevar (Debian packages) <sam+deb@zoy.org>
|
|
||||||
2002-2007, Josselin Mouette <joss@debian.org>
|
|
||||||
2001, Christian T. Steigies <cts@debian.org>
|
|
||||||
2001, Branden Robinson <branden@debian.org>
|
|
||||||
License: LGPL-2.1+
|
|
||||||
|
|
||||||
|
|
||||||
License: zlib/libpng
|
|
||||||
This software is provided 'as-is', without any express or implied
|
|
||||||
warranty. In no event will the authors be held liable for any damages
|
|
||||||
arising from the use of this software.
|
|
||||||
.
|
|
||||||
Permission is granted to anyone to use this software for any purpose,
|
|
||||||
including commercial applications, and to alter it and redistribute it
|
|
||||||
freely, subject to the following restrictions:
|
|
||||||
.
|
|
||||||
1. The origin of this software must not be misrepresented; you must not
|
|
||||||
claim that you wrote the original software. If you use this software
|
|
||||||
in a product, an acknowledgment in the product documentation would be
|
|
||||||
appreciated but is not required.
|
|
||||||
2. Altered source versions must be plainly marked as such, and must not be
|
|
||||||
misrepresented as being the original software.
|
|
||||||
3. This notice may not be removed or altered from any source distribution.
|
|
||||||
|
|
||||||
License: LGPL-2.1+
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU Lesser General Public License as published by
|
|
||||||
the Free Software Foundation; either version 2.1 of the License, or (at
|
|
||||||
your option) any later version.
|
|
||||||
.
|
|
||||||
On Debian systems, the complete text of version 2.1 of the GNU Lesser
|
|
||||||
Public License can be found in '/usr/share/common-licenses/LGPL-2.1'.
|
|
||||||
|
|
||||||
License: MIT/X11
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is fur-
|
|
||||||
nished to do so, subject to the following conditions:
|
|
||||||
.
|
|
||||||
The above copyright notice and this permission notice shall be included in
|
|
||||||
all copies or substantial portions of the Software.
|
|
||||||
.
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FIT-
|
|
||||||
NESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
|
||||||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CON-
|
|
||||||
NECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
||||||
.
|
|
||||||
Except as contained in this notice, the name of the XFree86 Project shall not
|
|
||||||
be used in advertising or otherwise to promote the sale, use or other deal-
|
|
||||||
ings in this Software without prior written authorization from the XFree86
|
|
||||||
Project.
|
|
||||||
|
|
||||||
License: BSD_3_clause
|
|
||||||
Redistribution and use in source and binary forms, with or without
|
|
||||||
modification, are permitted provided that the following conditions are met:
|
|
||||||
* Redistributions of source code must retain the above copyright
|
|
||||||
notice, this list of conditions and the following disclaimer.
|
|
||||||
* Redistributions in binary form must reproduce the above copyright
|
|
||||||
notice, this list of conditions and the following disclaimer in the
|
|
||||||
documentation and/or other materials provided with the distribution.
|
|
||||||
* Neither the name of the LibQxt project nor the
|
|
||||||
names of its contributors may be used to endorse or promote products
|
|
||||||
derived from this software without specific prior written permission.
|
|
||||||
.
|
|
||||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
||||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
||||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
||||||
DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
|
|
||||||
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
||||||
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
||||||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
|
||||||
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
||||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
||||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
Comment:
|
|
||||||
Copyright (C) 1997-2021 Sam Lantinga <slouken@libsdl.org>
|
|
||||||
.
|
|
||||||
This software is provided 'as-is', without any express or implied
|
|
||||||
warranty. In no event will the authors be held liable for any damages
|
|
||||||
arising from the use of this software.
|
|
||||||
.
|
|
||||||
Permission is granted to anyone to use this software for any purpose,
|
|
||||||
including commercial applications, and to alter it and redistribute it
|
|
||||||
freely.
|
|
||||||
.
|
|
||||||
.
|
|
||||||
Copyright (c) 2011, Edgar Simo Serra
|
|
||||||
All rights reserved.
|
|
||||||
.
|
|
||||||
Redistribution and use in source and binary forms, with or without
|
|
||||||
modification, are permitted provided that the following conditions are met:
|
|
||||||
.
|
|
||||||
* Redistributions of source code must retain the above copyright notice,
|
|
||||||
this list of conditions and the following disclaimer.
|
|
||||||
* Redistributions in binary form must reproduce the above copyright notice,
|
|
||||||
this list of conditions and the following disclaimer in the documentation
|
|
||||||
and/or other materials provided with the distribution.
|
|
||||||
* Neither the name of the Simple Directmedia Layer (SDL) nor the names of
|
|
||||||
its contributors may be used to endorse or promote products derived from
|
|
||||||
this software without specific prior written permission.
|
|
||||||
.
|
|
||||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
||||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
||||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
||||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
|
|
||||||
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
||||||
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
||||||
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
||||||
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
||||||
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
||||||
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
|
|
||||||
License: BrownUn_UnCalifornia_ErikCorry
|
|
||||||
/* This code was derived from code carrying the following copyright notices:
|
|
||||||
* Copyright (c) 1995 The Regents of the University of California.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Permission to use, copy, modify, and distribute this software and its
|
|
||||||
* documentation for any purpose, without fee, and without written agreement is
|
|
||||||
* hereby granted, provided that the above copyright notice and the following
|
|
||||||
* two paragraphs appear in all copies of this software.
|
|
||||||
*
|
|
||||||
* IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY PARTY FOR
|
|
||||||
* DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT
|
|
||||||
* OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF
|
|
||||||
* CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
*
|
|
||||||
* THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY WARRANTIES,
|
|
||||||
* INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
||||||
* AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS
|
|
||||||
* ON AN "AS IS" BASIS, AND THE UNIVERSITY OF CALIFORNIA HAS NO OBLIGATION TO
|
|
||||||
* PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
|
|
||||||
*
|
|
||||||
* Copyright (c) 1995 Erik Corry
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Permission to use, copy, modify, and distribute this software and its
|
|
||||||
* documentation for any purpose, without fee, and without written agreement is
|
|
||||||
* hereby granted, provided that the above copyright notice and the following
|
|
||||||
* two paragraphs appear in all copies of this software.
|
|
||||||
*
|
|
||||||
* IN NO EVENT SHALL ERIK CORRY BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT,
|
|
||||||
* SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF
|
|
||||||
* THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF ERIK CORRY HAS BEEN ADVISED
|
|
||||||
* OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
*
|
|
||||||
* ERIK CORRY SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT
|
|
||||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
|
||||||
* PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS"
|
|
||||||
* BASIS, AND ERIK CORRY HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT,
|
|
||||||
* UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
|
|
||||||
*
|
|
||||||
* Portions of this software Copyright (c) 1995 Brown University.
|
|
||||||
* All rights reserved.
|
|
||||||
*
|
|
||||||
* Permission to use, copy, modify, and distribute this software and its
|
|
||||||
* documentation for any purpose, without fee, and without written agreement
|
|
||||||
* is hereby granted, provided that the above copyright notice and the
|
|
||||||
* following two paragraphs appear in all copies of this software.
|
|
||||||
*
|
|
||||||
* IN NO EVENT SHALL BROWN UNIVERSITY BE LIABLE TO ANY PARTY FOR
|
|
||||||
* DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT
|
|
||||||
* OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF BROWN
|
|
||||||
* UNIVERSITY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
*
|
|
||||||
* BROWN UNIVERSITY SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT
|
|
||||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
|
|
||||||
* PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS"
|
|
||||||
* BASIS, AND BROWN UNIVERSITY HAS NO OBLIGATION TO PROVIDE MAINTENANCE,
|
|
||||||
* SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
|
|
||||||
*/
|
|
||||||
|
|
||||||
License: Johnson_M._Hart
|
|
||||||
Permission is granted for any and all use providing that this
|
|
||||||
copyright is properly acknowledged.
|
|
||||||
There are no assurances of suitability for any use whatsoever.
|
|
||||||
|
|
||||||
License: SunPro
|
|
||||||
Developed at SunPro, a Sun Microsystems, Inc. business.
|
|
||||||
Permission to use, copy, modify, and distribute this
|
|
||||||
software is freely granted, provided that this notice
|
|
||||||
is preserved.
|
|
||||||
|
|
||||||
License: PublicDomain_Sam_Lantinga
|
|
||||||
Placed in the public domain by Sam Lantinga 4/13/98
|
|
||||||
|
|
||||||
License: PublicDomain_Edgar_Simo
|
|
||||||
Written by Edgar Simo "bobbens"
|
|
||||||
.
|
|
||||||
Released under Public Domain.
|
|
||||||
|
|
||||||
License: RSA_Data_Security
|
|
||||||
***********************************************************************
|
|
||||||
** utl_md5.c -- the source code for MD5 routines **
|
|
||||||
** RSA Data Security, Inc. MD5 Message-Digest Algorithm **
|
|
||||||
** Created: 2/17/90 RLR **
|
|
||||||
** Revised: 1/91 SRD,AJ,BSK,JT Reference C ver., 7/10 constant corr. **
|
|
||||||
***********************************************************************
|
|
||||||
***********************************************************************
|
|
||||||
** Copyright (C) 1990, RSA Data Security, Inc. All rights reserved. **
|
|
||||||
** **
|
|
||||||
** License to copy and use this software is granted provided that **
|
|
||||||
** it is identified as the "RSA Data Security, Inc. MD5 Message- **
|
|
||||||
** Digest Algorithm" in all material mentioning or referencing this **
|
|
||||||
** software or this function. **
|
|
||||||
** **
|
|
||||||
** License is also granted to make and use derivative works **
|
|
||||||
** provided that such works are identified as "derived from the RSA **
|
|
||||||
** Data Security, Inc. MD5 Message-Digest Algorithm" in all **
|
|
||||||
** material mentioning or referencing the derived work. **
|
|
||||||
** **
|
|
||||||
** RSA Data Security, Inc. makes no representations concerning **
|
|
||||||
** either the merchantability of this software or the suitability **
|
|
||||||
** of this software for any particular purpose. It is provided "as **
|
|
||||||
** is" without express or implied warranty of any kind. **
|
|
||||||
** **
|
|
||||||
** These notices must be retained in any copies of any part of this **
|
|
||||||
** documentation and/or software. **
|
|
||||||
***********************************************************************
|
|
||||||
|
|
||||||
License: SGI_atlantis
|
|
||||||
(c) Copyright 1993, 1994, Silicon Graphics, Inc.
|
|
||||||
ALL RIGHTS RESERVED
|
|
||||||
Permission to use, copy, modify, and distribute this software for
|
|
||||||
any purpose and without fee is hereby granted, provided that the above
|
|
||||||
copyright notice appear in all copies and that both the copyright notice
|
|
||||||
and this permission notice appear in supporting documentation, and that
|
|
||||||
the name of Silicon Graphics, Inc. not be used in advertising
|
|
||||||
or publicity pertaining to distribution of the software without specific,
|
|
||||||
written prior permission.
|
|
||||||
.
|
|
||||||
THE MATERIAL EMBODIED ON THIS SOFTWARE IS PROVIDED TO YOU "AS-IS"
|
|
||||||
AND WITHOUT WARRANTY OF ANY KIND, EXPRESS, IMPLIED OR OTHERWISE,
|
|
||||||
INCLUDING WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY OR
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL SILICON
|
|
||||||
GRAPHICS, INC. BE LIABLE TO YOU OR ANYONE ELSE FOR ANY DIRECT,
|
|
||||||
SPECIAL, INCIDENTAL, INDIRECT OR CONSEQUENTIAL DAMAGES OF ANY
|
|
||||||
KIND, OR ANY DAMAGES WHATSOEVER, INCLUDING WITHOUT LIMITATION,
|
|
||||||
LOSS OF PROFIT, LOSS OF USE, SAVINGS OR REVENUE, OR THE CLAIMS OF
|
|
||||||
THIRD PARTIES, WHETHER OR NOT SILICON GRAPHICS, INC. HAS BEEN
|
|
||||||
ADVISED OF THE POSSIBILITY OF SUCH LOSS, HOWEVER CAUSED AND ON
|
|
||||||
ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE
|
|
||||||
POSSESSION, USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
||||||
.
|
|
||||||
US Government Users Restricted Rights
|
|
||||||
Use, duplication, or disclosure by the Government is subject to
|
|
||||||
restrictions set forth in FAR 52.227.19(c)(2) or subparagraph
|
|
||||||
(c)(1)(ii) of the Rights in Technical Data and Computer Software
|
|
||||||
clause at DFARS 252.227-7013 and/or in similar or successor
|
|
||||||
clauses in the FAR or the DOD or NASA FAR Supplement.
|
|
||||||
Unpublished-- rights reserved under the copyright laws of the
|
|
||||||
United States. Contractor/manufacturer is Silicon Graphics,
|
|
||||||
Inc., 2011 N. Shoreline Blvd., Mountain View, CA 94039-7311.
|
|
||||||
.
|
|
||||||
OpenGL(TM) is a trademark of Silicon Graphics, Inc.
|
|
||||||
Vendored
-4
@@ -1,4 +0,0 @@
|
|||||||
BUGS.txt
|
|
||||||
CREDITS.txt
|
|
||||||
README.md
|
|
||||||
README-SDL.txt
|
|
||||||
Vendored
-1
@@ -1 +0,0 @@
|
|||||||
usr/lib/*/libSDL2-2.0.so.0*
|
|
||||||
Vendored
-1
@@ -1 +0,0 @@
|
|||||||
usr/lib/*/libSDL2-2.0.so.0*
|
|
||||||
Vendored
-9
@@ -1,9 +0,0 @@
|
|||||||
usr/bin/sdl2-config
|
|
||||||
usr/include/SDL2
|
|
||||||
usr/lib/*/*.a
|
|
||||||
usr/lib/*/*.la
|
|
||||||
usr/lib/*/*.so
|
|
||||||
usr/lib/*/pkgconfig/sdl2.pc
|
|
||||||
usr/lib/*/cmake/SDL2/sdl2-config.cmake
|
|
||||||
usr/lib/*/cmake/SDL2/sdl2-config-version.cmake
|
|
||||||
usr/share/aclocal/sdl2.m4
|
|
||||||
Vendored
-1
@@ -1 +0,0 @@
|
|||||||
debian/sdl2-config.1
|
|
||||||
Vendored
-54
@@ -1,54 +0,0 @@
|
|||||||
#!/usr/bin/make -f
|
|
||||||
|
|
||||||
DEB_HOST_ARCH_CPU ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)
|
|
||||||
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
|
|
||||||
|
|
||||||
confflags = --disable-rpath --disable-video-directfb \
|
|
||||||
--disable-nas --disable-esd --disable-arts
|
|
||||||
|
|
||||||
# These flags can be used to create a package directly linking with external libraries and having the appropriate package dependencies
|
|
||||||
#confflags += --disable-alsa-shared
|
|
||||||
#confflags += --disable-arts-shared
|
|
||||||
#confflags += --disable-directfb-shared
|
|
||||||
#confflags += --disable-esd-shared
|
|
||||||
#confflags += --disable-fusionsound-shared
|
|
||||||
#confflags += --disable-jack-shared
|
|
||||||
#confflags += --disable-kmsdrm-shared
|
|
||||||
#confflags += --disable-libsamplerate-shared
|
|
||||||
#confflags += --disable-nas-shared
|
|
||||||
#confflags += --disable-pulseaudio-shared
|
|
||||||
#confflags += --disable-sndio-shared
|
|
||||||
#confflags += --disable-wayland-shared
|
|
||||||
#confflags += --disable-x11-shared
|
|
||||||
|
|
||||||
%:
|
|
||||||
dh $@ --parallel
|
|
||||||
|
|
||||||
override_dh_auto_configure:
|
|
||||||
dh_auto_configure -Bbuilddir/all -- $(confflags)
|
|
||||||
|
|
||||||
override_dh_auto_build:
|
|
||||||
dh_auto_build -Bbuilddir/all
|
|
||||||
tar czf debian/examples.tar.gz test
|
|
||||||
|
|
||||||
override_dh_auto_install:
|
|
||||||
dh_auto_install -Bbuilddir/all
|
|
||||||
|
|
||||||
override_dh_auto_clean:
|
|
||||||
dh_auto_clean -Bbuilddir/all
|
|
||||||
rm -f debian/examples.tar.gz
|
|
||||||
|
|
||||||
override_dh_install:
|
|
||||||
dh_install --remaining-packages --fail-missing -XlibSDL2.la
|
|
||||||
|
|
||||||
override_dh_installexamples:
|
|
||||||
dh_installexamples -plibsdl2-dev debian/examples.tar.gz
|
|
||||||
dh_installexamples --remaining-packages
|
|
||||||
|
|
||||||
override_dh_link:
|
|
||||||
# to address lintian warning
|
|
||||||
# W: libsdl2-2.0-0: dev-pkg-without-shlib-symlink usr/lib/x86_64-linux-gnu/libSDL2-2.0.so.0.0.0 usr/lib/x86_64-linux-gnu/libSDL2-2.0.so
|
|
||||||
dh_link -plibsdl2-dev usr/lib/$(DEB_HOST_MULTIARCH)/libSDL2-2.0.so.0.0.0 usr/lib/$(DEB_HOST_MULTIARCH)/libSDL2-2.0.so
|
|
||||||
|
|
||||||
override_dh_strip:
|
|
||||||
dh_strip --dbg-package=libsdl2-dbg
|
|
||||||
Vendored
-86
@@ -1,86 +0,0 @@
|
|||||||
.TH sdl2-config 1 "2012-02-20" "SDL 2.0"
|
|
||||||
.SH NAME
|
|
||||||
sdl2-config \- script to get information about the installed version of SDL
|
|
||||||
.SH SYNOPSIS
|
|
||||||
.B sdl2-config
|
|
||||||
[ --prefix=
|
|
||||||
.IR DIR ]
|
|
||||||
[ --exec-prefix=
|
|
||||||
.IR DIR ]
|
|
||||||
[ --version ] [ --libs | --library-libs | --plugin-libs ] [ --cflags ]
|
|
||||||
.SH DESCRIPTION
|
|
||||||
.B sdl2-config
|
|
||||||
is a tool that is used to configure and determine the compiler and linker
|
|
||||||
flags that should be used to compile and link programs, libraries, and
|
|
||||||
plugins that use SDL. It is also used internally by the m4 macros that are
|
|
||||||
included with SDL.
|
|
||||||
.SH OPTIONS
|
|
||||||
.TP
|
|
||||||
.B --cflags
|
|
||||||
Print the compiler flags that are necessary to compile a program or library
|
|
||||||
that uses SDL.
|
|
||||||
.TP
|
|
||||||
.BI --exec-prefix= DIR
|
|
||||||
If specified, use
|
|
||||||
.I DIR
|
|
||||||
instead of the installation exec prefix that SDL was build with when
|
|
||||||
computing the output for the --cflags, --libs, --library-libs, and
|
|
||||||
--plugin-libs options. This option must be specified before any of the
|
|
||||||
--cflags, --libs, --library-libs, and --plugin-libs options.
|
|
||||||
.TP
|
|
||||||
.B --libs
|
|
||||||
Print the linker flags that are necessary to link a program that uses SDL.
|
|
||||||
.TP
|
|
||||||
.B --static-libs
|
|
||||||
Print the linker flags that are necessary to statically link a program that uses SDL.
|
|
||||||
.TP
|
|
||||||
.B --library-libs
|
|
||||||
Print the linker flags that are necessary to link a library that uses SDL.
|
|
||||||
(This excludes any static objects required for linking, since these must be
|
|
||||||
linked only by executable programs.)
|
|
||||||
.TP
|
|
||||||
.B --plugin-libs
|
|
||||||
Print the linker flags that are necessary to link an SDL-using object that
|
|
||||||
is to be accessed via
|
|
||||||
.IR dlopen (3).
|
|
||||||
This may include static objects with PIC symbol information. This option
|
|
||||||
should
|
|
||||||
.B not
|
|
||||||
be used for ordinary shared libraries or standalone applications.
|
|
||||||
.TP
|
|
||||||
.BI --prefix= DIR
|
|
||||||
If specified, use PREFIX instead of the installation prefix that SDL was
|
|
||||||
built with when computing the output for the --cflags, --libs,
|
|
||||||
--library-libs, and --plugin-libs options. This option is also used for
|
|
||||||
the exec prefix if --exec-prefix was not specified. This option must be
|
|
||||||
specified before any of the --cflags, --libs, --library-libs, and
|
|
||||||
--plugin-libs options.
|
|
||||||
.TP
|
|
||||||
.B --version
|
|
||||||
Prints the currently installed version of SDL on standard output.
|
|
||||||
.SH EXAMPLES
|
|
||||||
.TP
|
|
||||||
gcc -o main.o $(sdl2-config --cflags) main.c
|
|
||||||
is how you might use
|
|
||||||
.B sdl2-config
|
|
||||||
to compile a C source file for an executable program.
|
|
||||||
.TP
|
|
||||||
gcc -o my_app $(sdl2-config --libs) main.o util.o
|
|
||||||
is how you might use
|
|
||||||
.B sdl2-config
|
|
||||||
to link compiled objects into an executable program.
|
|
||||||
.TP
|
|
||||||
gcc -o libSDL_nifty-2.0.so.0.0.1 $(sdl --library-libs) read.o write.o munge.o
|
|
||||||
is how you might use
|
|
||||||
.B sdl2-config
|
|
||||||
to link compiled objects into a shared library.
|
|
||||||
.TP
|
|
||||||
gcc -o libnifty_xmms.so $(sdl --plugin-libs) stream.o blit.o deinterlace.o
|
|
||||||
is how you might use
|
|
||||||
.B sdl2-config
|
|
||||||
to link compiled objects into a plugin for use by another program.
|
|
||||||
.SH AUTHOR
|
|
||||||
The Simple DirectMedia Layer (SDL) library was written by Sam Lantinga.
|
|
||||||
.PP
|
|
||||||
This manual page was written by Branden Robinson, originally for Progeny
|
|
||||||
Linux Systems, Inc., and the Debian Project.
|
|
||||||
Vendored
-1
@@ -1 +0,0 @@
|
|||||||
3.0 (native)
|
|
||||||
Vendored
-2
@@ -1,2 +0,0 @@
|
|||||||
version=3
|
|
||||||
http://www.libsdl.org/release/SDL-([\d.]+)\.tar\.gz
|
|
||||||
@@ -206,6 +206,9 @@ You should not use the SDL renderer API while the app going in background:
|
|||||||
after you read this message, GL context gets backed-up and you should not
|
after you read this message, GL context gets backed-up and you should not
|
||||||
use the SDL renderer API.
|
use the SDL renderer API.
|
||||||
|
|
||||||
|
When this event is received, you have to set the render target to NULL, if you're using it.
|
||||||
|
(eg call SDL_SetRenderTarget(renderer, NULL))
|
||||||
|
|
||||||
- SDL_APP_DIDENTERFOREGROUND:
|
- SDL_APP_DIDENTERFOREGROUND:
|
||||||
GL context is restored, and the SDL renderer API is available (unless you
|
GL context is restored, and the SDL renderer API is available (unless you
|
||||||
receive SDL_RENDER_DEVICE_RESET).
|
receive SDL_RENDER_DEVICE_RESET).
|
||||||
|
|||||||
Loaded 100 of 1197 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user