Compare commits
1266
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
535d80bade | ||
|
|
ed2920afef | ||
|
|
7a5604cf0c | ||
|
|
7e130e27ba | ||
|
|
b775135b4f | ||
|
|
a52fc209bb | ||
|
|
f16c67115d | ||
|
|
90bda6548f | ||
|
|
c45c4a5e51 | ||
|
|
670a7d8126 | ||
|
|
8a67896d9a | ||
|
|
8526868563 | ||
|
|
071bebf235 | ||
|
|
c0a9d220b9 | ||
|
|
ea9880b760 | ||
|
|
bcf7ead6e4 | ||
|
|
6d5815db52 | ||
|
|
6b7dad7d82 | ||
|
|
3e530c6db1 | ||
|
|
7bff36e4b2 | ||
|
|
37140aa9f7 | ||
|
|
abe6d9db97 | ||
|
|
10c9fbf411 | ||
|
|
c6c7469708 | ||
|
|
b476695e67 | ||
|
|
b6d0bc0431 | ||
|
|
aa10e51c74 | ||
|
|
10a5b388df | ||
|
|
6449339ae3 | ||
|
|
075c0337cd | ||
|
|
a036aeda3b | ||
|
|
9b454a762c | ||
|
|
dcadd23ba1 | ||
|
|
adb91fd3db | ||
|
|
819628c6bf | ||
|
|
759e01bd64 | ||
|
|
c698c61f03 | ||
|
|
c975f77b0f | ||
|
|
362f96a6cf | ||
|
|
f8040b2e01 | ||
|
|
90b2e2527e | ||
|
|
2be749b23b | ||
|
|
642262e30e | ||
|
|
d5766bc4b8 | ||
|
|
b809da52fd | ||
|
|
c4c0bfdfb1 | ||
|
|
7133969e3a | ||
|
|
53a5350292 | ||
|
|
5f2dd5f04e | ||
|
|
dfdc120268 | ||
|
|
d4cda51057 | ||
|
|
a974888aad | ||
|
|
7570ab106d | ||
|
|
b716eeefef | ||
|
|
3afd1e7eaa | ||
|
|
78023500fa | ||
|
|
34c12d0db8 | ||
|
|
b088e89191 | ||
|
|
0851322fb1 | ||
|
|
43b54b3d72 | ||
|
|
32965b4bf1 | ||
|
|
5da9d4ecc2 | ||
|
|
19f42094bb | ||
|
|
721fc7de0b | ||
|
|
cd269730eb | ||
|
|
049a8f0e52 | ||
|
|
354d2c390c | ||
|
|
b79ada6aa5 | ||
|
|
ba95c54f99 | ||
|
|
42e0fb10f8 | ||
|
|
cd0db8d35e | ||
|
|
1d7a681e4d | ||
|
|
e054f3c085 | ||
|
|
75317dae59 | ||
|
|
c7d1fd90ea | ||
|
|
dbe3baeb0f | ||
|
|
ad3c7b92f8 | ||
|
|
0401b07eea | ||
|
|
08e74d29be | ||
|
|
923123a527 | ||
|
|
c603a9c94a | ||
|
|
90b7174a7d | ||
|
|
6a72d32d41 | ||
|
|
f3a39074b0 | ||
|
|
842f6dc402 | ||
|
|
b95989d14a | ||
|
|
010f27dc70 | ||
|
|
a6a8598b98 | ||
|
|
7c6adc1ca7 | ||
|
|
feeea6a776 | ||
|
|
e9f7f11f1d | ||
|
|
d2fc394a2a | ||
|
|
d317fc9c08 | ||
|
|
ee469c6aff | ||
|
|
d4d22dd8de | ||
|
|
59ea078ee2 | ||
|
|
1848ce680b | ||
|
|
656c519cca | ||
|
|
9ed96f392d | ||
|
|
ae8df1dcbd | ||
|
|
4b429b9fa7 | ||
|
|
616ae99069 | ||
|
|
c2dac95f58 | ||
|
|
dd4f5df824 | ||
|
|
cdc5483cf9 | ||
|
|
07a5c144c6 | ||
|
|
eb168e410c | ||
|
|
b96bb152c2 | ||
|
|
5a564a718d | ||
|
|
9f6eeb1095 | ||
|
|
274bc95dfd | ||
|
|
07f7c40464 | ||
|
|
22d8e73530 | ||
|
|
21a42d2b0d | ||
|
|
1006236aa6 | ||
|
|
326ce9bb8d | ||
|
|
c95b842b30 | ||
|
|
d8e1ad0ebc | ||
|
|
7ee2ab3830 | ||
|
|
1dd8fadca2 | ||
|
|
9225a421b7 | ||
|
|
3ffb1a8cbd | ||
|
|
874c07f8de | ||
|
|
67664a0427 | ||
|
|
eb793dede7 | ||
|
|
87e1b0eb89 | ||
|
|
e98ee9bb04 | ||
|
|
3424ec948c | ||
|
|
05877f2cea | ||
|
|
4d63a2b882 | ||
|
|
ea642fe9ff | ||
|
|
5f4696ce63 | ||
|
|
2c7b7d1d33 | ||
|
|
355f69ebfe | ||
|
|
c9d602307c | ||
|
|
dd0bdc2561 | ||
|
|
84d35587ee | ||
|
|
fc9b2478d8 | ||
|
|
18d21b36fe | ||
|
|
1995471927 | ||
|
|
67382e9c83 | ||
|
|
23410debf7 | ||
|
|
8ce176b59a | ||
|
|
51fa076fdc | ||
|
|
a446381ea9 | ||
|
|
ebb24eedc8 | ||
|
|
dabc93a631 | ||
|
|
169c8d5140 | ||
|
|
8e9c44bc3b | ||
|
|
4dd585fb62 | ||
|
|
81e57147f8 | ||
|
|
3bea84531d | ||
|
|
9ed23a4b79 | ||
|
|
e19a56f4d5 | ||
|
|
1ab61635a9 | ||
|
|
29c684c626 | ||
|
|
0eaa6197c5 | ||
|
|
ffe194c52e | ||
|
|
a4547fe77a | ||
|
|
49dd24e195 | ||
|
|
191a6417d5 | ||
|
|
bf793bf439 | ||
|
|
9e60a8994f | ||
|
|
b2793a2ce2 | ||
|
|
04e3b67707 | ||
|
|
a41f93bd10 | ||
|
|
5ca735b40f | ||
|
|
cdde6dd7bb | ||
|
|
8f8af918ba | ||
|
|
8feb21a1d1 | ||
|
|
4294c06836 | ||
|
|
31dd4fe81f | ||
|
|
417ed7f35f | ||
|
|
0aa319e4f9 | ||
|
|
5815372206 | ||
|
|
5d079c9a26 | ||
|
|
d590e1f122 | ||
|
|
7098e525d0 | ||
|
|
fb6df93384 | ||
|
|
a2b0ddcca6 | ||
|
|
d28e953222 | ||
|
|
f731741ead | ||
|
|
0eaa8c6d81 | ||
|
|
21b433536a | ||
|
|
6bc7e88ca6 | ||
|
|
e4e76ac72e | ||
|
|
1b30a01b44 | ||
|
|
191b9d5021 | ||
|
|
7d2a1c5f8f | ||
|
|
b6b9390444 | ||
|
|
55e094f7ac | ||
|
|
584c1d5791 | ||
|
|
995a6a0333 | ||
|
|
86b46c678c | ||
|
|
96414fa56a | ||
|
|
670db4d248 | ||
|
|
b08d045811 | ||
|
|
2ad0f1e1fe | ||
|
|
41d48db4ae | ||
|
|
922b73195c | ||
|
|
5e4a2974aa | ||
|
|
3766a39409 | ||
|
|
e10e42c814 | ||
|
|
2b8fb0bdd4 | ||
|
|
efaf3739c6 | ||
|
|
4bddf521dd | ||
|
|
569de84907 | ||
|
|
e5a4f09363 | ||
|
|
7d7a76c077 | ||
|
|
66408308b8 | ||
|
|
438075a83a | ||
|
|
b4562c0243 | ||
|
|
611f132fd0 | ||
|
|
03a3c19c27 | ||
|
|
307e6f2ca6 | ||
|
|
f79083d9bb | ||
|
|
4ba4f0a106 | ||
|
|
c4f2f7b352 | ||
|
|
949ec0c501 | ||
|
|
839227b4b0 | ||
|
|
c04b739df6 | ||
|
|
3df0767e34 | ||
|
|
307dac97ac | ||
|
|
21cc1878f1 | ||
|
|
b524af1b43 | ||
|
|
9a83fa026d | ||
|
|
ea859fba3a | ||
|
|
551510c0eb | ||
|
|
95c1584386 | ||
|
|
f0af6c348a | ||
|
|
3ad9c38a46 | ||
|
|
d42b4ed961 | ||
|
|
9a7cfbc2d0 | ||
|
|
82125ec1d8 | ||
|
|
4231848791 | ||
|
|
61f13b94d1 | ||
|
|
d14c93c4b1 | ||
|
|
c64197be1a | ||
|
|
042898995c | ||
|
|
fb0f6a1196 | ||
|
|
38176bfe9a | ||
|
|
0e2ca934b5 | ||
|
|
715897aea7 | ||
|
|
a8a65b6fca | ||
|
|
1f3b40797d | ||
|
|
fb94a79f89 | ||
|
|
bda90c3cb6 | ||
|
|
90aff306c1 | ||
|
|
00b23a012c | ||
|
|
6b776a9989 | ||
|
|
e5966bbdb1 | ||
|
|
73ee99978d | ||
|
|
ebaa30d339 | ||
|
|
c8f3f1b461 | ||
|
|
a78104a47f | ||
|
|
6cdde10edb | ||
|
|
dd0dc64d51 | ||
|
|
c688853a82 | ||
|
|
507593f485 | ||
|
|
7acf78ba92 | ||
|
|
037cd25a22 | ||
|
|
e8916b2608 | ||
|
|
d2090d1c80 | ||
|
|
3f7f632e14 | ||
|
|
f61860fa93 | ||
|
|
4bb3c2a1c7 | ||
|
|
61bdbacdae | ||
|
|
f044a3d6ca | ||
|
|
fa7a529912 | ||
|
|
1636009511 | ||
|
|
bf85320947 | ||
|
|
f2f04e825d | ||
|
|
cbdbd66e18 | ||
|
|
ef1fdf11bd | ||
|
|
e6bb50a710 | ||
|
|
6b34c9fe7f | ||
|
|
22422f7748 | ||
|
|
d7b10d05b1 | ||
|
|
4290fc8bda | ||
|
|
6b38d250aa | ||
|
|
bba066c44c | ||
|
|
0bc370dfba | ||
|
|
6934c910b3 | ||
|
|
0176a19aee | ||
|
|
0180ca541e | ||
|
|
8ec576ddab | ||
|
|
748f0b3201 | ||
|
|
ba1a980535 | ||
|
|
28389f1c38 | ||
|
|
ef52a4d4df | ||
|
|
8d8649b33f | ||
|
|
f8b13dadd7 | ||
|
|
1167cf54e1 | ||
|
|
8a9b7ae8d1 | ||
|
|
fb4ec07119 | ||
|
|
b674b715f5 | ||
|
|
1e1442ed4a | ||
|
|
d8c7006a42 | ||
|
|
6473de59b7 | ||
|
|
c7584df999 | ||
|
|
1f54b228ff | ||
|
|
7c9f6c6313 | ||
|
|
19ddb29d2d | ||
|
|
d16f76e3d4 | ||
|
|
742f2a2fad | ||
|
|
2b375d9704 | ||
|
|
dcc645e413 | ||
|
|
ece6a6ed8f | ||
|
|
7f9ee31024 | ||
|
|
16ad3e5af6 | ||
|
|
0ae57f1d90 | ||
|
|
6a0405b933 | ||
|
|
9f2186ad52 | ||
|
|
181995b44f | ||
|
|
8509041a09 | ||
|
|
344e394bf4 | ||
|
|
d8c679416b | ||
|
|
b6dc44b133 | ||
|
|
7673b84f52 | ||
|
|
a58bc3eaf4 | ||
|
|
0a5d2f3da2 | ||
|
|
3519ef3b3b | ||
|
|
56d7cc7a02 | ||
|
|
04f3bdb118 | ||
|
|
18c6958cae | ||
|
|
522682cd6e | ||
|
|
a4cd17cce5 | ||
|
|
efba42a67b | ||
|
|
156b3b4a8c | ||
|
|
53aaf8c26b | ||
|
|
9b40d43b1f | ||
|
|
85851459d6 | ||
|
|
db97da4ccb | ||
|
|
5579010b6a | ||
|
|
2d37903323 | ||
|
|
ef21ccf080 | ||
|
|
49663bfb58 | ||
|
|
a8c41135aa | ||
|
|
8b83a57847 | ||
|
|
e484182765 | ||
|
|
011454b237 | ||
|
|
efc390d7e2 | ||
|
|
c077b7a918 | ||
|
|
0b520cd4b4 | ||
|
|
9f7b2c3595 | ||
|
|
2c0a8363a5 | ||
|
|
95d44f11c7 | ||
|
|
16dfaca728 | ||
|
|
32ab09ba21 | ||
|
|
1461f893c3 | ||
|
|
a63052db96 | ||
|
|
dd6b484359 | ||
|
|
ecf8dd054d | ||
|
|
4797970bfa | ||
|
|
6b4b9b5f2b | ||
|
|
8ea4b326b3 | ||
|
|
67ea67f191 | ||
|
|
c6b5c21aaf | ||
|
|
f8f8d87bfa | ||
|
|
b713e7581b | ||
|
|
54752f8d1c | ||
|
|
3842384a38 | ||
|
|
6cf6b160cd | ||
|
|
62bc2c4c92 | ||
|
|
4fccfb142e | ||
|
|
4fbf59ac3a | ||
|
|
578ac0ef52 | ||
|
|
31a4c92ee5 | ||
|
|
02e85a153f | ||
|
|
9955e1dc0d | ||
|
|
0281071243 | ||
|
|
c68ed04a06 | ||
|
|
2b1d809b21 | ||
|
|
6d554a9ea3 | ||
|
|
9fbc767d4f | ||
|
|
e43aa12b49 | ||
|
|
c0e5901c42 | ||
|
|
f2074d7af3 | ||
|
|
3197e27b59 | ||
|
|
f18e023317 | ||
|
|
54d4e48539 | ||
|
|
6575b8157b | ||
|
|
30a22d3fed | ||
|
|
d666c2d189 | ||
|
|
196e2c6662 | ||
|
|
b902b0527b | ||
|
|
a767952617 | ||
|
|
54c555e394 | ||
|
|
8b155708ff | ||
|
|
1d417ab27f | ||
|
|
643281d022 | ||
|
|
2be89f0dd1 | ||
|
|
a37f993a07 | ||
|
|
65e0fed5b3 | ||
|
|
dd83908109 | ||
|
|
99ad53ec3f | ||
|
|
df97ccf283 | ||
|
|
4f0a056b95 | ||
|
|
18fc13c20d | ||
|
|
6d20b65a9e | ||
|
|
3cd3c9317e | ||
|
|
6ca2a48595 | ||
|
|
fa9c3331d5 | ||
|
|
cd1bd0ac2e | ||
|
|
0be5b8070d | ||
|
|
1c04ebe423 | ||
|
|
d4d5faedab | ||
|
|
8704ab8422 | ||
|
|
60deaf5f0f | ||
|
|
5340f2e3fe | ||
|
|
e91c37f4dd | ||
|
|
f3cbd04a81 | ||
|
|
5f25691c85 | ||
|
|
8cc4735d74 | ||
|
|
2d91f096ca | ||
|
|
78c1dc3e2c | ||
|
|
0410328b15 | ||
|
|
d5f08b8f4b | ||
|
|
543f244965 | ||
|
|
c2121dd9a2 | ||
|
|
5c84d38822 | ||
|
|
6e1177ac03 | ||
|
|
c030e6f782 | ||
|
|
0ad3a18937 | ||
|
|
f6143da617 | ||
|
|
774e38d073 | ||
|
|
5acd7fe208 | ||
|
|
c714b1a38b | ||
|
|
cf439d5c63 | ||
|
|
ec29d3fd66 | ||
|
|
92b7054870 | ||
|
|
1a466b5548 | ||
|
|
ec8a780ad4 | ||
|
|
cc723c9e4b | ||
|
|
0cb4a94c88 | ||
|
|
4ffcb8ebab | ||
|
|
49153ebfc4 | ||
|
|
1b99467c71 | ||
|
|
0be6dc5734 | ||
|
|
4fbd6cba60 | ||
|
|
e25cc7a88f | ||
|
|
38dd6bcd32 | ||
|
|
f1232de3d2 | ||
|
|
2664d36faf | ||
|
|
609b147432 | ||
|
|
cc24518c41 | ||
|
|
a0e537b9c0 | ||
|
|
df1f1c2e12 | ||
|
|
af3d97dcac | ||
|
|
bc448fa445 | ||
|
|
599b4ef254 | ||
|
|
1c52e290a3 | ||
|
|
9a4d29699d | ||
|
|
75a24116b5 | ||
|
|
22f6eed1d9 | ||
|
|
c148837546 | ||
|
|
82a1e9f6df | ||
|
|
ba5cf2b152 | ||
|
|
567b828e18 | ||
|
|
1701208f32 | ||
|
|
622c3ebb94 | ||
|
|
0461180e25 | ||
|
|
ff139fe71b | ||
|
|
e9290eeedf | ||
|
|
578509c326 | ||
|
|
05932e05da | ||
|
|
e2323c1367 | ||
|
|
f5fbdf7ed5 | ||
|
|
a5e8fc21b2 | ||
|
|
80c39f2ff4 | ||
|
|
e3c99e3bd3 | ||
|
|
1413bfb185 | ||
|
|
948b16533c | ||
|
|
cd1bb6247b | ||
|
|
a773558517 | ||
|
|
50fbae9302 | ||
|
|
c744c8fc0b | ||
|
|
a8d585aac3 | ||
|
|
ca17d19f90 | ||
|
|
7bbe6025be | ||
|
|
ffed1c50c0 | ||
|
|
1a6e139dde | ||
|
|
cf220ea4f1 | ||
|
|
17ef0c1237 | ||
|
|
8fde28813e | ||
|
|
17df3fe836 | ||
|
|
eb1be89e70 | ||
|
|
7647f16ae1 | ||
|
|
eadc64973a | ||
|
|
b2c2a483e8 | ||
|
|
fe39509b85 | ||
|
|
b8036bdd41 | ||
|
|
ca4f5dd40d | ||
|
|
b7dac5072b | ||
|
|
0becdad392 | ||
|
|
5bf742daa6 | ||
|
|
bed16f77d1 | ||
|
|
b2178857dc | ||
|
|
f40a530fd9 | ||
|
|
cf946e32ba | ||
|
|
4c70aa33ae | ||
|
|
76920a230f | ||
|
|
01b9b0edb7 | ||
|
|
17a029502a | ||
|
|
a27c139b12 | ||
|
|
aa817a67d1 | ||
|
|
8653a5821b | ||
|
|
60dce94583 | ||
|
|
440d5754f8 | ||
|
|
052cb5773e | ||
|
|
42c67756cc | ||
|
|
286cc2ebd0 | ||
|
|
c2508d5d99 | ||
|
|
f2b7495adc | ||
|
|
ade829d7ca | ||
|
|
e73d98ad72 | ||
|
|
7f1c9c9053 | ||
|
|
6f462e244f | ||
|
|
ddd7d0f927 | ||
|
|
483e79bf82 | ||
|
|
ed75d9d22a | ||
|
|
024e5da6fb | ||
|
|
8a0f649363 | ||
|
|
af2dbbcb53 | ||
|
|
4d301b88d6 | ||
|
|
5a2eb60389 | ||
|
|
969f03d9f0 | ||
|
|
7a22076a7c | ||
|
|
3a1810f9a9 | ||
|
|
49610fd1e8 | ||
|
|
62124e2c28 | ||
|
|
18115ef6bd | ||
|
|
8691408baf | ||
|
|
37b87f79fb | ||
|
|
9a43c08146 | ||
|
|
225c0e2ad9 | ||
|
|
4add7e2005 | ||
|
|
3ac28bae6a | ||
|
|
da37e1541b | ||
|
|
ecea3471f6 | ||
|
|
f8d8bf8066 | ||
|
|
a33144fbc9 | ||
|
|
2e4dc9c109 | ||
|
|
80c1b1e1a0 | ||
|
|
478ac0b9bf | ||
|
|
03d6e4b69e | ||
|
|
ca4ffc8a00 | ||
|
|
8475c496b4 | ||
|
|
56cf8d8dc9 | ||
|
|
f0fad41f2c | ||
|
|
4d8f5758cf | ||
|
|
c080bb8417 | ||
|
|
33442701ca | ||
|
|
7e298f50fe | ||
|
|
34974d4d2b | ||
|
|
cadeec9cc9 | ||
|
|
f37eef948c | ||
|
|
d07bb0e679 | ||
|
|
c44fa5bb07 | ||
|
|
1025087c2e | ||
|
|
a47b62d1fe | ||
|
|
f3c194f39a | ||
|
|
7e8576fd19 | ||
|
|
f7580374a1 | ||
|
|
232c2970d3 | ||
|
|
5ec5f23fff | ||
|
|
b815123cf2 | ||
|
|
819e1cc95b | ||
|
|
b2eb23a617 | ||
|
|
0b401137d2 | ||
|
|
b83dd793fd | ||
|
|
a0864799f2 | ||
|
|
5d9ccb6296 | ||
|
|
e992522cb2 | ||
|
|
b2c15a8c2a | ||
|
|
0f9e86fe1c | ||
|
|
c9e22d4672 | ||
|
|
ff366fba87 | ||
|
|
e46d8756e5 | ||
|
|
401c8f8e4e | ||
|
|
2f9a45af60 | ||
|
|
0c42891826 | ||
|
|
3ce68f80bc | ||
|
|
7c8171da92 | ||
|
|
4bfc8f84f7 | ||
|
|
8c849ecc6c | ||
|
|
fce922b66c | ||
|
|
d6a95ae198 | ||
|
|
42de2ac6a9 | ||
|
|
e08f34c3be | ||
|
|
6e0df0af24 | ||
|
|
519923ea80 | ||
|
|
624a4d5f26 | ||
|
|
5c0f8dc179 | ||
|
|
345cab1e36 | ||
|
|
35a9d156a6 | ||
|
|
3739749404 | ||
|
|
10f868abf4 | ||
|
|
f81472d767 | ||
|
|
3001c61de0 | ||
|
|
835b6e0c1a | ||
|
|
da80b9bce5 | ||
|
|
2ce21d1fed | ||
|
|
0ca8027205 | ||
|
|
4d9e7a2a68 | ||
|
|
b5eea03d1e | ||
|
|
7dd523fbb1 | ||
|
|
48a0adb2ac | ||
|
|
4d4a2786bb | ||
|
|
6abebca943 | ||
|
|
1d0e28a5b3 | ||
|
|
5608bf5866 | ||
|
|
0fbcd0d586 | ||
|
|
e957840d34 | ||
|
|
684098fac3 | ||
|
|
bc9c86bcc2 | ||
|
|
b58e6d7274 | ||
|
|
c9ab8ad8d9 | ||
|
|
d38c09e5c4 | ||
|
|
6730cf7bed | ||
|
|
2f68efda83 | ||
|
|
19bdc01b8c | ||
|
|
eda0261c4e | ||
|
|
6fa6297441 | ||
|
|
b84f150d06 | ||
|
|
c52a96ca8e | ||
|
|
080b3002c6 | ||
|
|
d0d1414836 | ||
|
|
a92eade183 | ||
|
|
0bb42cb023 | ||
|
|
483ceb5355 | ||
|
|
35360ec4d7 | ||
|
|
576f13ac7c | ||
|
|
ff96c59df4 | ||
|
|
b108b54c6a | ||
|
|
639855b7e5 | ||
|
|
a4a1dff219 | ||
|
|
b9c062c858 | ||
|
|
76e7bc4c04 | ||
|
|
3fa0537565 | ||
|
|
79316ca36e | ||
|
|
9aca97f4e7 | ||
|
|
c0803f7683 | ||
|
|
a55686ce61 | ||
|
|
eb3fc0684c | ||
|
|
6cc9ce183d | ||
|
|
8b6d3c88cf | ||
|
|
313d522f39 | ||
|
|
ac2edad809 | ||
|
|
9a9616894d | ||
|
|
9628549c7c | ||
|
|
80b9986418 | ||
|
|
1944bc7407 | ||
|
|
63a498c966 | ||
|
|
ce9dddfde2 | ||
|
|
43a61fec91 | ||
|
|
61511c48a4 | ||
|
|
e0cee83a3a | ||
|
|
2635239bbc | ||
|
|
ce7cb10541 | ||
|
|
cf59fc797f | ||
|
|
af6c641b8c | ||
|
|
4c86511035 | ||
|
|
ff82238172 | ||
|
|
c5acbef3bf | ||
|
|
6fe09e3aa4 | ||
|
|
a1e8d5c327 | ||
|
|
3ee39f6c3f | ||
|
|
bbd4eeb287 | ||
|
|
f45ce45603 | ||
|
|
3f425b6f20 | ||
|
|
1fbb8e1824 | ||
|
|
e6e468d0c4 | ||
|
|
962268ca21 | ||
|
|
ac92af02ea | ||
|
|
be5fba963a | ||
|
|
7c5c88a3ad | ||
|
|
d4225070ad | ||
|
|
48b6b93fb6 | ||
|
|
5447cb6d38 | ||
|
|
e4215a04d9 | ||
|
|
fb71b44231 | ||
|
|
0370b92d80 | ||
|
|
5c020b9930 | ||
|
|
279836d259 | ||
|
|
1d5d948ccf | ||
|
|
19cc04a162 | ||
|
|
b5c05b6e29 | ||
|
|
1e7c7c69c5 | ||
|
|
09428688b9 | ||
|
|
972c6d0b82 | ||
|
|
5d09656afa | ||
|
|
72895a6994 | ||
|
|
f64e9a52dc | ||
|
|
ddb1e66d90 | ||
|
|
caf0348b26 | ||
|
|
900627f7fc | ||
|
|
6d1dac1404 | ||
|
|
d25cdc0fef | ||
|
|
df48af22d4 | ||
|
|
08de6656fc | ||
|
|
2ac62d8c67 | ||
|
|
846eb9a886 | ||
|
|
7278399366 | ||
|
|
d0f1910918 | ||
|
|
2c4fc2e549 | ||
|
|
8d8578785c | ||
|
|
fa5f84fb6e | ||
|
|
47429227ab | ||
|
|
0f228de48a | ||
|
|
ffb9b30e84 | ||
|
|
1a5b0796b4 | ||
|
|
d1b8fcd692 | ||
|
|
9b82d46259 | ||
|
|
5229b520af | ||
|
|
b79e3ac830 | ||
|
|
90efb63e52 | ||
|
|
e50dc7265b | ||
|
|
7ddda4fe18 | ||
|
|
3060105cfa | ||
|
|
2e5208f353 | ||
|
|
c49f4ceeb2 | ||
|
|
23828b62d4 | ||
|
|
bc4185c685 | ||
|
|
fffa6c7a2b | ||
|
|
235e5c6a6c | ||
|
|
9f8157f42c | ||
|
|
a0b8b57afe | ||
|
|
951ca96dc9 | ||
|
|
58f8e259d1 | ||
|
|
56da4e81d8 | ||
|
|
9784e10a75 | ||
|
|
5bfece34f9 | ||
|
|
045e31178f | ||
|
|
a74693c9a5 | ||
|
|
a4852f3a10 | ||
|
|
dc5a2ddfd0 | ||
|
|
efb59bd0bf | ||
|
|
45869d6177 | ||
|
|
d8eb68a6c5 | ||
|
|
24ed947cc3 | ||
|
|
31128b6cdd | ||
|
|
123306b18c | ||
|
|
d320d7143d | ||
|
|
830b132cd4 | ||
|
|
4ac78706bf | ||
|
|
2ad5836d02 | ||
|
|
31d09909b6 | ||
|
|
1377cdb3f2 | ||
|
|
46f43c2e6e | ||
|
|
4745aa3324 | ||
|
|
3ca629ceb5 | ||
|
|
022a6a9f97 | ||
|
|
e79ce2a200 | ||
|
|
7293c18314 | ||
|
|
401187eb6c | ||
|
|
b7a31ead08 | ||
|
|
9fb8661684 | ||
|
|
6aab5a089d | ||
|
|
65c9a58f5e | ||
|
|
ec2ef5f9b5 | ||
|
|
2762644e96 | ||
|
|
068d9cc7d6 | ||
|
|
2f59a1ce44 | ||
|
|
acf0f09320 | ||
|
|
3a1d76d298 | ||
|
|
ce573b01f8 | ||
|
|
d53241a299 | ||
|
|
5cd188bdbc | ||
|
|
7099de4ae8 | ||
|
|
bf9fa38920 | ||
|
|
f5ad66ef4b | ||
|
|
3303e9843f | ||
|
|
f852038384 | ||
|
|
16113374ff | ||
|
|
c0f1fe8e7f | ||
|
|
f022501d52 | ||
|
|
b8233aff8e | ||
|
|
b8bbd29ce9 | ||
|
|
bbc9c75618 | ||
|
|
5c8bed3780 | ||
|
|
03d15c031b | ||
|
|
d55e6dfc5e | ||
|
|
3c13bae64f | ||
|
|
e0e61775b8 | ||
|
|
6fab61b69d | ||
|
|
e9fdcf6c60 | ||
|
|
1720fc77fe | ||
|
|
a07a88c1b4 | ||
|
|
c508396e33 | ||
|
|
7a3f5ef129 | ||
|
|
10e2ce9ba4 | ||
|
|
88926f2b73 | ||
|
|
e14d939ead | ||
|
|
bbe843fd80 | ||
|
|
79f6f766d4 | ||
|
|
fdafa266d8 | ||
|
|
61ba8010d3 | ||
|
|
212f0dcdb1 | ||
|
|
41b0d36a6c | ||
|
|
f9ddb0bdea | ||
|
|
7bf3cae02e | ||
|
|
51637495e4 | ||
|
|
566f3dc138 | ||
|
|
b02285d495 | ||
|
|
97ddc9adf2 | ||
|
|
465881d560 | ||
|
|
c135386f58 | ||
|
|
615c935d11 | ||
|
|
848fd1eab4 | ||
|
|
0007451222 | ||
|
|
3a2b595c4f | ||
|
|
e94ba6e700 | ||
|
|
631c30527b | ||
|
|
2e70944c44 | ||
|
|
df73cae2b0 | ||
|
|
a4006e654e | ||
|
|
5ee4d176f1 | ||
|
|
a0591ec4a3 | ||
|
|
fef001cb48 | ||
|
|
e770b4e266 | ||
|
|
795ceae520 | ||
|
|
ecae3789ab | ||
|
|
587384756f | ||
|
|
2b744c7df3 | ||
|
|
932bb968d7 | ||
|
|
1413848f41 | ||
|
|
35e6c92c3c | ||
|
|
4fb955c80b | ||
|
|
aa352837d5 | ||
|
|
18b7a2315c | ||
|
|
014196d98d | ||
|
|
7a074f582e | ||
|
|
d2dc0fa920 | ||
|
|
0c53d9a1ee | ||
|
|
d8f8cf3e99 | ||
|
|
184da780f5 | ||
|
|
70fe38bcb2 | ||
|
|
e027b85cc4 | ||
|
|
bd57cfdb55 | ||
|
|
0f9e551d71 | ||
|
|
af6ce629c4 | ||
|
|
2b10a040ff | ||
|
|
572cc7af63 | ||
|
|
7d7ee43ddb | ||
|
|
e9f7a1b359 | ||
|
|
25390d6c21 | ||
|
|
e0166256ff | ||
|
|
8657fa8b3b | ||
|
|
f8468d580d | ||
|
|
eaef956a9a | ||
|
|
b54f6044a5 | ||
|
|
b43b333d25 | ||
|
|
7f14eb33c6 | ||
|
|
b71151a697 | ||
|
|
e4778d53d3 | ||
|
|
d48d4c8c48 | ||
|
|
f0b61c69e7 | ||
|
|
fe3566ca46 | ||
|
|
7959b08a4d | ||
|
|
6ca8269b96 | ||
|
|
0f9505256d | ||
|
|
140aba9e5d | ||
|
|
68c2cf84f6 | ||
|
|
1a311bc638 | ||
|
|
e67ae274a5 | ||
|
|
7c5a2cd462 | ||
|
|
95c8a1cf7c | ||
|
|
7007b4762b | ||
|
|
6049ca4fb1 | ||
|
|
c021c75737 | ||
|
|
d20936b544 | ||
|
|
3877bf55a3 | ||
|
|
c26dda10e0 | ||
|
|
9a4ae4b9ed | ||
|
|
20cd4290d7 | ||
|
|
dcf6dd19c3 | ||
|
|
6c99a4b783 | ||
|
|
a85f0b49f4 | ||
|
|
5a74aadac9 | ||
|
|
32cc92dceb | ||
|
|
119b4fa5f5 | ||
|
|
fc12cc6dfd | ||
|
|
559223ff9d | ||
|
|
332fd824f0 | ||
|
|
1ed1bc1d5d | ||
|
|
8a2cac7aaa | ||
|
|
54ff1f35bd | ||
|
|
37b49c98dc | ||
|
|
dbe82e685d | ||
|
|
3e2ef64c98 | ||
|
|
b0140fb1b4 | ||
|
|
97dac37373 | ||
|
|
6836ef8fd2 | ||
|
|
908bd84c5e | ||
|
|
1ea4edddec | ||
|
|
588e32ea5a | ||
|
|
ecfd143a26 | ||
|
|
908b42f2b9 | ||
|
|
028194286c | ||
|
|
0ef7a1d901 | ||
|
|
ed943318e2 | ||
|
|
27b828754a | ||
|
|
5a7b75607a | ||
|
|
c1246e31a4 | ||
|
|
d3b882b4f9 | ||
|
|
fb2145f731 | ||
|
|
96729e745a | ||
|
|
683991ab71 | ||
|
|
6823e3f005 | ||
|
|
458f616c53 | ||
|
|
73e0e8cf5b | ||
|
|
8026866994 | ||
|
|
cacfdc8cfa | ||
|
|
7031b240df | ||
|
|
c56a3f60fe | ||
|
|
615d2dcd5b | ||
|
|
e001a309be | ||
|
|
27f69c772c | ||
|
|
87dade4421 | ||
|
|
0508f100e2 | ||
|
|
927d297161 | ||
|
|
78cc5c1734 | ||
|
|
19af3a2b34 | ||
|
|
e31e3caece | ||
|
|
c5f12b135d | ||
|
|
780578cd36 | ||
|
|
8b48b70c6e | ||
|
|
77a0411dde | ||
|
|
68cc173d92 | ||
|
|
7c968f1510 | ||
|
|
e2857fc5a2 | ||
|
|
5699ba799e | ||
|
|
6c10446a6c | ||
|
|
d6b60bcc53 | ||
|
|
09495059df | ||
|
|
c099d0525e | ||
|
|
24bdbb8bf4 | ||
|
|
2a05b63580 | ||
|
|
51628034d9 | ||
|
|
c8a04eec06 | ||
|
|
f543faf837 | ||
|
|
6647345be0 | ||
|
|
b4dff42dcd | ||
|
|
94d110edd5 | ||
|
|
415abf2ea2 | ||
|
|
bdf16628fb | ||
|
|
2b92dc9baa | ||
|
|
a93ec0c679 | ||
|
|
9a77ee2008 | ||
|
|
014b473bcc | ||
|
|
ff14a1781f | ||
|
|
149ecffd6f | ||
|
|
35e53f76a9 | ||
|
|
feb10434a1 | ||
|
|
b2f216f9e2 | ||
|
|
54836050c9 | ||
|
|
8f9a562969 | ||
|
|
152bcce85f | ||
|
|
1e7c186461 | ||
|
|
5c5235fb51 | ||
|
|
36c209080c | ||
|
|
2b7dc55364 | ||
|
|
1abbd13414 | ||
|
|
e0d019c941 | ||
|
|
cb0c7c9680 | ||
|
|
a10578acbd | ||
|
|
3922bcec95 | ||
|
|
04a478b6a9 | ||
|
|
5c3d42aade | ||
|
|
8468c372b2 | ||
|
|
97b924f985 | ||
|
|
a851c5b648 | ||
|
|
47411d8007 | ||
|
|
4f160d69a6 | ||
|
|
93471cf78d | ||
|
|
8bf1a84200 | ||
|
|
590e1196d0 | ||
|
|
20e01c6fbe | ||
|
|
850158f83f | ||
|
|
344546b4ea | ||
|
|
dcd4ddb043 | ||
|
|
8d3bec99a7 | ||
|
|
10e52e1899 | ||
|
|
731853077a | ||
|
|
db4e2ccbac | ||
|
|
c0bad724a7 | ||
|
|
4ea26a7771 | ||
|
|
d0cf2c19d1 | ||
|
|
7108291d0b | ||
|
|
c0e9205a92 | ||
|
|
3c506630c3 | ||
|
|
a04fda211c | ||
|
|
4e33440c04 | ||
|
|
e8b69b03fe | ||
|
|
540db0d164 | ||
|
|
370521363a | ||
|
|
924f719b97 | ||
|
|
299587fa64 | ||
|
|
5e855d82e3 | ||
|
|
22bc430bbb | ||
|
|
6eca02a0e7 | ||
|
|
ba1412cb9f | ||
|
|
370c0426ce | ||
|
|
acfc223e15 | ||
|
|
423337796c | ||
|
|
24b376ef18 | ||
|
|
1c1706a00b | ||
|
|
21c91d5535 | ||
|
|
63ef5a2369 | ||
|
|
fd530d029f | ||
|
|
7b6416add0 | ||
|
|
af1c165352 | ||
|
|
45584ad73e | ||
|
|
c134dd6e5e | ||
|
|
4a8eadf167 | ||
|
|
d9e6fe0b7a | ||
|
|
f5c27a3a2c | ||
|
|
1f8b9a320c | ||
|
|
a42c9ec5f7 | ||
|
|
2318961b6f | ||
|
|
eed11ad6d6 | ||
|
|
0bec18245d | ||
|
|
e9b5f6749e | ||
|
|
19a1175c02 | ||
|
|
e61f0678ee | ||
|
|
f9bffa31b6 | ||
|
|
b0982e8982 | ||
|
|
c56af0d975 | ||
|
|
35be8bb7f9 | ||
|
|
8119568805 | ||
|
|
1c51b8dc33 | ||
|
|
82b3325978 | ||
|
|
d199586683 | ||
|
|
7b492553c4 | ||
|
|
0aea14cf45 | ||
|
|
3d47877bb4 | ||
|
|
54e52d055f | ||
|
|
9c848e08e4 | ||
|
|
26567df878 | ||
|
|
ef758d05c1 | ||
|
|
92520c1d9b | ||
|
|
315842cf71 | ||
|
|
e2254b1045 | ||
|
|
4b54e32231 | ||
|
|
a6536a9298 | ||
|
|
679dd4b181 | ||
|
|
eb1451536e | ||
|
|
5819d4b360 | ||
|
|
e0321ca5b6 | ||
|
|
dcbb2f11a8 | ||
|
|
541ba33714 | ||
|
|
40070d899d | ||
|
|
3d2c8c510d | ||
|
|
2668558c5c | ||
|
|
153f90a725 | ||
|
|
ffb1d9e4b4 | ||
|
|
5c1ccaefae | ||
|
|
4c2d0c422b | ||
|
|
5f874b60a8 | ||
|
|
1647d36aec | ||
|
|
b6a6a4a7f8 | ||
|
|
07bb8f1c4c | ||
|
|
b40ad5428b | ||
|
|
a48fa675be | ||
|
|
1d23d2c3c2 | ||
|
|
a7da3ad59b | ||
|
|
0faf9dc4a4 | ||
|
|
a6e5ab437f | ||
|
|
2654d5d48b | ||
|
|
e81e917c5e | ||
|
|
569691797d | ||
|
|
186c6e5c9d | ||
|
|
faa404a652 | ||
|
|
a432abf4cc | ||
|
|
c5e1ae4580 | ||
|
|
00f4cb308b | ||
|
|
41366f73b2 | ||
|
|
60c3eaf5ee | ||
|
|
2d3fa03d53 | ||
|
|
3d852da806 | ||
|
|
be3d961b47 | ||
|
|
6da4d94abf | ||
|
|
f79f21217b | ||
|
|
4612db21a3 | ||
|
|
9a5420118a | ||
|
|
dd955332a2 | ||
|
|
5492be23a1 | ||
|
|
c48fbbb067 | ||
|
|
c41b2bb855 | ||
|
|
8a30def5f2 | ||
|
|
28504f5791 | ||
|
|
d6981da5a4 | ||
|
|
d7b1ba1bfc | ||
|
|
3ebfdb04be | ||
|
|
d9df87f19f | ||
|
|
9cf388f260 | ||
|
|
6897385623 | ||
|
|
69433ee075 | ||
|
|
18410c03ea | ||
|
|
a027ec59ca | ||
|
|
09e3af58b5 | ||
|
|
860e38a3a2 | ||
|
|
ed1ec236c1 | ||
|
|
cbbad4051b | ||
|
|
e5fa929245 | ||
|
|
b4554a8a75 | ||
|
|
97f1da73da | ||
|
|
9af5ffcfbe | ||
|
|
66d09a1cda | ||
|
|
638b50b69b | ||
|
|
dede2ab86f | ||
|
|
553fc5fe0e | ||
|
|
075ae7db7d | ||
|
|
4162bddca7 | ||
|
|
cdaaabb978 | ||
|
|
104dabb9de | ||
|
|
afee27a530 | ||
|
|
bb764e3106 | ||
|
|
ce49465b13 | ||
|
|
72bae5167e | ||
|
|
e254c99b38 | ||
|
|
edb28e79b5 | ||
|
|
f212cb5f92 | ||
|
|
51dc978785 | ||
|
|
fb43dc3097 | ||
|
|
00bb81de76 | ||
|
|
817fa9a975 | ||
|
|
45dfdfbb7b | ||
|
|
57f2577c65 | ||
|
|
46835650db | ||
|
|
9fac4b9f5f | ||
|
|
b865708039 | ||
|
|
0b6ad8bf62 | ||
|
|
f9d490045b | ||
|
|
3733b1d5d8 | ||
|
|
c20918b0fb | ||
|
|
44bc19b592 | ||
|
|
1cc85c912b | ||
|
|
d7be7fc168 | ||
|
|
db78c0f563 | ||
|
|
a8ca024495 | ||
|
|
b766c824bd | ||
|
|
aed1f76248 | ||
|
|
a567786762 | ||
|
|
d5e02474ac | ||
|
|
1a1e2e9892 | ||
|
|
82598e5ca9 | ||
|
|
b641c2a0db | ||
|
|
173c168ff4 | ||
|
|
fd9f2ae5b5 | ||
|
|
01c9c1d0eb | ||
|
|
fd9e57b71e | ||
|
|
2bef8852fb | ||
|
|
7556c44796 | ||
|
|
94c8c170eb | ||
|
|
fec006a4f9 | ||
|
|
aebb64efa1 | ||
|
|
9a81892447 | ||
|
|
3e57d996fe | ||
|
|
05c53b5ab0 | ||
|
|
365dba6de8 | ||
|
|
4898cbb6cf | ||
|
|
22566506d0 | ||
|
|
c6c195ff88 | ||
|
|
c5904d8710 | ||
|
|
25251a9405 | ||
|
|
33366b0a4e | ||
|
|
86ef790a23 | ||
|
|
3cd7e22e8b | ||
|
|
3086b25c4e | ||
|
|
b676413657 | ||
|
|
48ff3efdb9 | ||
|
|
e31c68427a | ||
|
|
6ea4a66451 | ||
|
|
6d85127560 | ||
|
|
3db10a6b2c | ||
|
|
90a3a2359b | ||
|
|
41dfe2c246 | ||
|
|
73b995fbad | ||
|
|
8aaaeb7560 | ||
|
|
2a9cb68b91 | ||
|
|
0babb284dd | ||
|
|
40ff6a2785 | ||
|
|
e4b1a9f382 | ||
|
|
7ff819141d | ||
|
|
ac6b9e2d19 | ||
|
|
8262072d91 | ||
|
|
4b7c5f561b | ||
|
|
c8f5f6d47a | ||
|
|
28a70a5b71 | ||
|
|
bf351b0b0e | ||
|
|
9c322386bf | ||
|
|
da5a1585cd | ||
|
|
4707bb730e | ||
|
|
9023a199dd | ||
|
|
f946f87f30 | ||
|
|
ee9b6204cf | ||
|
|
02f3a96476 | ||
|
|
f8eac30276 | ||
|
|
1f08a03794 | ||
|
|
5b6342a00d | ||
|
|
ed87e7e434 | ||
|
|
acb18e05b5 | ||
|
|
ff834f7733 | ||
|
|
8e6ead2f7b | ||
|
|
02434cd293 | ||
|
|
c34790f9f1 | ||
|
|
312ecc4a52 | ||
|
|
823b218051 | ||
|
|
cba77834f2 | ||
|
|
fb8244d6d9 | ||
|
|
c24f7d2453 | ||
|
|
e7ee92e822 | ||
|
|
d9f8474dd7 | ||
|
|
95aaaa3232 | ||
|
|
158ba93d61 | ||
|
|
300daf308a | ||
|
|
95ab38ba15 | ||
|
|
7acfdfd3e7 | ||
|
|
326ab439d7 | ||
|
|
fb07ab91c6 | ||
|
|
03fa9ff0b0 | ||
|
|
2000ccb541 | ||
|
|
f6fa617139 | ||
|
|
4627283eca | ||
|
|
c8526532de | ||
|
|
2fd12b2e8a | ||
|
|
81b48de3f5 | ||
|
|
5db64300b8 | ||
|
|
7da728a642 | ||
|
|
659f2f4b04 | ||
|
|
aa534c3ac3 | ||
|
|
ee7f61fd9a | ||
|
|
ca82405d5a | ||
|
|
6ae5666acf | ||
|
|
06bd214af6 | ||
|
|
596fcfa6c4 | ||
|
|
54e622c2e6 | ||
|
|
fca05fa754 | ||
|
|
9f170286ba | ||
|
|
d0ef58b442 | ||
|
|
cbb9a16367 | ||
|
|
65539bc4f7 | ||
|
|
03b259893a | ||
|
|
bf54eddba9 | ||
|
|
c2b98e21ba | ||
|
|
2fa8acb084 | ||
|
|
e59078ac6f | ||
|
|
9e74ada7b8 | ||
|
|
c358bf3f9b | ||
|
|
f8dd73fdb9 | ||
|
|
0f47d3a77b | ||
|
|
e159bcf5de | ||
|
|
c9ffa3f9e1 | ||
|
|
596ef1ba2e | ||
|
|
e00b1fdd67 | ||
|
|
2880b40e33 | ||
|
|
b6ab7d28f6 | ||
|
|
b8e72b0969 | ||
|
|
1ca45c5891 | ||
|
|
8db3b47482 | ||
|
|
8c3f88b495 | ||
|
|
369b93771b | ||
|
|
deeffaa8d6 | ||
|
|
84ecf7fd3e |
No files matched your search
@@ -3,7 +3,7 @@ description: 'Download Linux LoongArch64 toolchain and set output variables'
|
|||||||
inputs:
|
inputs:
|
||||||
version:
|
version:
|
||||||
description: 'LoongArch64 version'
|
description: 'LoongArch64 version'
|
||||||
default: '2022.09.06'
|
default: '2023.08.08'
|
||||||
outputs:
|
outputs:
|
||||||
prefix:
|
prefix:
|
||||||
description: "LoongArch toolchain prefix"
|
description: "LoongArch toolchain prefix"
|
||||||
@@ -27,7 +27,7 @@ runs:
|
|||||||
if: ${{ !steps.restore-cache.outputs.cache-hit }}
|
if: ${{ !steps.restore-cache.outputs.cache-hit }}
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
url="https://github.com/loongson/build-tools/releases/download/${{ inputs.version }}/loongarch64-clfs-6.3-cross-tools-gcc-glibc.tar.xz"
|
url="https://github.com/loongson/build-tools/releases/download/${{ inputs.version }}/CLFS-loongarch64-8.1-x86_64-cross-tools-gcc-glibc.tar.xz"
|
||||||
|
|
||||||
wget "$url" -O /tmp/toolchain.tar.xz
|
wget "$url" -O /tmp/toolchain.tar.xz
|
||||||
|
|
||||||
|
|||||||
@@ -41,17 +41,17 @@ runs:
|
|||||||
path: '${{ runner.temp }}/${{ steps.calc.outputs.archive }}'
|
path: '${{ runner.temp }}/${{ steps.calc.outputs.archive }}'
|
||||||
key: ${{ steps.calc.outputs.cache-key }}
|
key: ${{ steps.calc.outputs.cache-key }}
|
||||||
- name: 'Download ninja ${{ inputs.version }} for ${{ runner.os }} (${{ runner.arch }})'
|
- name: 'Download ninja ${{ inputs.version }} for ${{ runner.os }} (${{ runner.arch }})'
|
||||||
if: ${{ !steps.cache-restore.outputs.cache-hit }}
|
if: ${{ !steps.cache-restore.outputs.cache-hit || steps.cache-restore.outputs.cache-hit == 'false' }}
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: |
|
run: |
|
||||||
Invoke-WebRequest "https://github.com/ninja-build/ninja/releases/download/v${{ inputs.version }}/${{ steps.calc.outputs.archive }}" -OutFile "${{ runner.temp }}/${{ steps.calc.outputs.archive }}"
|
Invoke-WebRequest "https://github.com/ninja-build/ninja/releases/download/v${{ inputs.version }}/${{ steps.calc.outputs.archive }}" -OutFile "${{ runner.temp }}/${{ steps.calc.outputs.archive }}"
|
||||||
- name: 'Cache ${{ steps.calc.outputs.archive }}'
|
- name: 'Cache ${{ steps.calc.outputs.archive }}'
|
||||||
if: ${{ !steps.cache-restore.outputs.cache-hit }}
|
if: ${{ !steps.cache-restore.outputs.cache-hit || steps.cache-restore.outputs.cache-hit == 'false' }}
|
||||||
uses: actions/cache/save@v4
|
uses: actions/cache/save@v4
|
||||||
with:
|
with:
|
||||||
path: '${{ runner.temp }}/${{ steps.calc.outputs.archive }}'
|
path: '${{ runner.temp }}/${{ steps.calc.outputs.archive }}'
|
||||||
key: ${{ steps.calc.outputs.cache-key }}
|
key: ${{ steps.calc.outputs.cache-key }}
|
||||||
- name: 'Extract libusb'
|
- name: 'Extract ninja'
|
||||||
shell: pwsh
|
shell: pwsh
|
||||||
run: |
|
run: |
|
||||||
7z "-o${{ runner.temp }}/ninja-${{ inputs.version }}-${{ runner.arch }}" x "${{ runner.temp }}/${{ steps.calc.outputs.archive }}"
|
7z "-o${{ runner.temp }}/ninja-${{ inputs.version }}-${{ runner.arch }}" x "${{ runner.temp }}/${{ steps.calc.outputs.archive }}"
|
||||||
|
|||||||
@@ -31,7 +31,8 @@ class JobOs(Enum):
|
|||||||
Ubuntu20_04 = "ubuntu-20.04"
|
Ubuntu20_04 = "ubuntu-20.04"
|
||||||
Ubuntu22_04 = "ubuntu-22.04"
|
Ubuntu22_04 = "ubuntu-22.04"
|
||||||
Ubuntu24_04 = "ubuntu-24.04"
|
Ubuntu24_04 = "ubuntu-24.04"
|
||||||
Macos12 = "macos-12"
|
Ubuntu24_04_arm = "ubuntu-24.04-arm"
|
||||||
|
Macos13 = "macos-13"
|
||||||
|
|
||||||
|
|
||||||
class SdlPlatform(Enum):
|
class SdlPlatform(Enum):
|
||||||
@@ -46,6 +47,7 @@ class SdlPlatform(Enum):
|
|||||||
Tvos = "tvos"
|
Tvos = "tvos"
|
||||||
Msvc = "msvc"
|
Msvc = "msvc"
|
||||||
N3ds = "n3ds"
|
N3ds = "n3ds"
|
||||||
|
PowerPC = "powerpc"
|
||||||
PowerPC64 = "powerpc64"
|
PowerPC64 = "powerpc64"
|
||||||
Ps2 = "ps2"
|
Ps2 = "ps2"
|
||||||
Psp = "psp"
|
Psp = "psp"
|
||||||
@@ -100,43 +102,46 @@ class JobSpec:
|
|||||||
|
|
||||||
|
|
||||||
JOB_SPECS = {
|
JOB_SPECS = {
|
||||||
"msys2-mingw32": JobSpec(name="Windows (msys2, mingw32)", os=JobOs.WindowsLatest, platform=SdlPlatform.Msys2, artifact="SDL-mingw32", msys2_platform=Msys2Platform.Mingw32, ),
|
"msys2-mingw32": JobSpec(name="Windows (msys2, mingw32)", os=JobOs.WindowsLatest, platform=SdlPlatform.Msys2, artifact="SDL-mingw32", msys2_platform=Msys2Platform.Mingw32, ),
|
||||||
"msys2-mingw64": JobSpec(name="Windows (msys2, mingw64)", os=JobOs.WindowsLatest, platform=SdlPlatform.Msys2, artifact="SDL-mingw64", msys2_platform=Msys2Platform.Mingw64, ),
|
"msys2-mingw64": JobSpec(name="Windows (msys2, mingw64)", os=JobOs.WindowsLatest, platform=SdlPlatform.Msys2, artifact="SDL-mingw64", msys2_platform=Msys2Platform.Mingw64, ),
|
||||||
"msys2-clang32": JobSpec(name="Windows (msys2, clang32)", os=JobOs.WindowsLatest, platform=SdlPlatform.Msys2, artifact="SDL-mingw32-clang", msys2_platform=Msys2Platform.Clang32, ),
|
"msys2-clang32": JobSpec(name="Windows (msys2, clang32)", os=JobOs.WindowsLatest, platform=SdlPlatform.Msys2, artifact="SDL-mingw32-clang", msys2_platform=Msys2Platform.Clang32, ),
|
||||||
"msys2-clang64": JobSpec(name="Windows (msys2, clang64)", os=JobOs.WindowsLatest, platform=SdlPlatform.Msys2, artifact="SDL-mingw64-clang", msys2_platform=Msys2Platform.Clang64, ),
|
"msys2-clang64": JobSpec(name="Windows (msys2, clang64)", os=JobOs.WindowsLatest, platform=SdlPlatform.Msys2, artifact="SDL-mingw64-clang", msys2_platform=Msys2Platform.Clang64, ),
|
||||||
"msys2-ucrt64": JobSpec(name="Windows (msys2, ucrt64)", os=JobOs.WindowsLatest, platform=SdlPlatform.Msys2, artifact="SDL-mingw64-ucrt", msys2_platform=Msys2Platform.Ucrt64, ),
|
"msys2-ucrt64": JobSpec(name="Windows (msys2, ucrt64)", os=JobOs.WindowsLatest, platform=SdlPlatform.Msys2, artifact="SDL-mingw64-ucrt", msys2_platform=Msys2Platform.Ucrt64, ),
|
||||||
"msvc-x64": JobSpec(name="Windows (MSVC, x64)", os=JobOs.WindowsLatest, platform=SdlPlatform.Msvc, artifact="SDL-VC-x64", msvc_arch=MsvcArch.X64, msvc_project="VisualC/SDL.sln", ),
|
"msvc-x64": JobSpec(name="Windows (MSVC, x64)", os=JobOs.WindowsLatest, platform=SdlPlatform.Msvc, artifact="SDL-VC-x64", msvc_arch=MsvcArch.X64, msvc_project="VisualC/SDL.sln", ),
|
||||||
"msvc-x86": JobSpec(name="Windows (MSVC, x86)", os=JobOs.WindowsLatest, platform=SdlPlatform.Msvc, artifact="SDL-VC-x86", msvc_arch=MsvcArch.X86, msvc_project="VisualC/SDL.sln", ),
|
"msvc-x86": JobSpec(name="Windows (MSVC, x86)", os=JobOs.WindowsLatest, platform=SdlPlatform.Msvc, artifact="SDL-VC-x86", msvc_arch=MsvcArch.X86, msvc_project="VisualC/SDL.sln", ),
|
||||||
"msvc-clang-x64": JobSpec(name="Windows (MSVC, clang-cl x64)", os=JobOs.WindowsLatest, platform=SdlPlatform.Msvc, artifact="SDL-clang-cl-x64", msvc_arch=MsvcArch.X64, clang_cl=True, ),
|
"msvc-clang-x64": JobSpec(name="Windows (MSVC, clang-cl x64)", os=JobOs.WindowsLatest, platform=SdlPlatform.Msvc, artifact="SDL-clang-cl-x64", msvc_arch=MsvcArch.X64, clang_cl=True, ),
|
||||||
"msvc-clang-x86": JobSpec(name="Windows (MSVC, clang-cl x86)", os=JobOs.WindowsLatest, platform=SdlPlatform.Msvc, artifact="SDL-clang-cl-x86", msvc_arch=MsvcArch.X86, clang_cl=True, ),
|
"msvc-clang-x86": JobSpec(name="Windows (MSVC, clang-cl x86)", os=JobOs.WindowsLatest, platform=SdlPlatform.Msvc, artifact="SDL-clang-cl-x86", msvc_arch=MsvcArch.X86, clang_cl=True, ),
|
||||||
"msvc-arm32": JobSpec(name="Windows (MSVC, ARM)", os=JobOs.WindowsLatest, platform=SdlPlatform.Msvc, artifact="SDL-VC-arm32", msvc_arch=MsvcArch.Arm32, ),
|
"msvc-arm32": JobSpec(name="Windows (MSVC, ARM)", os=JobOs.WindowsLatest, platform=SdlPlatform.Msvc, artifact="SDL-VC-arm32", msvc_arch=MsvcArch.Arm32, ),
|
||||||
"msvc-arm64": JobSpec(name="Windows (MSVC, ARM64)", os=JobOs.WindowsLatest, platform=SdlPlatform.Msvc, artifact="SDL-VC-arm64", msvc_arch=MsvcArch.Arm64, ),
|
"msvc-arm64": JobSpec(name="Windows (MSVC, ARM64)", os=JobOs.WindowsLatest, platform=SdlPlatform.Msvc, artifact="SDL-VC-arm64", msvc_arch=MsvcArch.Arm64, ),
|
||||||
"msvc-gdk-x64": JobSpec(name="GDK (MSVC, x64)", os=JobOs.WindowsLatest, platform=SdlPlatform.Msvc, artifact="SDL-VC-GDK", msvc_arch=MsvcArch.X64, msvc_project="VisualC-GDK/SDL.sln", gdk=True, no_cmake=True, ),
|
"msvc-gdk-x64": JobSpec(name="GDK (MSVC, x64)", os=JobOs.WindowsLatest, platform=SdlPlatform.Msvc, artifact="SDL-VC-GDK", msvc_arch=MsvcArch.X64, msvc_project="VisualC-GDK/SDL.sln", gdk=True, no_cmake=True, ),
|
||||||
"ubuntu-20.04": JobSpec(name="Ubuntu 20.04", os=JobOs.Ubuntu20_04, platform=SdlPlatform.Linux, artifact="SDL-ubuntu20.04", ),
|
"ubuntu-20.04": JobSpec(name="Ubuntu 20.04", os=JobOs.Ubuntu20_04, platform=SdlPlatform.Linux, artifact="SDL-ubuntu20.04", ),
|
||||||
"ubuntu-22.04": JobSpec(name="Ubuntu 22.04", os=JobOs.Ubuntu22_04, platform=SdlPlatform.Linux, artifact="SDL-ubuntu22.04", ),
|
"ubuntu-22.04": JobSpec(name="Ubuntu 22.04", os=JobOs.Ubuntu22_04, platform=SdlPlatform.Linux, artifact="SDL-ubuntu22.04", ),
|
||||||
"ubuntu-intel-icx": JobSpec(name="Ubuntu 20.04 (Intel oneAPI)", os=JobOs.Ubuntu20_04, platform=SdlPlatform.Linux, artifact="SDL-ubuntu20.04-oneapi", intel=IntelCompiler.Icx, ),
|
"ubuntu-24.04-arm64": JobSpec(name="Ubuntu 24.04 (ARM64)", os=JobOs.Ubuntu24_04_arm, platform=SdlPlatform.Linux, artifact="SDL-ubuntu24.04-arm64", ),
|
||||||
"ubuntu-intel-icc": JobSpec(name="Ubuntu 20.04 (Intel Compiler)", os=JobOs.Ubuntu20_04, platform=SdlPlatform.Linux, artifact="SDL-ubuntu20.04-icc", intel=IntelCompiler.Icc, ),
|
"steamrt-sniper": JobSpec(name="Steam Linux Runtime (Sniper)", os=JobOs.UbuntuLatest, platform=SdlPlatform.Linux, artifact="SDL-slrsniper", container="registry.gitlab.steamos.cloud/steamrt/sniper/sdk:beta", ),
|
||||||
"macos-framework-x64": JobSpec(name="MacOS (Framework) (x64)", os=JobOs.Macos12, platform=SdlPlatform.MacOS, artifact="SDL-macos-framework", apple_framework=True, apple_archs={AppleArch.Aarch64, AppleArch.X86_64, }, xcode=True, ),
|
"ubuntu-intel-icx": JobSpec(name="Ubuntu 20.04 (Intel oneAPI)", os=JobOs.Ubuntu20_04, platform=SdlPlatform.Linux, artifact="SDL-ubuntu20.04-oneapi", intel=IntelCompiler.Icx, ),
|
||||||
"macos-framework-arm64": JobSpec(name="MacOS (Framework) (arm64)", os=JobOs.MacosLatest, platform=SdlPlatform.MacOS, artifact=None, apple_framework=True, apple_archs={AppleArch.Aarch64, AppleArch.X86_64, }, ),
|
"ubuntu-intel-icc": JobSpec(name="Ubuntu 20.04 (Intel Compiler)", os=JobOs.Ubuntu20_04, platform=SdlPlatform.Linux, artifact="SDL-ubuntu20.04-icc", intel=IntelCompiler.Icc, ),
|
||||||
"macos-gnu-arm64": JobSpec(name="MacOS (GNU prefix)", os=JobOs.MacosLatest, platform=SdlPlatform.MacOS, artifact="SDL-macos-arm64-gnu", apple_framework=False, apple_archs={AppleArch.Aarch64, }, ),
|
"macos-framework-x64": JobSpec(name="MacOS (Framework) (x64)", os=JobOs.Macos13, platform=SdlPlatform.MacOS, artifact="SDL-macos-framework", apple_framework=True, apple_archs={AppleArch.Aarch64, AppleArch.X86_64, }, xcode=True, ),
|
||||||
"ios": JobSpec(name="iOS (CMake & xcode)", os=JobOs.MacosLatest, platform=SdlPlatform.Ios, artifact="SDL-ios-arm64", xcode=True, ),
|
"macos-framework-arm64": JobSpec(name="MacOS (Framework) (arm64)", os=JobOs.MacosLatest, platform=SdlPlatform.MacOS, artifact=None, apple_framework=True, apple_archs={AppleArch.Aarch64, AppleArch.X86_64, }, ),
|
||||||
"tvos": JobSpec(name="tvOS (CMake & xcode)", os=JobOs.MacosLatest, platform=SdlPlatform.Tvos, artifact="SDL-tvos-arm64", xcode=True, ),
|
"macos-gnu-arm64": JobSpec(name="MacOS (GNU prefix)", os=JobOs.MacosLatest, platform=SdlPlatform.MacOS, artifact="SDL-macos-arm64-gnu", apple_framework=False, apple_archs={AppleArch.Aarch64, }, ),
|
||||||
"android-cmake": JobSpec(name="Android (CMake)", os=JobOs.UbuntuLatest, platform=SdlPlatform.Android, artifact="SDL-android-arm64", android_abi="arm64-v8a", android_arch="aarch64", android_platform=23, ),
|
"ios": JobSpec(name="iOS (CMake & xcode)", os=JobOs.MacosLatest, platform=SdlPlatform.Ios, artifact="SDL-ios-arm64", xcode=True, ),
|
||||||
"android-cmake-lean": JobSpec(name="Android (CMake, lean)", os=JobOs.UbuntuLatest, platform=SdlPlatform.Android, artifact="SDL-lean-android-arm64", android_abi="arm64-v8a", android_arch="aarch64", android_platform=23, lean=True, ),
|
"tvos": JobSpec(name="tvOS (CMake & xcode)", os=JobOs.MacosLatest, platform=SdlPlatform.Tvos, artifact="SDL-tvos-arm64", xcode=True, ),
|
||||||
"android-mk": JobSpec(name="Android (Android.mk)", os=JobOs.UbuntuLatest, platform=SdlPlatform.Android, artifact=None, no_cmake=True, android_mk=True, ),
|
"android-cmake": JobSpec(name="Android (CMake)", os=JobOs.UbuntuLatest, platform=SdlPlatform.Android, artifact="SDL-android-arm64", android_abi="arm64-v8a", android_arch="aarch64", android_platform=23, ),
|
||||||
"android-gradle": JobSpec(name="Android (Gradle)", os=JobOs.UbuntuLatest, platform=SdlPlatform.Android, artifact=None, no_cmake=True, android_gradle=True, ),
|
"android-cmake-lean": JobSpec(name="Android (CMake, lean)", os=JobOs.UbuntuLatest, platform=SdlPlatform.Android, artifact="SDL-lean-android-arm64", android_abi="arm64-v8a", android_arch="aarch64", android_platform=23, lean=True, ),
|
||||||
"emscripten": JobSpec(name="Emscripten", os=JobOs.UbuntuLatest, platform=SdlPlatform.Emscripten, artifact="SDL-emscripten", ),
|
"android-mk": JobSpec(name="Android (Android.mk)", os=JobOs.UbuntuLatest, platform=SdlPlatform.Android, artifact=None, no_cmake=True, android_mk=True, ),
|
||||||
"haiku": JobSpec(name="Haiku", os=JobOs.UbuntuLatest, platform=SdlPlatform.Haiku, artifact="SDL-haiku-x64", container="ghcr.io/haiku/cross-compiler:x86_64-r1beta5", ),
|
"android-gradle": JobSpec(name="Android (Gradle)", os=JobOs.UbuntuLatest, platform=SdlPlatform.Android, artifact=None, no_cmake=True, android_gradle=True, ),
|
||||||
"loongarch64": JobSpec(name="LoongArch64", os=JobOs.UbuntuLatest, platform=SdlPlatform.LoongArch64, artifact="SDL-loongarch64", ),
|
"emscripten": JobSpec(name="Emscripten", os=JobOs.Ubuntu22_04, platform=SdlPlatform.Emscripten, artifact="SDL-emscripten", ),
|
||||||
"n3ds": JobSpec(name="Nintendo 3DS", os=JobOs.UbuntuLatest, platform=SdlPlatform.N3ds, artifact="SDL-n3ds", container="devkitpro/devkitarm:latest", ),
|
"haiku": JobSpec(name="Haiku", os=JobOs.UbuntuLatest, platform=SdlPlatform.Haiku, artifact="SDL-haiku-x64", container="ghcr.io/haiku/cross-compiler:x86_64-r1beta5", ),
|
||||||
"ppc64": JobSpec(name="PowerPC64", os=JobOs.UbuntuLatest, platform=SdlPlatform.PowerPC64, artifact="SDL-ppc64le", container="dockcross/linux-ppc64le:latest", ),
|
"loongarch64": JobSpec(name="LoongArch64", os=JobOs.UbuntuLatest, platform=SdlPlatform.LoongArch64, artifact="SDL-loongarch64", ),
|
||||||
"ps2": JobSpec(name="Sony PlayStation 2", os=JobOs.UbuntuLatest, platform=SdlPlatform.Ps2, artifact="SDL-ps2", container="ps2dev/ps2dev:latest", ),
|
"n3ds": JobSpec(name="Nintendo 3DS", os=JobOs.UbuntuLatest, platform=SdlPlatform.N3ds, artifact="SDL-n3ds", container="devkitpro/devkitarm:latest", ),
|
||||||
"psp": JobSpec(name="Sony PlayStation Portable", os=JobOs.UbuntuLatest, platform=SdlPlatform.Psp, artifact="SDL-psp", container="pspdev/pspdev:latest", ),
|
"ppc": JobSpec(name="PowerPC", os=JobOs.UbuntuLatest, platform=SdlPlatform.PowerPC, artifact="SDL-ppc", container="dockcross/linux-ppc:latest", ),
|
||||||
"vita-pib": JobSpec(name="Sony PlayStation Vita (GLES w/ pib)", os=JobOs.UbuntuLatest, platform=SdlPlatform.Vita, artifact="SDL-vita-pib", container="vitasdk/vitasdk:latest", vita_gles=VitaGLES.Pib, ),
|
"ppc64": JobSpec(name="PowerPC64", os=JobOs.UbuntuLatest, platform=SdlPlatform.PowerPC64, artifact="SDL-ppc64le", container="dockcross/linux-ppc64le:latest", ),
|
||||||
"vita-pvr": JobSpec(name="Sony PlayStation Vita (GLES w/ PVR_PSP2)", os=JobOs.UbuntuLatest, platform=SdlPlatform.Vita, artifact="SDL-vita-pvr", container="vitasdk/vitasdk:latest", vita_gles=VitaGLES.Pvr, ),
|
"ps2": JobSpec(name="Sony PlayStation 2", os=JobOs.UbuntuLatest, platform=SdlPlatform.Ps2, artifact="SDL-ps2", container="ps2dev/ps2dev:latest", ),
|
||||||
"riscos": JobSpec(name="RISC OS", os=JobOs.UbuntuLatest, platform=SdlPlatform.Riscos, artifact="SDL-riscos", container="riscosdotinfo/riscos-gccsdk-4.7:latest", ),
|
"psp": JobSpec(name="Sony PlayStation Portable", os=JobOs.UbuntuLatest, platform=SdlPlatform.Psp, artifact="SDL-psp", container="pspdev/pspdev:latest", ),
|
||||||
"netbsd": JobSpec(name="NetBSD", os=JobOs.UbuntuLatest, platform=SdlPlatform.NetBSD, artifact="SDL-netbsd-x64", ),
|
"vita-pib": JobSpec(name="Sony PlayStation Vita (GLES w/ pib)", os=JobOs.UbuntuLatest, platform=SdlPlatform.Vita, artifact="SDL-vita-pib", container="vitasdk/vitasdk:latest", vita_gles=VitaGLES.Pib, ),
|
||||||
"freebsd": JobSpec(name="FreeBSD", os=JobOs.UbuntuLatest, platform=SdlPlatform.FreeBSD, artifact="SDL-freebsd-x64", ),
|
"vita-pvr": JobSpec(name="Sony PlayStation Vita (GLES w/ PVR_PSP2)", os=JobOs.UbuntuLatest, platform=SdlPlatform.Vita, artifact="SDL-vita-pvr", container="vitasdk/vitasdk:latest", vita_gles=VitaGLES.Pvr, ),
|
||||||
|
"riscos": JobSpec(name="RISC OS", os=JobOs.UbuntuLatest, platform=SdlPlatform.Riscos, artifact="SDL-riscos", container="riscosdotinfo/riscos-gccsdk-4.7:latest", ),
|
||||||
|
"netbsd": JobSpec(name="NetBSD", os=JobOs.UbuntuLatest, platform=SdlPlatform.NetBSD, artifact="SDL-netbsd-x64", ),
|
||||||
|
"freebsd": JobSpec(name="FreeBSD", os=JobOs.UbuntuLatest, platform=SdlPlatform.FreeBSD, artifact="SDL-freebsd-x64", ),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -202,7 +207,8 @@ class JobDetails:
|
|||||||
msys2_env: str = ""
|
msys2_env: str = ""
|
||||||
msys2_no_perl: bool = False
|
msys2_no_perl: bool = False
|
||||||
werror: bool = True
|
werror: bool = True
|
||||||
msvc_vcvars: str = ""
|
msvc_vcvars_arch: str = ""
|
||||||
|
msvc_vcvars_sdk: str = ""
|
||||||
msvc_project: str = ""
|
msvc_project: str = ""
|
||||||
msvc_project_flags: list[str] = dataclasses.field(default_factory=list)
|
msvc_project_flags: list[str] = dataclasses.field(default_factory=list)
|
||||||
setup_ninja: bool = False
|
setup_ninja: bool = False
|
||||||
@@ -264,7 +270,8 @@ class JobDetails:
|
|||||||
"android-mk": self.android_mk,
|
"android-mk": self.android_mk,
|
||||||
"werror": self.werror,
|
"werror": self.werror,
|
||||||
"sudo": self.sudo,
|
"sudo": self.sudo,
|
||||||
"msvc-vcvars": self.msvc_vcvars,
|
"msvc-vcvars-arch": self.msvc_vcvars_arch,
|
||||||
|
"msvc-vcvars-sdk": self.msvc_vcvars_sdk,
|
||||||
"msvc-project": self.msvc_project,
|
"msvc-project": self.msvc_project,
|
||||||
"msvc-project-flags": my_shlex_join(self.msvc_project_flags),
|
"msvc-project-flags": my_shlex_join(self.msvc_project_flags),
|
||||||
"setup-ninja": self.setup_ninja,
|
"setup-ninja": self.setup_ninja,
|
||||||
@@ -388,14 +395,15 @@ def spec_to_job(spec: JobSpec, key: str, trackmem_symbol_names: bool) -> JobDeta
|
|||||||
job.msvc_project_flags.append(f"-p:Platform={msvc_platform}")
|
job.msvc_project_flags.append(f"-p:Platform={msvc_platform}")
|
||||||
match spec.msvc_arch:
|
match spec.msvc_arch:
|
||||||
case MsvcArch.X86:
|
case MsvcArch.X86:
|
||||||
job.msvc_vcvars = "x64_x86"
|
job.msvc_vcvars_arch = "x64_x86"
|
||||||
case MsvcArch.X64:
|
case MsvcArch.X64:
|
||||||
job.msvc_vcvars = "x64"
|
job.msvc_vcvars_arch = "x64"
|
||||||
case MsvcArch.Arm32:
|
case MsvcArch.Arm32:
|
||||||
job.msvc_vcvars = "x64_arm"
|
job.msvc_vcvars_arch = "x64_arm"
|
||||||
|
job.msvc_vcvars_sdk = "10.0.22621.0" # 10.0.26100.0 dropped ARM32 um and ucrt libraries
|
||||||
job.run_tests = False
|
job.run_tests = False
|
||||||
case MsvcArch.Arm64:
|
case MsvcArch.Arm64:
|
||||||
job.msvc_vcvars = "x64_arm64"
|
job.msvc_vcvars_arch = "x64_arm64"
|
||||||
job.run_tests = False
|
job.run_tests = False
|
||||||
if spec.gdk:
|
if spec.gdk:
|
||||||
job.setup_gdk_folder = "VisualC-GDK"
|
job.setup_gdk_folder = "VisualC-GDK"
|
||||||
@@ -406,50 +414,51 @@ def spec_to_job(spec: JobSpec, key: str, trackmem_symbol_names: bool) -> JobDeta
|
|||||||
case MsvcArch.X64:
|
case MsvcArch.X64:
|
||||||
job.setup_libusb_arch = "x64"
|
job.setup_libusb_arch = "x64"
|
||||||
case SdlPlatform.Linux:
|
case SdlPlatform.Linux:
|
||||||
job.apt_packages.extend((
|
if spec.name.startswith("Ubuntu"):
|
||||||
"gnome-desktop-testing",
|
assert spec.os.value.startswith("ubuntu-")
|
||||||
"libasound2-dev",
|
job.apt_packages.extend((
|
||||||
"libpulse-dev",
|
"gnome-desktop-testing",
|
||||||
"libaudio-dev",
|
"libasound2-dev",
|
||||||
"libjack-dev",
|
"libpulse-dev",
|
||||||
"libsndio-dev",
|
"libaudio-dev",
|
||||||
"libusb-1.0-0-dev",
|
"libjack-dev",
|
||||||
"libx11-dev",
|
"libsndio-dev",
|
||||||
"libxext-dev",
|
"libusb-1.0-0-dev",
|
||||||
"libxrandr-dev",
|
"libx11-dev",
|
||||||
"libxcursor-dev",
|
"libxext-dev",
|
||||||
"libxfixes-dev",
|
"libxrandr-dev",
|
||||||
"libxi-dev",
|
"libxcursor-dev",
|
||||||
"libxss-dev",
|
"libxfixes-dev",
|
||||||
"libwayland-dev",
|
"libxi-dev",
|
||||||
"libxkbcommon-dev",
|
"libxss-dev",
|
||||||
"libdrm-dev",
|
"libwayland-dev",
|
||||||
"libgbm-dev",
|
"libxkbcommon-dev",
|
||||||
"libgl1-mesa-dev",
|
"libdrm-dev",
|
||||||
"libgles2-mesa-dev",
|
"libgbm-dev",
|
||||||
"libegl1-mesa-dev",
|
"libgl1-mesa-dev",
|
||||||
"libdbus-1-dev",
|
"libgles2-mesa-dev",
|
||||||
"libibus-1.0-dev",
|
"libegl1-mesa-dev",
|
||||||
"libudev-dev",
|
"libdbus-1-dev",
|
||||||
"fcitx-libs-dev",
|
"libibus-1.0-dev",
|
||||||
))
|
"libudev-dev",
|
||||||
|
"fcitx-libs-dev",
|
||||||
|
))
|
||||||
|
match = re.match(r"ubuntu-(?P<year>[0-9]+)\.(?P<month>[0-9]+).*", spec.os.value)
|
||||||
|
ubuntu_year, ubuntu_month = [int(match["year"]), int(match["month"])]
|
||||||
|
if ubuntu_year >= 22:
|
||||||
|
job.apt_packages.extend(("libpipewire-0.3-dev", "libdecor-0-dev"))
|
||||||
|
job.apt_packages.extend((
|
||||||
|
"libunwind-dev", # For SDL_test memory tracking
|
||||||
|
))
|
||||||
if trackmem_symbol_names:
|
if trackmem_symbol_names:
|
||||||
# older libunwind is slow
|
# older libunwind is slow
|
||||||
job.cmake_arguments.append("-DSDLTEST_TIMEOUT_MULTIPLIER=2")
|
job.cmake_arguments.append("-DSDLTEST_TIMEOUT_MULTIPLIER=2")
|
||||||
job.apt_packages.extend((
|
|
||||||
"libunwind-dev", # For SDL_test memory tracking
|
|
||||||
))
|
|
||||||
job.shared_lib = SharedLibType.SO_0
|
job.shared_lib = SharedLibType.SO_0
|
||||||
job.static_lib = StaticLibType.A
|
job.static_lib = StaticLibType.A
|
||||||
fpic = True
|
fpic = True
|
||||||
assert spec.os.value.startswith("ubuntu-")
|
|
||||||
ubuntu_year, ubuntu_month = [int(v) for v in spec.os.value.removeprefix("ubuntu-").split(".", 1)]
|
|
||||||
if ubuntu_year >= 22:
|
|
||||||
job.apt_packages.extend(("libpipewire-0.3-dev", "libdecor-0-dev"))
|
|
||||||
case SdlPlatform.Ios | SdlPlatform.Tvos:
|
case SdlPlatform.Ios | SdlPlatform.Tvos:
|
||||||
job.brew_packages.extend([
|
job.brew_packages.extend([
|
||||||
"ninja",
|
"ninja",
|
||||||
"pkg-config",
|
|
||||||
])
|
])
|
||||||
job.clang_tidy = False
|
job.clang_tidy = False
|
||||||
job.run_tests = False
|
job.run_tests = False
|
||||||
@@ -463,6 +472,7 @@ def spec_to_job(spec: JobSpec, key: str, trackmem_symbol_names: bool) -> JobDeta
|
|||||||
job.cmake_arguments.extend([
|
job.cmake_arguments.extend([
|
||||||
"-DCMAKE_SYSTEM_NAME=iOS",
|
"-DCMAKE_SYSTEM_NAME=iOS",
|
||||||
"-DCMAKE_OSX_ARCHITECTURES=\"arm64\"",
|
"-DCMAKE_OSX_ARCHITECTURES=\"arm64\"",
|
||||||
|
"-DCMAKE_OSX_DEPLOYMENT_TARGET=11.0",
|
||||||
])
|
])
|
||||||
case SdlPlatform.Tvos:
|
case SdlPlatform.Tvos:
|
||||||
if spec.xcode:
|
if spec.xcode:
|
||||||
@@ -470,6 +480,7 @@ def spec_to_job(spec: JobSpec, key: str, trackmem_symbol_names: bool) -> JobDeta
|
|||||||
job.cmake_arguments.extend([
|
job.cmake_arguments.extend([
|
||||||
"-DCMAKE_SYSTEM_NAME=tvOS",
|
"-DCMAKE_SYSTEM_NAME=tvOS",
|
||||||
"-DCMAKE_OSX_ARCHITECTURES=\"arm64\"",
|
"-DCMAKE_OSX_ARCHITECTURES=\"arm64\"",
|
||||||
|
"-DCMAKE_OSX_DEPLOYMENT_TARGET=11.0",
|
||||||
])
|
])
|
||||||
case SdlPlatform.MacOS:
|
case SdlPlatform.MacOS:
|
||||||
if spec.apple_framework:
|
if spec.apple_framework:
|
||||||
@@ -478,6 +489,7 @@ def spec_to_job(spec: JobSpec, key: str, trackmem_symbol_names: bool) -> JobDeta
|
|||||||
job.test_pkg_config = False
|
job.test_pkg_config = False
|
||||||
job.cmake_arguments.extend((
|
job.cmake_arguments.extend((
|
||||||
"'-DCMAKE_OSX_ARCHITECTURES=x86_64;arm64'",
|
"'-DCMAKE_OSX_ARCHITECTURES=x86_64;arm64'",
|
||||||
|
"-DCMAKE_OSX_DEPLOYMENT_TARGET=10.13",
|
||||||
"-DSDL_FRAMEWORK=ON",
|
"-DSDL_FRAMEWORK=ON",
|
||||||
))
|
))
|
||||||
job.shared_lib = SharedLibType.FRAMEWORK
|
job.shared_lib = SharedLibType.FRAMEWORK
|
||||||
@@ -485,14 +497,13 @@ def spec_to_job(spec: JobSpec, key: str, trackmem_symbol_names: bool) -> JobDeta
|
|||||||
job.clang_tidy = True
|
job.clang_tidy = True
|
||||||
job.cmake_arguments.extend((
|
job.cmake_arguments.extend((
|
||||||
"-DCMAKE_OSX_ARCHITECTURES=arm64",
|
"-DCMAKE_OSX_ARCHITECTURES=arm64",
|
||||||
|
"-DCMAKE_OSX_DEPLOYMENT_TARGET=10.13",
|
||||||
"-DCLANG_TIDY_BINARY=$(brew --prefix llvm)/bin/clang-tidy",
|
"-DCLANG_TIDY_BINARY=$(brew --prefix llvm)/bin/clang-tidy",
|
||||||
))
|
))
|
||||||
job.shared_lib = SharedLibType.DYLIB
|
job.shared_lib = SharedLibType.DYLIB
|
||||||
job.static_lib = StaticLibType.A
|
job.static_lib = StaticLibType.A
|
||||||
job.apt_packages = []
|
job.apt_packages = []
|
||||||
job.brew_packages.append("ninja")
|
job.brew_packages.append("ninja")
|
||||||
if job.test_pkg_config:
|
|
||||||
job.brew_packages.append("pkg-config")
|
|
||||||
if job.clang_tidy:
|
if job.clang_tidy:
|
||||||
job.brew_packages.append("llvm")
|
job.brew_packages.append("llvm")
|
||||||
if spec.xcode:
|
if spec.xcode:
|
||||||
@@ -608,11 +619,11 @@ def spec_to_job(spec: JobSpec, key: str, trackmem_symbol_names: bool) -> JobDeta
|
|||||||
job.cmake_arguments.extend((
|
job.cmake_arguments.extend((
|
||||||
f"-DCMAKE_C_COMPILER={job.cc}",
|
f"-DCMAKE_C_COMPILER={job.cc}",
|
||||||
f"-DCMAKE_CXX_COMPILER={job.cxx}",
|
f"-DCMAKE_CXX_COMPILER={job.cxx}",
|
||||||
"-DCMAKE_SYSTEM_NAME=Haiku",
|
"-DSDL_UNIX_CONSOLE_BUILD=ON",
|
||||||
))
|
))
|
||||||
job.shared_lib = SharedLibType.SO_0
|
job.shared_lib = SharedLibType.SO_0
|
||||||
job.static_lib = StaticLibType.A
|
job.static_lib = StaticLibType.A
|
||||||
case SdlPlatform.PowerPC64:
|
case SdlPlatform.PowerPC64 | SdlPlatform.PowerPC:
|
||||||
# FIXME: Enable SDL_WERROR
|
# FIXME: Enable SDL_WERROR
|
||||||
job.werror = False
|
job.werror = False
|
||||||
job.clang_tidy = False
|
job.clang_tidy = False
|
||||||
@@ -621,6 +632,9 @@ def spec_to_job(spec: JobSpec, key: str, trackmem_symbol_names: bool) -> JobDeta
|
|||||||
job.apt_packages = []
|
job.apt_packages = []
|
||||||
job.shared_lib = SharedLibType.SO_0
|
job.shared_lib = SharedLibType.SO_0
|
||||||
job.static_lib = StaticLibType.A
|
job.static_lib = StaticLibType.A
|
||||||
|
job.cmake_arguments.extend((
|
||||||
|
"-DSDL_UNIX_CONSOLE_BUILD=ON",
|
||||||
|
))
|
||||||
case SdlPlatform.LoongArch64:
|
case SdlPlatform.LoongArch64:
|
||||||
job.run_tests = False
|
job.run_tests = False
|
||||||
job.cc = "${LOONGARCH64_CC}"
|
job.cc = "${LOONGARCH64_CC}"
|
||||||
@@ -628,6 +642,7 @@ def spec_to_job(spec: JobSpec, key: str, trackmem_symbol_names: bool) -> JobDeta
|
|||||||
job.cmake_arguments.extend((
|
job.cmake_arguments.extend((
|
||||||
f"-DCMAKE_C_COMPILER={job.cc}",
|
f"-DCMAKE_C_COMPILER={job.cc}",
|
||||||
f"-DCMAKE_CXX_COMPILER={job.cxx}",
|
f"-DCMAKE_CXX_COMPILER={job.cxx}",
|
||||||
|
"-DSDL_UNIX_CONSOLE_BUILD=ON",
|
||||||
"-DCMAKE_SYSTEM_NAME=Linux",
|
"-DCMAKE_SYSTEM_NAME=Linux",
|
||||||
))
|
))
|
||||||
job.shared_lib = SharedLibType.SO_0
|
job.shared_lib = SharedLibType.SO_0
|
||||||
@@ -679,7 +694,7 @@ def spec_to_job(spec: JobSpec, key: str, trackmem_symbol_names: bool) -> JobDeta
|
|||||||
match spec.platform:
|
match spec.platform:
|
||||||
case SdlPlatform.FreeBSD:
|
case SdlPlatform.FreeBSD:
|
||||||
job.cpactions_os = "freebsd"
|
job.cpactions_os = "freebsd"
|
||||||
job.cpactions_version = "13.3"
|
job.cpactions_version = "14.2"
|
||||||
job.cpactions_arch = "x86-64"
|
job.cpactions_arch = "x86-64"
|
||||||
job.cpactions_setup_cmd = "sudo pkg update"
|
job.cpactions_setup_cmd = "sudo pkg update"
|
||||||
job.cpactions_install_cmd = "sudo pkg install -y cmake ninja pkgconf libXcursor libXext libXinerama libXi libXfixes libXrandr libXScrnSaver libXxf86vm wayland wayland-protocols libxkbcommon mesa-libs libglvnd evdev-proto libinotify alsa-lib jackit pipewire pulseaudio sndio dbus zh-fcitx ibus libudev-devd"
|
job.cpactions_install_cmd = "sudo pkg install -y cmake ninja pkgconf libXcursor libXext libXinerama libXi libXfixes libXrandr libXScrnSaver libXxf86vm wayland wayland-protocols libxkbcommon mesa-libs libglvnd evdev-proto libinotify alsa-lib jackit pipewire pulseaudio sndio dbus zh-fcitx ibus libudev-devd"
|
||||||
|
|||||||
@@ -90,7 +90,8 @@ jobs:
|
|||||||
- uses: ilammy/msvc-dev-cmd@v1
|
- uses: ilammy/msvc-dev-cmd@v1
|
||||||
if: ${{ matrix.platform.platform == 'msvc' }}
|
if: ${{ matrix.platform.platform == 'msvc' }}
|
||||||
with:
|
with:
|
||||||
arch: ${{ matrix.platform.msvc-vcvars }}
|
arch: ${{ matrix.platform.msvc-vcvars-arch }}
|
||||||
|
sdk: ${{ matrix.platform.msvc-vcvars-sdk }}
|
||||||
- name: 'Set up Windows GDK Desktop'
|
- name: 'Set up Windows GDK Desktop'
|
||||||
uses: ./.github/actions/setup-gdk-desktop
|
uses: ./.github/actions/setup-gdk-desktop
|
||||||
if: ${{ matrix.platform.setup-gdk-folder != '' }}
|
if: ${{ matrix.platform.setup-gdk-folder != '' }}
|
||||||
@@ -169,9 +170,9 @@ jobs:
|
|||||||
-DSDLTEST_TRACKMEM=ON \
|
-DSDLTEST_TRACKMEM=ON \
|
||||||
-DSDL_INSTALL_TESTS=${{ matrix.platform.build-tests }} \
|
-DSDL_INSTALL_TESTS=${{ matrix.platform.build-tests }} \
|
||||||
-DSDL_CLANG_TIDY=${{ matrix.platform.clang-tidy }} \
|
-DSDL_CLANG_TIDY=${{ matrix.platform.clang-tidy }} \
|
||||||
-DSDL_DISABLE_INSTALL_DOCS=OFF \
|
-DSDL_INSTALL_DOCS=ON \
|
||||||
-DSDL_DISABLE_INSTALL_CPACK=OFF \
|
-DSDL_INSTALL_CPACK=ON \
|
||||||
-DSDL_DISABLE_INSTALL_DOCS=OFF \
|
-DSDL_INSTALL_DOCS=ON \
|
||||||
${{ matrix.platform.cmake-arguments }} \
|
${{ matrix.platform.cmake-arguments }} \
|
||||||
-DSDL_SHARED=${{ matrix.platform.shared }} \
|
-DSDL_SHARED=${{ matrix.platform.shared }} \
|
||||||
-DSDL_STATIC=${{ matrix.platform.static }} \
|
-DSDL_STATIC=${{ matrix.platform.static }} \
|
||||||
@@ -191,9 +192,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo "This should show us the SDL_REVISION"
|
echo "This should show us the SDL_REVISION"
|
||||||
echo "Shared library:"
|
echo "Shared library:"
|
||||||
${{ (matrix.platform.shared-lib && format('strings build/{0} | grep SDL-', matrix.platform.shared-lib)) || 'echo "<Shared library not supported by platform>"' }}
|
${{ (matrix.platform.shared-lib && format('strings build/{0} | grep "Github Workflow"', matrix.platform.shared-lib)) || 'echo "<Shared library not supported by platform>"' }}
|
||||||
echo "Static library:"
|
echo "Static library:"
|
||||||
${{ (matrix.platform.static-lib && format('strings build/{0} | grep SDL-', matrix.platform.static-lib)) || 'echo "<Static library not supported by platform>"' }}
|
${{ (matrix.platform.static-lib && format('strings build/{0} | grep "Github Workflow"', matrix.platform.static-lib)) || 'echo "<Static library not supported by platform>"' }}
|
||||||
- name: 'Run build-time tests (CMake)'
|
- name: 'Run build-time tests (CMake)'
|
||||||
id: tests
|
id: tests
|
||||||
if: ${{ !matrix.platform.no-cmake && matrix.platform.run-tests }}
|
if: ${{ !matrix.platform.no-cmake && matrix.platform.run-tests }}
|
||||||
@@ -206,7 +207,7 @@ jobs:
|
|||||||
ctest -VV --test-dir build/ -j2
|
ctest -VV --test-dir build/ -j2
|
||||||
- name: "Build test apk's (CMake)"
|
- name: "Build test apk's (CMake)"
|
||||||
id: apks
|
id: apks
|
||||||
if: ${{ steps.build.outcome == 'success' && matrix.platform.android-apks != '' }}
|
if: ${{ always() && steps.build.outcome == 'success' && matrix.platform.android-apks != '' }}
|
||||||
# shell: ${{ matrix.platform.shell }}
|
# shell: ${{ matrix.platform.shell }}
|
||||||
run: |
|
run: |
|
||||||
${{ matrix.platform.source-cmd }}
|
${{ matrix.platform.source-cmd }}
|
||||||
@@ -217,7 +218,7 @@ jobs:
|
|||||||
-- ${{ matrix.platform.cmake-build-arguments }}
|
-- ${{ matrix.platform.cmake-build-arguments }}
|
||||||
- name: 'Install (CMake)'
|
- name: 'Install (CMake)'
|
||||||
id: install
|
id: install
|
||||||
if: ${{ steps.build.outcome == 'success' }}
|
if: ${{ always() && steps.build.outcome == 'success' }}
|
||||||
# shell: ${{ matrix.platform.shell }}
|
# shell: ${{ matrix.platform.shell }}
|
||||||
run: |
|
run: |
|
||||||
${{ matrix.platform.source-cmd }}
|
${{ matrix.platform.source-cmd }}
|
||||||
@@ -226,7 +227,7 @@ jobs:
|
|||||||
( cd prefix; find . ) | LC_ALL=C sort -u
|
( cd prefix; find . ) | LC_ALL=C sort -u
|
||||||
- name: 'Package (CPack)'
|
- name: 'Package (CPack)'
|
||||||
id: package
|
id: package
|
||||||
if: ${{ steps.build.outcome == 'success' }}
|
if: ${{ always() && steps.build.outcome == 'success' }}
|
||||||
# shell: ${{ matrix.platform.shell }}
|
# shell: ${{ matrix.platform.shell }}
|
||||||
run: |
|
run: |
|
||||||
# DMG creation on macOS occasionally fails, so try multiple times
|
# DMG creation on macOS occasionally fails, so try multiple times
|
||||||
@@ -280,11 +281,11 @@ jobs:
|
|||||||
- name: 'Build (cross-platform-actions, BSD)'
|
- name: 'Build (cross-platform-actions, BSD)'
|
||||||
id: cpactions
|
id: cpactions
|
||||||
if: ${{ matrix.platform.cpactions }}
|
if: ${{ matrix.platform.cpactions }}
|
||||||
uses: cross-platform-actions/action@v0.25.0
|
uses: cross-platform-actions/action@v0.26.0
|
||||||
with:
|
with:
|
||||||
operating_system: ${{ matrix.platform.cpactions-os }}
|
operating_system: '${{ matrix.platform.cpactions-os }}'
|
||||||
architecture: ${{ matrix.platform.cpactions-arch }}
|
architecture: '${{ matrix.platform.cpactions-arch }}'
|
||||||
version: ${{ matrix.platform.cpactions-version }}
|
version: '${{ matrix.platform.cpactions-version }}'
|
||||||
run: |
|
run: |
|
||||||
${{ matrix.platform.cpactions-setup-cmd }}
|
${{ matrix.platform.cpactions-setup-cmd }}
|
||||||
${{ matrix.platform.cpactions-install-cmd }}
|
${{ matrix.platform.cpactions-install-cmd }}
|
||||||
@@ -292,7 +293,7 @@ jobs:
|
|||||||
${{ matrix.platform.cmake-toolchain-file != '' && format('-DCMAKE_TOOLCHAIN_FILE={0}', matrix.platform.cmake-toolchain-file) || '' }} \
|
${{ matrix.platform.cmake-toolchain-file != '' && format('-DCMAKE_TOOLCHAIN_FILE={0}', matrix.platform.cmake-toolchain-file) || '' }} \
|
||||||
-Wdeprecated -Wdev -Werror \
|
-Wdeprecated -Wdev -Werror \
|
||||||
-DSDL_WERROR=${{ matrix.platform.werror }} \
|
-DSDL_WERROR=${{ matrix.platform.werror }} \
|
||||||
-DSDL_DISABLE_INSTALL_DOCS=OFF \
|
-DSDL_INSTALL_DOCS=ON \
|
||||||
${{ matrix.platform.cmake-arguments }} \
|
${{ matrix.platform.cmake-arguments }} \
|
||||||
-DSDL_SHARED=${{ matrix.platform.shared }} \
|
-DSDL_SHARED=${{ matrix.platform.shared }} \
|
||||||
-DSDL_STATIC=${{ matrix.platform.static }} \
|
-DSDL_STATIC=${{ matrix.platform.static }} \
|
||||||
@@ -365,7 +366,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
if-no-files-found: error
|
if-no-files-found: error
|
||||||
name: '${{ matrix.platform.artifact }}'
|
name: '${{ matrix.platform.artifact }}'
|
||||||
path: build/dist/SDL3*
|
path: |
|
||||||
|
build/dist/SDL3*
|
||||||
|
build/include*
|
||||||
- name: 'Upload minidumps'
|
- name: 'Upload minidumps'
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
if: ${{ always() && steps.tests.outcome == 'failure' && (matrix.platform.platform == 'msvc' || matrix.platform.platform == 'msys2') }}
|
if: ${{ always() && steps.tests.outcome == 'failure' && (matrix.platform.platform == 'msvc' || matrix.platform.platform == 'msys2') }}
|
||||||
|
|||||||
@@ -37,9 +37,8 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
python build-scripts/build-release.py \
|
python build-scripts/build-release.py \
|
||||||
--create source \
|
--actions source \
|
||||||
--commit ${{ inputs.commit }} \
|
--commit ${{ inputs.commit }} \
|
||||||
--project SDL3 \
|
|
||||||
--root "${{ github.workspace }}/SDL" \
|
--root "${{ github.workspace }}/SDL" \
|
||||||
--github \
|
--github \
|
||||||
--debug
|
--debug
|
||||||
@@ -48,6 +47,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: sources
|
name: sources
|
||||||
path: '${{ github.workspace}}/dist'
|
path: '${{ github.workspace}}/dist'
|
||||||
|
- name: 'Generate summary'
|
||||||
|
run: |
|
||||||
|
echo "Run the following commands to download all artifacts:" >> $GITHUB_STEP_SUMMARY
|
||||||
|
echo '```' >> $GITHUB_STEP_SUMMARY
|
||||||
|
echo "mkdir -p /tmp/${{ steps.releaser.outputs.project }}-${{ steps.releaser.outputs.version }}" >> $GITHUB_STEP_SUMMARY
|
||||||
|
echo "cd /tmp/${{ steps.releaser.outputs.project }}-${{ steps.releaser.outputs.version }}" >> $GITHUB_STEP_SUMMARY
|
||||||
|
echo "gh run -R ${{ github.repository }} download ${{ github.run_id }}" >> $GITHUB_STEP_SUMMARY
|
||||||
|
echo '```' >> $GITHUB_STEP_SUMMARY
|
||||||
|
|
||||||
linux-verify:
|
linux-verify:
|
||||||
needs: [src]
|
needs: [src]
|
||||||
@@ -78,6 +85,14 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
${{ steps.tar.outputs.path }}/build-scripts/test-versioning.sh
|
${{ steps.tar.outputs.path }}/build-scripts/test-versioning.sh
|
||||||
|
- name: 'Install Linux dependencies'
|
||||||
|
run: |
|
||||||
|
sudo apt-get update -y
|
||||||
|
sudo apt-get install -y \
|
||||||
|
gnome-desktop-testing libasound2-dev libpulse-dev libaudio-dev libjack-dev libsndio-dev \
|
||||||
|
libusb-1.0-0-dev libx11-dev libxext-dev libxrandr-dev libxcursor-dev libxfixes-dev libxi-dev \
|
||||||
|
libxss-dev libwayland-dev libxkbcommon-dev libdrm-dev libgbm-dev libgl1-mesa-dev libgles2-mesa-dev \
|
||||||
|
libegl1-mesa-dev libdbus-1-dev libibus-1.0-dev libudev-dev fcitx-libs-dev
|
||||||
- name: 'CMake (configure + build + tests + examples)'
|
- name: 'CMake (configure + build + tests + examples)'
|
||||||
run: |
|
run: |
|
||||||
cmake -S ${{ steps.tar.outputs.path }} -B /tmp/build -DSDL_TEST_LIBRARY=TRUE -DSDL_TESTS=TRUE -DSDL_EXAMPLES=TRUE
|
cmake -S ${{ steps.tar.outputs.path }} -B /tmp/build -DSDL_TEST_LIBRARY=TRUE -DSDL_TESTS=TRUE -DSDL_EXAMPLES=TRUE
|
||||||
@@ -93,7 +108,7 @@ jobs:
|
|||||||
- name: 'Set up Python'
|
- name: 'Set up Python'
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.10'
|
python-version: '3.11'
|
||||||
- name: 'Fetch build-release.py'
|
- name: 'Fetch build-release.py'
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
@@ -114,9 +129,8 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
python build-scripts/build-release.py \
|
python build-scripts/build-release.py \
|
||||||
--create xcframework \
|
--actions dmg \
|
||||||
--commit ${{ inputs.commit }} \
|
--commit ${{ inputs.commit }} \
|
||||||
--project SDL3 \
|
|
||||||
--root "${{ steps.tar.outputs.path }}" \
|
--root "${{ steps.tar.outputs.path }}" \
|
||||||
--github \
|
--github \
|
||||||
--debug
|
--debug
|
||||||
@@ -165,6 +179,7 @@ jobs:
|
|||||||
-DCMAKE_PREFIX_PATH="${{ steps.mount.outputs.mount_point }}" \
|
-DCMAKE_PREFIX_PATH="${{ steps.mount.outputs.mount_point }}" \
|
||||||
-DCMAKE_SYSTEM_NAME=Darwin \
|
-DCMAKE_SYSTEM_NAME=Darwin \
|
||||||
-DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" \
|
-DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" \
|
||||||
|
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.13 \
|
||||||
-Werror=dev \
|
-Werror=dev \
|
||||||
-B build_darwin
|
-B build_darwin
|
||||||
cmake --build build_darwin --config Release --verbose
|
cmake --build build_darwin --config Release --verbose
|
||||||
@@ -176,6 +191,7 @@ jobs:
|
|||||||
-DCMAKE_PREFIX_PATH="${{ steps.mount.outputs.mount_point }}/SDL3.xcframework/macos-arm64_x86_64" \
|
-DCMAKE_PREFIX_PATH="${{ steps.mount.outputs.mount_point }}/SDL3.xcframework/macos-arm64_x86_64" \
|
||||||
-DCMAKE_SYSTEM_NAME=Darwin \
|
-DCMAKE_SYSTEM_NAME=Darwin \
|
||||||
-DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" \
|
-DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" \
|
||||||
|
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.13 \
|
||||||
-Werror=dev \
|
-Werror=dev \
|
||||||
-B build_darwin_2
|
-B build_darwin_2
|
||||||
cmake --build build_darwin --config Release --verbose
|
cmake --build build_darwin --config Release --verbose
|
||||||
@@ -188,6 +204,7 @@ jobs:
|
|||||||
-DCMAKE_PREFIX_PATH="${{ steps.mount.outputs.mount_point }}" \
|
-DCMAKE_PREFIX_PATH="${{ steps.mount.outputs.mount_point }}" \
|
||||||
-DCMAKE_SYSTEM_NAME=iOS \
|
-DCMAKE_SYSTEM_NAME=iOS \
|
||||||
-DCMAKE_OSX_ARCHITECTURES="arm64" \
|
-DCMAKE_OSX_ARCHITECTURES="arm64" \
|
||||||
|
-DCMAKE_OSX_DEPLOYMENT_TARGET=11.0 \
|
||||||
-Werror=dev \
|
-Werror=dev \
|
||||||
-B build_ios
|
-B build_ios
|
||||||
cmake --build build_ios --config Release --verbose
|
cmake --build build_ios --config Release --verbose
|
||||||
@@ -200,6 +217,7 @@ jobs:
|
|||||||
-DCMAKE_PREFIX_PATH="${{ steps.mount.outputs.mount_point }}" \
|
-DCMAKE_PREFIX_PATH="${{ steps.mount.outputs.mount_point }}" \
|
||||||
-DCMAKE_SYSTEM_NAME=tvOS \
|
-DCMAKE_SYSTEM_NAME=tvOS \
|
||||||
-DCMAKE_OSX_ARCHITECTURES="arm64" \
|
-DCMAKE_OSX_ARCHITECTURES="arm64" \
|
||||||
|
-DCMAKE_OSX_DEPLOYMENT_TARGET=11.0 \
|
||||||
-Werror=dev \
|
-Werror=dev \
|
||||||
-B build_tvos
|
-B build_tvos
|
||||||
cmake --build build_tvos --config Release --verbose
|
cmake --build build_tvos --config Release --verbose
|
||||||
@@ -215,6 +233,7 @@ jobs:
|
|||||||
-DCMAKE_SYSTEM_NAME=iOS \
|
-DCMAKE_SYSTEM_NAME=iOS \
|
||||||
-DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" \
|
-DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" \
|
||||||
-DCMAKE_OSX_SYSROOT="${sysroot}" \
|
-DCMAKE_OSX_SYSROOT="${sysroot}" \
|
||||||
|
-DCMAKE_OSX_DEPLOYMENT_TARGET=11.0 \
|
||||||
-Werror=dev \
|
-Werror=dev \
|
||||||
-B build_ios_simulator
|
-B build_ios_simulator
|
||||||
cmake --build build_ios_simulator --config Release --verbose
|
cmake --build build_ios_simulator --config Release --verbose
|
||||||
@@ -230,6 +249,7 @@ jobs:
|
|||||||
-DCMAKE_SYSTEM_NAME=tvOS \
|
-DCMAKE_SYSTEM_NAME=tvOS \
|
||||||
-DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" \
|
-DCMAKE_OSX_ARCHITECTURES="arm64;x86_64" \
|
||||||
-DCMAKE_OSX_SYSROOT="${sysroot}" \
|
-DCMAKE_OSX_SYSROOT="${sysroot}" \
|
||||||
|
-DCMAKE_OSX_DEPLOYMENT_TARGET=11.0 \
|
||||||
-Werror=dev \
|
-Werror=dev \
|
||||||
-B build_tvos_simulator
|
-B build_tvos_simulator
|
||||||
cmake --build build_tvos_simulator --config Release --verbose
|
cmake --build build_tvos_simulator --config Release --verbose
|
||||||
@@ -240,12 +260,13 @@ jobs:
|
|||||||
outputs:
|
outputs:
|
||||||
VC-x86: ${{ steps.releaser.outputs.VC-x86 }}
|
VC-x86: ${{ steps.releaser.outputs.VC-x86 }}
|
||||||
VC-x64: ${{ steps.releaser.outputs.VC-x64 }}
|
VC-x64: ${{ steps.releaser.outputs.VC-x64 }}
|
||||||
|
VC-arm64: ${{ steps.releaser.outputs.VC-arm64 }}
|
||||||
VC-devel: ${{ steps.releaser.outputs.VC-devel }}
|
VC-devel: ${{ steps.releaser.outputs.VC-devel }}
|
||||||
steps:
|
steps:
|
||||||
- name: 'Set up Python'
|
- name: 'Set up Python'
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.10'
|
python-version: '3.11'
|
||||||
- name: 'Fetch build-release.py'
|
- name: 'Fetch build-release.py'
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
@@ -265,12 +286,11 @@ jobs:
|
|||||||
- name: 'Build MSVC binary archives'
|
- name: 'Build MSVC binary archives'
|
||||||
id: releaser
|
id: releaser
|
||||||
run: |
|
run: |
|
||||||
python build-scripts/build-release.py `
|
python build-scripts/build-release.py `
|
||||||
--create win32 `
|
--actions msvc `
|
||||||
--commit ${{ inputs.commit }} `
|
--commit ${{ inputs.commit }} `
|
||||||
--project SDL3 `
|
--root "${{ steps.zip.outputs.path }}" `
|
||||||
--root "${{ steps.zip.outputs.path }}" `
|
--github `
|
||||||
--github `
|
|
||||||
--debug
|
--debug
|
||||||
- name: 'Store MSVC archives'
|
- name: 'Store MSVC archives'
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
@@ -405,7 +425,7 @@ jobs:
|
|||||||
- name: 'Set up Python'
|
- name: 'Set up Python'
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.10'
|
python-version: '3.11'
|
||||||
- name: 'Fetch build-release.py'
|
- name: 'Fetch build-release.py'
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
@@ -428,12 +448,11 @@ jobs:
|
|||||||
- name: 'Build MinGW binary archives'
|
- name: 'Build MinGW binary archives'
|
||||||
id: releaser
|
id: releaser
|
||||||
run: |
|
run: |
|
||||||
python build-scripts/build-release.py \
|
python build-scripts/build-release.py \
|
||||||
--create mingw \
|
--actions mingw \
|
||||||
--commit ${{ inputs.commit }} \
|
--commit ${{ inputs.commit }} \
|
||||||
--project SDL3 \
|
--root "${{ steps.tar.outputs.path }}" \
|
||||||
--root "${{ steps.tar.outputs.path }}" \
|
--github \
|
||||||
--github \
|
|
||||||
--debug
|
--debug
|
||||||
- name: 'Store MinGW archives'
|
- name: 'Store MinGW archives'
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
@@ -476,7 +495,7 @@ jobs:
|
|||||||
cmake -S "${{ steps.src.outputs.path }}/cmake/test" \
|
cmake -S "${{ steps.src.outputs.path }}/cmake/test" \
|
||||||
-DCMAKE_BUILD_TYPE="Release" \
|
-DCMAKE_BUILD_TYPE="Release" \
|
||||||
-DTEST_FULL=TRUE \
|
-DTEST_FULL=TRUE \
|
||||||
-DTEST_STATIC=TRUE \
|
-DTEST_STATIC=FALSE \
|
||||||
-DTEST_TEST=TRUE \
|
-DTEST_TEST=TRUE \
|
||||||
-DCMAKE_PREFIX_PATH="${{ steps.bin.outputs.path }}" \
|
-DCMAKE_PREFIX_PATH="${{ steps.bin.outputs.path }}" \
|
||||||
-DCMAKE_TOOLCHAIN_FILE="${{ steps.src.outputs.path }}/build-scripts/cmake-toolchain-mingw64-i686.cmake" \
|
-DCMAKE_TOOLCHAIN_FILE="${{ steps.src.outputs.path }}/build-scripts/cmake-toolchain-mingw64-i686.cmake" \
|
||||||
@@ -489,7 +508,7 @@ jobs:
|
|||||||
cmake -S "${{ steps.src.outputs.path }}/cmake/test" \
|
cmake -S "${{ steps.src.outputs.path }}/cmake/test" \
|
||||||
-DCMAKE_BUILD_TYPE="Release" \
|
-DCMAKE_BUILD_TYPE="Release" \
|
||||||
-DTEST_FULL=TRUE \
|
-DTEST_FULL=TRUE \
|
||||||
-DTEST_STATIC=TRUE \
|
-DTEST_STATIC=false \
|
||||||
-DTEST_TEST=TRUE \
|
-DTEST_TEST=TRUE \
|
||||||
-DCMAKE_PREFIX_PATH="${{ steps.bin.outputs.path }}" \
|
-DCMAKE_PREFIX_PATH="${{ steps.bin.outputs.path }}" \
|
||||||
-DCMAKE_TOOLCHAIN_FILE="${{ steps.src.outputs.path }}/build-scripts/cmake-toolchain-mingw64-x86_64.cmake" \
|
-DCMAKE_TOOLCHAIN_FILE="${{ steps.src.outputs.path }}/build-scripts/cmake-toolchain-mingw64-x86_64.cmake" \
|
||||||
@@ -507,7 +526,7 @@ jobs:
|
|||||||
- name: 'Set up Python'
|
- name: 'Set up Python'
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.10'
|
python-version: '3.11'
|
||||||
- name: 'Fetch build-release.py'
|
- name: 'Fetch build-release.py'
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
@@ -540,12 +559,11 @@ jobs:
|
|||||||
- name: 'Build Android prefab binary archive(s)'
|
- name: 'Build Android prefab binary archive(s)'
|
||||||
id: releaser
|
id: releaser
|
||||||
run: |
|
run: |
|
||||||
python build-scripts/build-release.py \
|
python build-scripts/build-release.py \
|
||||||
--create android \
|
--actions android \
|
||||||
--commit ${{ inputs.commit }} \
|
--commit ${{ inputs.commit }} \
|
||||||
--project SDL3 \
|
--root "${{ steps.tar.outputs.path }}" \
|
||||||
--root "${{ steps.tar.outputs.path }}" \
|
--github \
|
||||||
--github \
|
|
||||||
--debug
|
--debug
|
||||||
- name: 'Store Android archive(s)'
|
- name: 'Store Android archive(s)'
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
@@ -560,7 +578,7 @@ jobs:
|
|||||||
- name: 'Set up Python'
|
- name: 'Set up Python'
|
||||||
uses: actions/setup-python@v5
|
uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: '3.10'
|
python-version: '3.11'
|
||||||
- uses: actions/setup-java@v4
|
- uses: actions/setup-java@v4
|
||||||
with:
|
with:
|
||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
@@ -581,6 +599,31 @@ jobs:
|
|||||||
mkdir -p /tmp/tardir
|
mkdir -p /tmp/tardir
|
||||||
tar -C /tmp/tardir -v -x -f "${{ github.workspace }}/${{ needs.src.outputs.src-tar-gz }}"
|
tar -C /tmp/tardir -v -x -f "${{ github.workspace }}/${{ needs.src.outputs.src-tar-gz }}"
|
||||||
echo "path=/tmp/tardir/${{ needs.src.outputs.project }}-${{ needs.src.outputs.version }}" >>$GITHUB_OUTPUT
|
echo "path=/tmp/tardir/${{ needs.src.outputs.project }}-${{ needs.src.outputs.version }}" >>$GITHUB_OUTPUT
|
||||||
|
- name: 'Extract Android SDK from AAR'
|
||||||
|
id: sdk
|
||||||
|
run: |
|
||||||
|
cd /tmp
|
||||||
|
unzip "${{ github.workspace }}/${{ needs.android.outputs.android-aar }}"
|
||||||
|
python "${{ needs.src.outputs.project }}-${{ needs.src.outputs.version }}.aar" -o /tmp/SDL3-android
|
||||||
|
echo "prefix=/tmp/SDL3-android" >>$GITHUB_OUTPUT
|
||||||
|
echo "sdl3-aar=/tmp/${{ needs.src.outputs.project }}-${{ needs.src.outputs.version }}.aar" >>$GITHUB_OUTPUT
|
||||||
|
- name: 'CMake (configure + build) x86, x64, arm32, arm64'
|
||||||
|
run: |
|
||||||
|
android_abis="x86 x86_64 armeabi-v7a arm64-v8a"
|
||||||
|
for android_abi in ${android_abis}; do
|
||||||
|
echo "Configuring ${android_abi}..."
|
||||||
|
cmake -S "${{ steps.src.outputs.path }}/cmake/test" \
|
||||||
|
-DTEST_FULL=TRUE \
|
||||||
|
-DTEST_STATIC=FALSE \
|
||||||
|
-DTEST_TEST=TRUE \
|
||||||
|
-DCMAKE_PREFIX_PATH="${{ steps.sdk.outputs.prefix }}" \
|
||||||
|
-DCMAKE_TOOLCHAIN_FILE=${ANDROID_NDK_HOME}/build/cmake/android.toolchain.cmake \
|
||||||
|
-DANDROID_ABI=${android_abi} \
|
||||||
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
|
-B "${android_abi}"
|
||||||
|
echo "Building ${android_abi}..."
|
||||||
|
cmake --build "${android_abi}" --config Release --verbose
|
||||||
|
done
|
||||||
- name: 'Create gradle project'
|
- name: 'Create gradle project'
|
||||||
id: create-gradle-project
|
id: create-gradle-project
|
||||||
run: |
|
run: |
|
||||||
@@ -591,47 +634,19 @@ jobs:
|
|||||||
--variant aar \
|
--variant aar \
|
||||||
--output "/tmp/projects"
|
--output "/tmp/projects"
|
||||||
echo "path=/tmp/projects/org.libsdl.testspriteminimal" >>$GITHUB_OUTPUT
|
echo "path=/tmp/projects/org.libsdl.testspriteminimal" >>$GITHUB_OUTPUT
|
||||||
|
|
||||||
echo ""
|
|
||||||
echo "Project contents:"
|
|
||||||
echo ""
|
|
||||||
find "/tmp/projects/org.libsdl.testspriteminimal"
|
|
||||||
- name: 'Copy SDL3 aar into Gradle project'
|
- name: 'Copy SDL3 aar into Gradle project'
|
||||||
run: |
|
run: |
|
||||||
cp "${{ github.workspace }}/${{ needs.android.outputs.android-aar }}" "${{ steps.create-gradle-project.outputs.path }}/app/libs"
|
cp "${{ steps.sdk.outputs.sdl3-aar }}" "${{ steps.create-gradle-project.outputs.path }}/app/libs"
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
echo "Project contents:"
|
echo "Project contents:"
|
||||||
echo ""
|
echo ""
|
||||||
find "${{ steps.create-gradle-project.outputs.path }}"
|
find "${{ steps.create-gradle-project.outputs.path }}"
|
||||||
- name: 'Build app (Gradle & ndk-build)'
|
|
||||||
run: |
|
|
||||||
cd "${{ steps.create-gradle-project.outputs.path }}"
|
|
||||||
./gradlew -i assembleRelease -PBUILD_WITH_CMAKE=1
|
|
||||||
- name: 'Build app (Gradle & CMake)'
|
- name: 'Build app (Gradle & CMake)'
|
||||||
run: |
|
run: |
|
||||||
cd "${{ steps.create-gradle-project.outputs.path }}"
|
cd "${{ steps.create-gradle-project.outputs.path }}"
|
||||||
./gradlew -i assembleRelease
|
./gradlew -i assembleRelease -Pandroid.native.buildOutput=verbose -PBUILD_WITH_CMAKE=1
|
||||||
- name: 'Extract Android SDK from AAR'
|
- name: 'Build app (Gradle & ndk-build)'
|
||||||
id: sdk
|
|
||||||
run: |
|
run: |
|
||||||
python "${{ github.workspace }}/${{ needs.android.outputs.android-aar }}" -o /tmp/SDL3-android
|
cd "${{ steps.create-gradle-project.outputs.path }}"
|
||||||
echo "prefix=/tmp/SDL3-android" >>$GITHUB_OUTPUT
|
./gradlew -i assembleRelease -Pandroid.native.buildOutput=verbose
|
||||||
- name: 'CMake (configure + build) x86, x64, arm32, arm64'
|
|
||||||
run: |
|
|
||||||
android_abis="x86 x86_64 armeabi-v7a arm64-v8a"
|
|
||||||
for android_abi in ${android_abis}; do
|
|
||||||
echo "Configuring ${android_abi}..."
|
|
||||||
cmake -S "${{ steps.src.outputs.path }}/cmake/test" \
|
|
||||||
-DTEST_FULL=TRUE \
|
|
||||||
-DTEST_STATIC=FALSE \
|
|
||||||
-DTEST_TEST=TRUE \
|
|
||||||
-DCMAKE_PREFIX_PATH="${{ steps.sdk.outputs.prefix }}" \
|
|
||||||
-DCMAKE_TOOLCHAIN_FILE=${ANDROID_NDK_HOME}/build/cmake/android.toolchain.cmake \
|
|
||||||
-DANDROID_ABI=${android_abi} \
|
|
||||||
-Werror=dev \
|
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
|
||||||
-B "${android_abi}"
|
|
||||||
echo "Building ${android_abi}..."
|
|
||||||
cmake --build "${android_abi}" --config Release --verbose
|
|
||||||
done
|
|
||||||
+16
-4
@@ -29,15 +29,27 @@ __pycache__
|
|||||||
*.rej
|
*.rej
|
||||||
|
|
||||||
# for CMake
|
# for CMake
|
||||||
|
.cmake
|
||||||
CMakeFiles/
|
CMakeFiles/
|
||||||
CMakeCache.txt
|
CMakeCache.txt
|
||||||
cmake_install.cmake
|
cmake_install.cmake
|
||||||
cmake_uninstall.cmake
|
cmake_uninstall.cmake
|
||||||
SDL3ConfigVersion.cmake
|
install_manifest.txt
|
||||||
.ninja_*
|
*Targets.cmake
|
||||||
*.ninja
|
*Config.cmake
|
||||||
|
*ConfigVersion.cmake
|
||||||
|
CTestTestfile.cmake
|
||||||
|
Testing
|
||||||
compile_commands.json
|
compile_commands.json
|
||||||
.cache/
|
.cache/
|
||||||
|
/include-config-*
|
||||||
|
/include-revision
|
||||||
|
/Makefile
|
||||||
|
.ninja_*
|
||||||
|
*.ninja
|
||||||
|
*.pc
|
||||||
|
test/*.test
|
||||||
|
wayland-generated-protocols
|
||||||
|
|
||||||
# for CLion
|
# for CLion
|
||||||
.idea
|
.idea
|
||||||
@@ -51,6 +63,7 @@ cmake-build-*
|
|||||||
.DS_Store
|
.DS_Store
|
||||||
xcuserdata
|
xcuserdata
|
||||||
*.xcworkspace
|
*.xcworkspace
|
||||||
|
Xcode/build.xcconfig
|
||||||
|
|
||||||
# for Visual Studio Code
|
# for Visual Studio Code
|
||||||
.vscode/
|
.vscode/
|
||||||
@@ -85,7 +98,6 @@ src/render/direct3d12/D3D12_*_One.h
|
|||||||
src/render/direct3d12/D3D12_*_Series.h
|
src/render/direct3d12/D3D12_*_Series.h
|
||||||
src/gpu/d3d12/D3D12_*_One.h
|
src/gpu/d3d12/D3D12_*_One.h
|
||||||
src/gpu/d3d12/D3D12_*_Series.h
|
src/gpu/d3d12/D3D12_*_Series.h
|
||||||
Directory.Build.props
|
|
||||||
|
|
||||||
# for Android
|
# for Android
|
||||||
android-project/local.properties
|
android-project/local.properties
|
||||||
|
|||||||
+10
-1
@@ -3,7 +3,7 @@ projectshortname = SDL
|
|||||||
incsubdir = include/SDL3
|
incsubdir = include/SDL3
|
||||||
wikisubdir =
|
wikisubdir =
|
||||||
readmesubdir = docs
|
readmesubdir = docs
|
||||||
apiprefixregex = (SDL_|SDLK_)
|
apiprefixregex = (SDL_|SDLK_|[US]int\d+)
|
||||||
mainincludefname = SDL3/SDL.h
|
mainincludefname = SDL3/SDL.h
|
||||||
versionfname = include/SDL3/SDL_version.h
|
versionfname = include/SDL3/SDL_version.h
|
||||||
versionmajorregex = \A\#define\s+SDL_MAJOR_VERSION\s+(\d+)\Z
|
versionmajorregex = \A\#define\s+SDL_MAJOR_VERSION\s+(\d+)\Z
|
||||||
@@ -16,8 +16,17 @@ bugreporturl = https://github.com/libsdl-org/sdlwiki/issues/new
|
|||||||
warn_about_missing = 0
|
warn_about_missing = 0
|
||||||
wikipreamble = (This is the documentation for SDL3, which is the current stable version. [SDL2](https://wiki.libsdl.org/SDL2/) was the previous version!)
|
wikipreamble = (This is the documentation for SDL3, which is the current stable version. [SDL2](https://wiki.libsdl.org/SDL2/) was the previous version!)
|
||||||
wikiheaderfiletext = Defined in [<SDL3/%fname%>](https://github.com/libsdl-org/SDL/blob/main/include/SDL3/%fname%)
|
wikiheaderfiletext = Defined in [<SDL3/%fname%>](https://github.com/libsdl-org/SDL/blob/main/include/SDL3/%fname%)
|
||||||
|
|
||||||
manpageheaderfiletext = Defined in SDL3/%fname%
|
manpageheaderfiletext = Defined in SDL3/%fname%
|
||||||
|
manpagesymbolfilterregex = \A[US]int\d+\Z
|
||||||
|
|
||||||
# All SDL_test_* headers become undefined categories, everything else just converts like SDL_audio.h -> Audio
|
# All SDL_test_* headers become undefined categories, everything else just converts like SDL_audio.h -> Audio
|
||||||
# A handful of others we fix up in the header itself with /* WIKI CATEGORY: x */ comments.
|
# A handful of others we fix up in the header itself with /* WIKI CATEGORY: x */ comments.
|
||||||
headercategoryeval = s/\ASDL_test_?.*?\.h\Z//; s/\ASDL_?(.*?)\.h\Z/$1/; ucfirst();
|
headercategoryeval = s/\ASDL_test_?.*?\.h\Z//; s/\ASDL_?(.*?)\.h\Z/$1/; ucfirst();
|
||||||
|
|
||||||
|
quickrefenabled = 1
|
||||||
|
quickrefcategoryorder = Init,Hints,Error,Version,Properties,Log,Video,Events,Keyboard,Mouse,Touch,Gamepad,Joystick,Haptic,Audio,Time,Timer,Render,SharedObject,Thread,Mutex,Atomic,Filesystem,IOStream,AsyncIO,Storage,Pixels,Surface,Blendmode,Rect,Camera,Clipboard,Dialog,GPU,Messagebox,Vulkan,Metal,Platform,Power,Sensor,Process,Bits,Endian,Assert,CPUInfo,Intrinsics,Locale,System,Misc,GUID,Main,Stdinc
|
||||||
|
quickreftitle = SDL3 API Quick Reference
|
||||||
|
quickrefurl = https://libsdl.org/
|
||||||
|
quickrefdesc = The latest version of this document can be found at https://wiki.libsdl.org/SDL3/QuickReference
|
||||||
|
quickrefmacroregex = \A(SDL_PLATFORM_.*|SDL_.*_INTRINSICS|SDL_Atomic...Ref|SDL_assert.*?|SDL_COMPILE_TIME_ASSERT|SDL_arraysize|SDL_Swap[BL]E\d\d|SDL_[a-z]+_cast)\Z
|
||||||
+5
-1
@@ -30,11 +30,13 @@ LOCAL_SRC_FILES := \
|
|||||||
$(wildcard $(LOCAL_PATH)/src/core/*.c) \
|
$(wildcard $(LOCAL_PATH)/src/core/*.c) \
|
||||||
$(wildcard $(LOCAL_PATH)/src/core/android/*.c) \
|
$(wildcard $(LOCAL_PATH)/src/core/android/*.c) \
|
||||||
$(wildcard $(LOCAL_PATH)/src/cpuinfo/*.c) \
|
$(wildcard $(LOCAL_PATH)/src/cpuinfo/*.c) \
|
||||||
|
$(LOCAL_PATH)/src/dialog/SDL_dialog.c \
|
||||||
$(LOCAL_PATH)/src/dialog/SDL_dialog_utils.c \
|
$(LOCAL_PATH)/src/dialog/SDL_dialog_utils.c \
|
||||||
$(LOCAL_PATH)/src/dialog/android/SDL_androiddialog.c \
|
$(LOCAL_PATH)/src/dialog/android/SDL_androiddialog.c \
|
||||||
$(wildcard $(LOCAL_PATH)/src/dynapi/*.c) \
|
$(wildcard $(LOCAL_PATH)/src/dynapi/*.c) \
|
||||||
$(wildcard $(LOCAL_PATH)/src/events/*.c) \
|
$(wildcard $(LOCAL_PATH)/src/events/*.c) \
|
||||||
$(wildcard $(LOCAL_PATH)/src/file/*.c) \
|
$(wildcard $(LOCAL_PATH)/src/io/*.c) \
|
||||||
|
$(wildcard $(LOCAL_PATH)/src/io/generic/*.c) \
|
||||||
$(wildcard $(LOCAL_PATH)/src/gpu/*.c) \
|
$(wildcard $(LOCAL_PATH)/src/gpu/*.c) \
|
||||||
$(wildcard $(LOCAL_PATH)/src/gpu/vulkan/*.c) \
|
$(wildcard $(LOCAL_PATH)/src/gpu/vulkan/*.c) \
|
||||||
$(wildcard $(LOCAL_PATH)/src/haptic/*.c) \
|
$(wildcard $(LOCAL_PATH)/src/haptic/*.c) \
|
||||||
@@ -76,6 +78,8 @@ LOCAL_SRC_FILES := \
|
|||||||
$(wildcard $(LOCAL_PATH)/src/time/unix/*.c) \
|
$(wildcard $(LOCAL_PATH)/src/time/unix/*.c) \
|
||||||
$(wildcard $(LOCAL_PATH)/src/timer/*.c) \
|
$(wildcard $(LOCAL_PATH)/src/timer/*.c) \
|
||||||
$(wildcard $(LOCAL_PATH)/src/timer/unix/*.c) \
|
$(wildcard $(LOCAL_PATH)/src/timer/unix/*.c) \
|
||||||
|
$(wildcard $(LOCAL_PATH)/src/tray/dummy/*.c) \
|
||||||
|
$(wildcard $(LOCAL_PATH)/src/tray/*.c) \
|
||||||
$(wildcard $(LOCAL_PATH)/src/video/*.c) \
|
$(wildcard $(LOCAL_PATH)/src/video/*.c) \
|
||||||
$(wildcard $(LOCAL_PATH)/src/video/android/*.c) \
|
$(wildcard $(LOCAL_PATH)/src/video/android/*.c) \
|
||||||
$(wildcard $(LOCAL_PATH)/src/video/yuv2rgb/*.c))
|
$(wildcard $(LOCAL_PATH)/src/video/yuv2rgb/*.c))
|
||||||
|
|||||||
@@ -1,16 +1,19 @@
|
|||||||
|
|
||||||
Bugs are now managed in the SDL issue tracker, here:
|
Bugs are now managed in the SDL issue tracker, here:
|
||||||
|
|
||||||
https://github.com/libsdl-org/SDL/issues
|
https://github.com/libsdl-org/SDL/issues
|
||||||
|
|
||||||
You may report bugs there, and search to see if a given issue has already
|
You may report bugs there, and search to see if a given issue has already
|
||||||
been reported, discussed, and maybe even fixed.
|
been reported, discussed, and maybe even fixed.
|
||||||
|
|
||||||
|
|
||||||
You may also find help at the SDL forums/mailing list:
|
You may also find help at the SDL forums/mailing list:
|
||||||
|
|
||||||
https://discourse.libsdl.org/
|
https://discourse.libsdl.org/
|
||||||
|
|
||||||
Bug reports are welcome here, but we really appreciate if you use the issue
|
or on Discord:
|
||||||
tracker, as bugs discussed on the mailing list may be forgotten or missed.
|
|
||||||
|
https://discord.com/invite/BwpFGBWsv8
|
||||||
|
|
||||||
|
Bug reports are welcome here, but we really appreciate if you use the issue tracker, as bugs discussed on the mailing list or Discord may be forgotten or missed.
|
||||||
|
|
||||||
+184
-91
@@ -1,16 +1,33 @@
|
|||||||
cmake_minimum_required(VERSION 3.16)
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
|
||||||
if(CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_CURRENT_BINARY_DIR)
|
if(NOT DEFINED CMAKE_BUILD_TYPE)
|
||||||
message(FATAL_ERROR "Prevented in-tree build. Please create a build directory outside of the SDL source code and run \"cmake -S ${CMAKE_SOURCE_DIR} -B .\" from there")
|
set(cmake_build_type_undefined 1)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# See docs/release_checklist.md
|
# See docs/release_checklist.md
|
||||||
project(SDL3 LANGUAGES C VERSION "3.1.3")
|
project(SDL3 LANGUAGES C VERSION "3.2.0")
|
||||||
|
|
||||||
if(CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR)
|
if(CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR)
|
||||||
set(SDL3_SUBPROJECT OFF)
|
set(SDL3_MAINPROJECT ON)
|
||||||
else()
|
else()
|
||||||
set(SDL3_SUBPROJECT ON)
|
set(SDL3_MAINPROJECT OFF)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# By default, configure SDL3 in RelWithDebInfo configuration
|
||||||
|
if(SDL3_MAINPROJECT)
|
||||||
|
get_property(is_multi_config GLOBAL PROPERTY GENERATOR_IS_MULTI_CONFIG)
|
||||||
|
if(is_multi_config)
|
||||||
|
# The first item in CMAKE_CONFIGURATION_TYPES is the default configuration
|
||||||
|
if(DEFINED CMAKE_CONFIGURATION_TYPES AND "RelWithDebInfo" IN_LIST CMAKE_CONFIGURATION_TYPES)
|
||||||
|
list(REMOVE_ITEM CMAKE_CONFIGURATION_TYPES "RelWithDebInfo")
|
||||||
|
list(INSERT CMAKE_CONFIGURATION_TYPES 0 "RelWithDebInfo")
|
||||||
|
set(CMAKE_CONFIGURATION_TYPES "${CMAKE_CONFIGURATION_TYPES}" CACHE STRING "CMake configuration types" FORCE)
|
||||||
|
endif()
|
||||||
|
else()
|
||||||
|
if(cmake_build_type_undefined)
|
||||||
|
set(CMAKE_BUILD_TYPE "RelWithDebInfo" CACHE STRING "CMake build type" FORCE)
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# CMake 3.0 expands the "if(${A})" in "set(OFF 1);set(A OFF);if(${A})" to "if(1)"
|
# CMake 3.0 expands the "if(${A})" in "set(OFF 1);set(A OFF);if(${A})" to "if(1)"
|
||||||
@@ -155,6 +172,11 @@ if(WINDOWS OR MACOS OR IOS OR TVOS OR VISIONOS OR WATCHOS)
|
|||||||
set(SDL_SYSTEM_ICONV_DEFAULT OFF)
|
set(SDL_SYSTEM_ICONV_DEFAULT OFF)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
set(SDL_RELOCATABLE_DEFAULT OFF)
|
||||||
|
if(MSVC)
|
||||||
|
set(SDL_RELOCATABLE_DEFAULT ON)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
if(NOT SDL_LIBC)
|
if(NOT SDL_LIBC)
|
||||||
# Make sure /RTC1 is disabled, otherwise it will use functions from the CRT
|
# Make sure /RTC1 is disabled, otherwise it will use functions from the CRT
|
||||||
@@ -259,14 +281,20 @@ if(COMMAND SDL_Preseed_CMakeCache)
|
|||||||
set(SDL_PRESEED_AVAILABLE ON)
|
set(SDL_PRESEED_AVAILABLE ON)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Allow some projects to be built conditionally.
|
set(SDL_X11_XRANDR_DEFAULT ON)
|
||||||
set_option(SDL_DISABLE_INSTALL "Disable installation of SDL3" ${SDL3_SUBPROJECT})
|
if(SOLARIS)
|
||||||
cmake_dependent_option(SDL_DISABLE_INSTALL_CPACK "Create binary SDL3 archive using CPack" ${SDL3_SUBPROJECT} "NOT SDL_DISABLE_INSTALL" ON)
|
set(SDL_X11_XRANDR_DEFAULT OFF)
|
||||||
cmake_dependent_option(SDL_DISABLE_INSTALL_DOCS "Install docs for SDL3" ON "NOT SDL_DISABLE_INSTALL;NOT SDL_FRAMEWORK" ON)
|
endif()
|
||||||
set_option(SDL_DISABLE_UNINSTALL "Disable uninstallation of SDL3" OFF)
|
|
||||||
cmake_dependent_option(SDL_PRESEED "Preseed CMake cache to speed up configuration" ON "${SDL_PRESEED_AVAILABLE}" OFF)
|
|
||||||
|
|
||||||
cmake_dependent_option(SDL_DISABLE_ANDROID_JAR "Disable creation of SDL3.jar" ${SDL3_SUBPROJECT} "ANDROID" ON)
|
# Allow some projects to be built conditionally.
|
||||||
|
set_option(SDL_INSTALL "Enable installation of SDL3" ${SDL3_MAINPROJECT})
|
||||||
|
cmake_dependent_option(SDL_INSTALL_CPACK "Create binary SDL3 archive using CPack" ${SDL3_MAINPROJECT} "SDL_INSTALL" ON)
|
||||||
|
cmake_dependent_option(SDL_INSTALL_DOCS "Install docs for SDL3" OFF "SDL_INSTALL;NOT SDL_FRAMEWORK" ON)
|
||||||
|
set_option(SDL_UNINSTALL "Enable uninstallation of SDL3" ${SDL3_MAINPROJECT})
|
||||||
|
cmake_dependent_option(SDL_PRESEED "Preseed CMake cache to speed up configuration" ON "${SDL_PRESEED_AVAILABLE}" OFF)
|
||||||
|
cmake_dependent_option(SDL_RELOCATABLE "Create relocatable SDL package" ${SDL_RELOCATABLE_DEFAULT} "SDL_INSTALL" OFF)
|
||||||
|
|
||||||
|
cmake_dependent_option(SDL_ANDROID_JAR "Enable creation of SDL3.jar" ${SDL3_MAINPROJECT} "ANDROID" ON)
|
||||||
|
|
||||||
option_string(SDL_ASSERTIONS "Enable internal sanity checks (auto/disabled/release/enabled/paranoid)" "auto")
|
option_string(SDL_ASSERTIONS "Enable internal sanity checks (auto/disabled/release/enabled/paranoid)" "auto")
|
||||||
set_option(SDL_ASSEMBLY "Enable assembly routines" ${SDL_ASSEMBLY_DEFAULT})
|
set_option(SDL_ASSEMBLY "Enable assembly routines" ${SDL_ASSEMBLY_DEFAULT})
|
||||||
@@ -280,7 +308,6 @@ dep_option(SDL_SSE4_1 "Use SSE4.1 assembly routines" ON "SDL_ASSEMB
|
|||||||
dep_option(SDL_SSE4_2 "Use SSE4.2 assembly routines" ON "SDL_ASSEMBLY;SDL_CPU_X86 OR SDL_CPU_X64" OFF)
|
dep_option(SDL_SSE4_2 "Use SSE4.2 assembly routines" ON "SDL_ASSEMBLY;SDL_CPU_X86 OR SDL_CPU_X64" OFF)
|
||||||
dep_option(SDL_MMX "Use MMX assembly routines" ON "SDL_ASSEMBLY;SDL_CPU_X86 OR SDL_CPU_X64" OFF)
|
dep_option(SDL_MMX "Use MMX assembly routines" ON "SDL_ASSEMBLY;SDL_CPU_X86 OR SDL_CPU_X64" OFF)
|
||||||
dep_option(SDL_ALTIVEC "Use Altivec assembly routines" ON "SDL_ASSEMBLY;SDL_CPU_POWERPC32 OR SDL_CPU_POWERPC64" OFF)
|
dep_option(SDL_ALTIVEC "Use Altivec assembly routines" ON "SDL_ASSEMBLY;SDL_CPU_POWERPC32 OR SDL_CPU_POWERPC64" OFF)
|
||||||
dep_option(SDL_ARMSIMD "Use SIMD assembly blitters on ARM" OFF "SDL_ASSEMBLY;SDL_CPU_ARM32" OFF)
|
|
||||||
dep_option(SDL_ARMNEON "Use NEON assembly routines" ON "SDL_ASSEMBLY;SDL_CPU_ARM32 OR SDL_CPU_ARM64" OFF)
|
dep_option(SDL_ARMNEON "Use NEON assembly routines" ON "SDL_ASSEMBLY;SDL_CPU_ARM32 OR SDL_CPU_ARM64" OFF)
|
||||||
dep_option(SDL_LSX "Use LSX assembly routines" ON "SDL_ASSEMBLY;SDL_CPU_LOONGARCH64" OFF)
|
dep_option(SDL_LSX "Use LSX assembly routines" ON "SDL_ASSEMBLY;SDL_CPU_LOONGARCH64" OFF)
|
||||||
dep_option(SDL_LASX "Use LASX assembly routines" ON "SDL_ASSEMBLY;SDL_CPU_LOONGARCH64" OFF)
|
dep_option(SDL_LASX "Use LASX assembly routines" ON "SDL_ASSEMBLY;SDL_CPU_LOONGARCH64" OFF)
|
||||||
@@ -290,6 +317,7 @@ set_option(SDL_SYSTEM_ICONV "Use iconv() from system-installed libraries"
|
|||||||
set_option(SDL_LIBICONV "Prefer iconv() from libiconv, if available, over libc version" OFF)
|
set_option(SDL_LIBICONV "Prefer iconv() from libiconv, if available, over libc version" OFF)
|
||||||
set_option(SDL_GCC_ATOMICS "Use gcc builtin atomics" ${SDL_GCC_ATOMICS_DEFAULT})
|
set_option(SDL_GCC_ATOMICS "Use gcc builtin atomics" ${SDL_GCC_ATOMICS_DEFAULT})
|
||||||
dep_option(SDL_DBUS "Enable D-Bus support" ON "${UNIX_SYS}" OFF)
|
dep_option(SDL_DBUS "Enable D-Bus support" ON "${UNIX_SYS}" OFF)
|
||||||
|
dep_option(SDL_LIBURING "Enable liburing support" ON "${UNIX_SYS}" OFF)
|
||||||
dep_option(SDL_DISKAUDIO "Support the disk writer audio driver" ON "SDL_AUDIO" OFF)
|
dep_option(SDL_DISKAUDIO "Support the disk writer audio driver" ON "SDL_AUDIO" OFF)
|
||||||
dep_option(SDL_DUMMYAUDIO "Support the dummy audio driver" ON "SDL_AUDIO" OFF)
|
dep_option(SDL_DUMMYAUDIO "Support the dummy audio driver" ON "SDL_AUDIO" OFF)
|
||||||
dep_option(SDL_DUMMYVIDEO "Use dummy video driver" ON "SDL_VIDEO" OFF)
|
dep_option(SDL_DUMMYVIDEO "Use dummy video driver" ON "SDL_VIDEO" OFF)
|
||||||
@@ -313,11 +341,14 @@ set_option(SDL_RPATH "Use an rpath when linking SDL" ${SDL_RPATH_D
|
|||||||
set_option(SDL_CLOCK_GETTIME "Use clock_gettime() instead of gettimeofday()" ${SDL_CLOCK_GETTIME_DEFAULT})
|
set_option(SDL_CLOCK_GETTIME "Use clock_gettime() instead of gettimeofday()" ${SDL_CLOCK_GETTIME_DEFAULT})
|
||||||
dep_option(SDL_X11 "Use X11 video driver" ${UNIX_SYS} "SDL_VIDEO" OFF)
|
dep_option(SDL_X11 "Use X11 video driver" ${UNIX_SYS} "SDL_VIDEO" OFF)
|
||||||
dep_option(SDL_X11_SHARED "Dynamically load X11 support" ON "SDL_X11" OFF)
|
dep_option(SDL_X11_SHARED "Dynamically load X11 support" ON "SDL_X11" OFF)
|
||||||
set(SDL_X11_OPTIONS Xcursor Xdbe XInput Xfixes Xrandr Xscrnsaver XShape)
|
dep_option(SDL_X11_XCURSOR "Enable Xcursor support" ON SDL_X11 OFF)
|
||||||
foreach(_SUB ${SDL_X11_OPTIONS})
|
dep_option(SDL_X11_XDBE "Enable Xdbe support" ON SDL_X11 OFF)
|
||||||
string(TOUPPER "SDL_X11_${_SUB}" _OPT)
|
dep_option(SDL_X11_XINPUT "Enable XInput support" ON SDL_X11 OFF)
|
||||||
dep_option(${_OPT} "Enable ${_SUB} support" ON "SDL_X11" OFF)
|
dep_option(SDL_X11_XFIXES "Enable Xfixes support" ON SDL_X11 OFF)
|
||||||
endforeach()
|
dep_option(SDL_X11_XRANDR "Enable Xrandr support" "${SDL_X11_XRANDR_DEFAULT}" SDL_X11 OFF)
|
||||||
|
dep_option(SDL_X11_XSCRNSAVER "Enable Xscrnsaver support" ON SDL_X11 OFF)
|
||||||
|
dep_option(SDL_X11_XSHAPE "Enable XShape support" ON SDL_X11 OFF)
|
||||||
|
dep_option(SDL_X11_XSYNC "Enable Xsync support" ON SDL_X11 OFF)
|
||||||
dep_option(SDL_WAYLAND "Use Wayland video driver" ${UNIX_SYS} "SDL_VIDEO" OFF)
|
dep_option(SDL_WAYLAND "Use Wayland video driver" ${UNIX_SYS} "SDL_VIDEO" OFF)
|
||||||
dep_option(SDL_WAYLAND_SHARED "Dynamically load Wayland support" ON "SDL_WAYLAND" OFF)
|
dep_option(SDL_WAYLAND_SHARED "Dynamically load Wayland support" ON "SDL_WAYLAND" OFF)
|
||||||
dep_option(SDL_WAYLAND_LIBDECOR "Use client-side window decorations on Wayland" ON "SDL_WAYLAND" OFF)
|
dep_option(SDL_WAYLAND_LIBDECOR "Use client-side window decorations on Wayland" ON "SDL_WAYLAND" OFF)
|
||||||
@@ -337,6 +368,7 @@ dep_option(SDL_VIVANTE "Use Vivante EGL video driver" ON "${UNIX_SYS
|
|||||||
dep_option(SDL_VULKAN "Enable Vulkan support" ON "SDL_VIDEO;ANDROID OR APPLE OR LINUX OR FREEBSD OR WINDOWS" OFF)
|
dep_option(SDL_VULKAN "Enable Vulkan support" ON "SDL_VIDEO;ANDROID OR APPLE OR LINUX OR FREEBSD OR WINDOWS" OFF)
|
||||||
dep_option(SDL_RENDER_VULKAN "Enable the Vulkan render driver" ON "SDL_RENDER;SDL_VULKAN" OFF)
|
dep_option(SDL_RENDER_VULKAN "Enable the Vulkan render driver" ON "SDL_RENDER;SDL_VULKAN" OFF)
|
||||||
dep_option(SDL_METAL "Enable Metal support" ON "APPLE" OFF)
|
dep_option(SDL_METAL "Enable Metal support" ON "APPLE" OFF)
|
||||||
|
set_option(SDL_OPENVR "Use OpenVR video driver" OFF)
|
||||||
dep_option(SDL_KMSDRM "Use KMS DRM video driver" ${UNIX_SYS} "SDL_VIDEO" OFF)
|
dep_option(SDL_KMSDRM "Use KMS DRM video driver" ${UNIX_SYS} "SDL_VIDEO" OFF)
|
||||||
dep_option(SDL_KMSDRM_SHARED "Dynamically load KMS DRM support" ON "SDL_KMSDRM" OFF)
|
dep_option(SDL_KMSDRM_SHARED "Dynamically load KMS DRM support" ON "SDL_KMSDRM" OFF)
|
||||||
set_option(SDL_OFFSCREEN "Use offscreen video driver" ON)
|
set_option(SDL_OFFSCREEN "Use offscreen video driver" ON)
|
||||||
@@ -361,7 +393,7 @@ cmake_dependent_option(SDL_STATIC "Build a static version of the library" ${SDL_
|
|||||||
option(SDL_TEST_LIBRARY "Build the SDL3_test library" ON)
|
option(SDL_TEST_LIBRARY "Build the SDL3_test library" ON)
|
||||||
|
|
||||||
dep_option(SDL_TESTS "Build the test directory" OFF SDL_TEST_LIBRARY OFF)
|
dep_option(SDL_TESTS "Build the test directory" OFF SDL_TEST_LIBRARY OFF)
|
||||||
dep_option(SDL_INSTALL_TESTS "Install test-cases" OFF "NOT SDL_DISABLE_INSTALL;NOT SDL_FRAMEWORK" OFF)
|
dep_option(SDL_INSTALL_TESTS "Install test-cases" OFF "SDL_INSTALL;NOT SDL_FRAMEWORK" OFF)
|
||||||
dep_option(SDL_TESTS_LINK_SHARED "link tests to shared SDL library" "${SDL_SHARED}" "SDL_SHARED;SDL_STATIC" "${SDL_SHARED}")
|
dep_option(SDL_TESTS_LINK_SHARED "link tests to shared SDL library" "${SDL_SHARED}" "SDL_SHARED;SDL_STATIC" "${SDL_SHARED}")
|
||||||
set(SDL_TESTS_TIMEOUT_MULTIPLIER "1" CACHE STRING "Timeout multiplier to account for really slow machines")
|
set(SDL_TESTS_TIMEOUT_MULTIPLIER "1" CACHE STRING "Timeout multiplier to account for really slow machines")
|
||||||
|
|
||||||
@@ -455,7 +487,7 @@ sdl_compile_definitions(PRIVATE "USING_GENERATED_CONFIG_H")
|
|||||||
sdl_include_directories(
|
sdl_include_directories(
|
||||||
PRIVATE
|
PRIVATE
|
||||||
"${SDL3_BINARY_DIR}/include-config-$<LOWER_CASE:$<CONFIG>>/build_config"
|
"${SDL3_BINARY_DIR}/include-config-$<LOWER_CASE:$<CONFIG>>/build_config"
|
||||||
"${SDL3_BINARY_DIR}/include"
|
"${SDL3_BINARY_DIR}/include-revision"
|
||||||
"${SDL3_SOURCE_DIR}/include"
|
"${SDL3_SOURCE_DIR}/include"
|
||||||
)
|
)
|
||||||
# Note: The clang toolset for Visual Studio does not support the '-idirafter' option.
|
# Note: The clang toolset for Visual Studio does not support the '-idirafter' option.
|
||||||
@@ -465,16 +497,21 @@ else()
|
|||||||
sdl_include_directories(NO_EXPORT SYSTEM PRIVATE "$<BUILD_INTERFACE:${SDL3_SOURCE_DIR}/src/video/khronos>")
|
sdl_include_directories(NO_EXPORT SYSTEM PRIVATE "$<BUILD_INTERFACE:${SDL3_SOURCE_DIR}/src/video/khronos>")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(MSVC AND TARGET SDL3-shared)
|
if(MSVC AND TARGET SDL3-shared AND NOT SDL_LIBC)
|
||||||
if(SDL_CPU_X64)
|
if(SDL_CPU_X64)
|
||||||
enable_language(ASM_MASM)
|
enable_language(ASM_MASM)
|
||||||
set(asm_src "${SDL3_SOURCE_DIR}/src/stdlib/SDL_mslibc_x64.masm")
|
set(asm_src "${SDL3_SOURCE_DIR}/src/stdlib/SDL_mslibc_x64.masm")
|
||||||
target_compile_options(SDL3-shared PRIVATE "$<$<COMPILE_LANGUAGE:ASM_MASM>:/nologo>")
|
target_compile_options(SDL3-shared PRIVATE "$<$<COMPILE_LANGUAGE:ASM_MASM>:/nologo>")
|
||||||
set_property(SOURCE "${asm_src}" PROPERTY LANGUAGE "ASM_MASM")
|
set_property(SOURCE "${asm_src}" PROPERTY LANGUAGE "ASM_MASM")
|
||||||
target_sources(SDL3-shared PRIVATE "${asm_src}")
|
target_sources(SDL3-shared PRIVATE "${asm_src}")
|
||||||
elseif(SDL_CPU_ARM32 OR SDL_CPU_ARM64)
|
elseif(SDL_CPU_ARM64)
|
||||||
# FIXME: ARM assembler (armasm.exe/armasm64.exe) is NOT ASM_MASM, and does currently not work with CMake
|
enable_language(ASM_MARMASM)
|
||||||
# (https://gitlab.kitware.com/cmake/cmake/-/issues/18912)
|
set(asm_src "${SDL3_SOURCE_DIR}/src/stdlib/SDL_mslibc_arm64.masm")
|
||||||
|
target_compile_options(SDL3-shared PRIVATE "$<$<COMPILE_LANGUAGE:ASM_MARMASM>:/nologo>")
|
||||||
|
set_property(SOURCE "${asm_src}" PROPERTY LANGUAGE "ASM_MARMASM")
|
||||||
|
target_sources(SDL3-shared PRIVATE "${asm_src}")
|
||||||
|
elseif(SDL_CPU_ARM32)
|
||||||
|
# FIXME
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
@@ -918,7 +955,7 @@ endif()
|
|||||||
set(SDL_DISABLE_ALLOCA 0)
|
set(SDL_DISABLE_ALLOCA 0)
|
||||||
check_include_file("alloca.h" "HAVE_ALLOCA_H")
|
check_include_file("alloca.h" "HAVE_ALLOCA_H")
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
check_include_file("malloc.h" "HAVE_MALLOC")
|
check_include_file("malloc.h" "HAVE_MALLOC_H")
|
||||||
check_symbol_exists("_alloca" "malloc.h" _ALLOCA_IN_MALLOC_H)
|
check_symbol_exists("_alloca" "malloc.h" _ALLOCA_IN_MALLOC_H)
|
||||||
if(NOT HAVE_ALLOCA_H AND NOT _ALLOCA_IN_MALLOC_H)
|
if(NOT HAVE_ALLOCA_H AND NOT _ALLOCA_IN_MALLOC_H)
|
||||||
set(SDL_DISABLE_ALLOCA 1)
|
set(SDL_DISABLE_ALLOCA 1)
|
||||||
@@ -964,15 +1001,15 @@ if(SDL_LIBC)
|
|||||||
set(symbols_to_check
|
set(symbols_to_check
|
||||||
abs acos acosf asin asinf atan atan2 atan2f atanf atof atoi
|
abs acos acosf asin asinf atan atan2 atan2f atanf atof atoi
|
||||||
bcopy
|
bcopy
|
||||||
calloc ceil ceilf copysign copysignf cos cosf
|
ceil ceilf copysign copysignf cos cosf
|
||||||
_Exit exp expf
|
_Exit exp expf
|
||||||
fabs fabsf floor floorf fmod fmodf fopen64 free fseeko fseeko64
|
fabs fabsf floor floorf fmod fmodf fopen64 fseeko fseeko64
|
||||||
getenv
|
getenv
|
||||||
_i64toa index itoa
|
_i64toa index itoa
|
||||||
log log10 log10f logf lround lroundf _ltoa
|
log log10 log10f logf lround lroundf _ltoa
|
||||||
malloc memcmp memcpy memmove memset modf modff
|
malloc memcmp memcpy memmove memset modf modff
|
||||||
pow powf putenv
|
pow powf putenv
|
||||||
realloc rindex round roundf
|
rindex round roundf
|
||||||
scalbn scalbnf setenv sin sinf sqr sqrt sqrtf sscanf strchr
|
scalbn scalbnf setenv sin sinf sqr sqrt sqrtf sscanf strchr
|
||||||
strcmp strlcat strlcpy strlen strncmp strnlen strpbrk
|
strcmp strlcat strlcpy strlen strncmp strnlen strpbrk
|
||||||
strrchr strstr strnstr strtod strtok_r strtol strtoll strtoul strtoull
|
strrchr strstr strnstr strtod strtok_r strtol strtoll strtoul strtoull
|
||||||
@@ -983,7 +1020,7 @@ if(SDL_LIBC)
|
|||||||
)
|
)
|
||||||
if(WINDOWS)
|
if(WINDOWS)
|
||||||
list(APPEND symbols_to_check
|
list(APPEND symbols_to_check
|
||||||
_strrev _ui64toa _uitoa _ultoa _wcsdup
|
_copysign _fseeki64 _strrev _ui64toa _uitoa _ultoa _wcsdup
|
||||||
)
|
)
|
||||||
else()
|
else()
|
||||||
list(APPEND symbols_to_check
|
list(APPEND symbols_to_check
|
||||||
@@ -1042,6 +1079,8 @@ if(SDL_LIBC)
|
|||||||
cmake_pop_check_state()
|
cmake_pop_check_state()
|
||||||
|
|
||||||
if(NOT WINDOWS)
|
if(NOT WINDOWS)
|
||||||
|
check_symbol_exists(fdatasync "unistd.h" HAVE_FDATASYNC)
|
||||||
|
check_symbol_exists(gethostname "unistd.h" HAVE_GETHOSTNAME)
|
||||||
check_symbol_exists(getpagesize "unistd.h" HAVE_GETPAGESIZE)
|
check_symbol_exists(getpagesize "unistd.h" HAVE_GETPAGESIZE)
|
||||||
check_symbol_exists(sigaction "signal.h" HAVE_SIGACTION)
|
check_symbol_exists(sigaction "signal.h" HAVE_SIGACTION)
|
||||||
check_symbol_exists(setjmp "setjmp.h" HAVE_SETJMP)
|
check_symbol_exists(setjmp "setjmp.h" HAVE_SETJMP)
|
||||||
@@ -1119,7 +1158,8 @@ sdl_glob_sources(
|
|||||||
"${SDL3_SOURCE_DIR}/src/cpuinfo/*.c"
|
"${SDL3_SOURCE_DIR}/src/cpuinfo/*.c"
|
||||||
"${SDL3_SOURCE_DIR}/src/dynapi/*.c"
|
"${SDL3_SOURCE_DIR}/src/dynapi/*.c"
|
||||||
"${SDL3_SOURCE_DIR}/src/events/*.c"
|
"${SDL3_SOURCE_DIR}/src/events/*.c"
|
||||||
"${SDL3_SOURCE_DIR}/src/file/*.c"
|
"${SDL3_SOURCE_DIR}/src/io/*.c"
|
||||||
|
"${SDL3_SOURCE_DIR}/src/io/generic/*.c"
|
||||||
"${SDL3_SOURCE_DIR}/src/filesystem/*.c"
|
"${SDL3_SOURCE_DIR}/src/filesystem/*.c"
|
||||||
"${SDL3_SOURCE_DIR}/src/gpu/*.c"
|
"${SDL3_SOURCE_DIR}/src/gpu/*.c"
|
||||||
"${SDL3_SOURCE_DIR}/src/joystick/*.c"
|
"${SDL3_SOURCE_DIR}/src/joystick/*.c"
|
||||||
@@ -1296,7 +1336,6 @@ if(ANDROID)
|
|||||||
set(SDL_JOYSTICK_ANDROID 1)
|
set(SDL_JOYSTICK_ANDROID 1)
|
||||||
sdl_glob_sources(
|
sdl_glob_sources(
|
||||||
"${SDL3_SOURCE_DIR}/src/joystick/android/*.c"
|
"${SDL3_SOURCE_DIR}/src/joystick/android/*.c"
|
||||||
"${SDL3_SOURCE_DIR}/src/joystick/steam/*.c"
|
|
||||||
)
|
)
|
||||||
set(HAVE_SDL_JOYSTICK TRUE)
|
set(HAVE_SDL_JOYSTICK TRUE)
|
||||||
endif()
|
endif()
|
||||||
@@ -1379,7 +1418,7 @@ if(ANDROID)
|
|||||||
set(HAVE_CLOCK_GETTIME 1)
|
set(HAVE_CLOCK_GETTIME 1)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(NOT SDL_DISABLE_ANDROID_JAR)
|
if(SDL_ANDROID_JAR)
|
||||||
find_package(Java)
|
find_package(Java)
|
||||||
find_package(SdlAndroidPlatform MODULE)
|
find_package(SdlAndroidPlatform MODULE)
|
||||||
|
|
||||||
@@ -1409,19 +1448,26 @@ if(ANDROID)
|
|||||||
DEPENDS ${SDL_JAVA_SOURCES}
|
DEPENDS ${SDL_JAVA_SOURCES}
|
||||||
)
|
)
|
||||||
add_custom_target(SDL3-javasources ALL DEPENDS "${javasourcesjar}")
|
add_custom_target(SDL3-javasources ALL DEPENDS "${javasourcesjar}")
|
||||||
if(NOT SDL_DISABLE_INSTALL_DOCS)
|
if(SDL_INSTALL_DOCS)
|
||||||
set(javadocdir "${SDL3_BINARY_DIR}/docs/javadoc")
|
set(javadocdir "${SDL3_BINARY_DIR}/docs/javadoc")
|
||||||
set(javadocjar "${SDL3_BINARY_DIR}/SDL3-${SDL3_VERSION}-javadoc.jar")
|
set(javadocjar "${SDL3_BINARY_DIR}/SDL3-${SDL3_VERSION}-javadoc.jar")
|
||||||
set(javadoc_index_html "${javadocdir}/index.html")
|
set(javadoc_index_html "${javadocdir}/index.html")
|
||||||
add_custom_command(
|
add_custom_command(
|
||||||
OUTPUT "${javadoc_index_html}"
|
OUTPUT "${javadoc_index_html}"
|
||||||
COMMAND ${CMAKE_COMMAND} -E rm -rf "${javadocdir}"
|
COMMAND ${CMAKE_COMMAND} -E rm -rf "${javadocdir}" "${javadocjar}"
|
||||||
COMMAND ${Java_JAVADOC_EXECUTABLE} -encoding utf8 -d "${javadocdir}"
|
COMMAND ${Java_JAVADOC_EXECUTABLE} -encoding utf8 -d "${javadocdir}"
|
||||||
-classpath "${path_android_jar}"
|
-classpath "${path_android_jar}"
|
||||||
-author -use -version ${SDL_JAVA_SOURCES}
|
-author -use -version ${SDL_JAVA_SOURCES}
|
||||||
DEPENDS ${SDL_JAVA_SOURCES} "${path_android_jar}"
|
DEPENDS ${SDL_JAVA_SOURCES} "${path_android_jar}"
|
||||||
)
|
)
|
||||||
add_custom_target(SDL3-javadoc ALL DEPENDS "${javadoc_index_html}")
|
add_custom_command(
|
||||||
|
OUTPUT "${javadocjar}"
|
||||||
|
COMMAND ${Java_JAR_EXECUTABLE} -c -f "${javadocjar}"
|
||||||
|
-C "${javadocdir}" *
|
||||||
|
WORKING_DIRECTORY "${javadocdir}"
|
||||||
|
DEPENDS ${javadoc_index_html}
|
||||||
|
)
|
||||||
|
add_custom_target(SDL3-javadoc ALL DEPENDS "${javadoc_index_html}" "${javadocjar}")
|
||||||
set_property(TARGET SDL3-javadoc PROPERTY OUTPUT_DIR "${javadocdir}")
|
set_property(TARGET SDL3-javadoc PROPERTY OUTPUT_DIR "${javadocdir}")
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
@@ -1535,9 +1581,13 @@ elseif(UNIX AND NOT APPLE AND NOT RISCOS AND NOT HAIKU)
|
|||||||
CheckOpenGL()
|
CheckOpenGL()
|
||||||
CheckOpenGLES()
|
CheckOpenGLES()
|
||||||
CheckWayland()
|
CheckWayland()
|
||||||
|
CheckOpenVR()
|
||||||
CheckVivante()
|
CheckVivante()
|
||||||
CheckVulkan()
|
CheckVulkan()
|
||||||
CheckQNXScreen()
|
CheckQNXScreen()
|
||||||
|
|
||||||
|
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/tray/unix/*.c")
|
||||||
|
set(HAVE_SDL_TRAY TRUE)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(UNIX)
|
if(UNIX)
|
||||||
@@ -1650,6 +1700,16 @@ elseif(UNIX AND NOT APPLE AND NOT RISCOS AND NOT HAIKU)
|
|||||||
set(SDL_USE_IME 1)
|
set(SDL_USE_IME 1)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(SDL_LIBURING)
|
||||||
|
pkg_search_module(LIBURING liburing-ffi)
|
||||||
|
find_path(HAVE_LIBURING_H NAMES liburing.h)
|
||||||
|
if(LIBURING_FOUND AND HAVE_LIBURING_H)
|
||||||
|
set(HAVE_LIBURING_LIBURING_H TRUE)
|
||||||
|
sdl_include_directories(PRIVATE SYSTEM ${LIBURING_INCLUDE_DIRS})
|
||||||
|
set(HAVE_LIBURING TRUE)
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
if((FREEBSD OR NETBSD) AND NOT HAVE_INOTIFY)
|
if((FREEBSD OR NETBSD) AND NOT HAVE_INOTIFY)
|
||||||
set(LibInotify_PKG_CONFIG_SPEC libinotify)
|
set(LibInotify_PKG_CONFIG_SPEC libinotify)
|
||||||
pkg_check_modules(PC_LIBINOTIFY IMPORTED_TARGET ${LibInotify_PKG_CONFIG_SPEC})
|
pkg_check_modules(PC_LIBINOTIFY IMPORTED_TARGET ${LibInotify_PKG_CONFIG_SPEC})
|
||||||
@@ -1713,11 +1773,14 @@ elseif(UNIX AND NOT APPLE AND NOT RISCOS AND NOT HAIKU)
|
|||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(HAVE_LIBURING_H)
|
||||||
|
sdl_sources("${SDL3_SOURCE_DIR}/src/io/io_uring/SDL_asyncio_liburing.c")
|
||||||
|
endif()
|
||||||
|
|
||||||
# Always compiled for Linux, unconditionally:
|
# Always compiled for Linux, unconditionally:
|
||||||
sdl_sources(
|
sdl_sources(
|
||||||
"${SDL3_SOURCE_DIR}/src/core/linux/SDL_evdev_capabilities.c"
|
"${SDL3_SOURCE_DIR}/src/core/linux/SDL_evdev_capabilities.c"
|
||||||
"${SDL3_SOURCE_DIR}/src/core/linux/SDL_threadprio.c"
|
"${SDL3_SOURCE_DIR}/src/core/linux/SDL_threadprio.c"
|
||||||
"${SDL3_SOURCE_DIR}/src/core/linux/SDL_sandbox.c"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# src/core/unix/*.c is included in a generic if(UNIX) section, elsewhere.
|
# src/core/unix/*.c is included in a generic if(UNIX) section, elsewhere.
|
||||||
@@ -1735,7 +1798,6 @@ elseif(UNIX AND NOT APPLE AND NOT RISCOS AND NOT HAIKU)
|
|||||||
set(SDL_JOYSTICK_LINUX 1)
|
set(SDL_JOYSTICK_LINUX 1)
|
||||||
sdl_glob_sources(
|
sdl_glob_sources(
|
||||||
"${SDL3_SOURCE_DIR}/src/joystick/linux/*.c"
|
"${SDL3_SOURCE_DIR}/src/joystick/linux/*.c"
|
||||||
"${SDL3_SOURCE_DIR}/src/joystick/steam/*.c"
|
|
||||||
)
|
)
|
||||||
set(HAVE_SDL_JOYSTICK TRUE)
|
set(HAVE_SDL_JOYSTICK TRUE)
|
||||||
endif()
|
endif()
|
||||||
@@ -1827,12 +1889,15 @@ elseif(WINDOWS)
|
|||||||
|
|
||||||
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/core/windows/*.c")
|
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/core/windows/*.c")
|
||||||
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/main/windows/*.c")
|
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/main/windows/*.c")
|
||||||
|
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/io/windows/*.c")
|
||||||
|
|
||||||
if(TARGET SDL3-shared AND MSVC AND NOT SDL_LIBC)
|
if(TARGET SDL3-shared AND MSVC AND NOT SDL_LIBC)
|
||||||
# Prevent codegen that would use the VC runtime libraries.
|
# Prevent codegen that would use the VC runtime libraries.
|
||||||
target_compile_options(SDL3-shared PRIVATE $<$<COMPILE_LANGUAGE:C,CXX>:/GS-> $<$<COMPILE_LANGUAGE:C,CXX>:/Gs1048576>)
|
target_compile_options(SDL3-shared PRIVATE $<$<COMPILE_LANGUAGE:C,CXX>:/GS-> $<$<COMPILE_LANGUAGE:C,CXX>:/Gs1048576>)
|
||||||
|
target_compile_options(SDL_uclibc PRIVATE $<$<COMPILE_LANGUAGE:C,CXX>:/GS-> $<$<COMPILE_LANGUAGE:C,CXX>:/Gs1048576>)
|
||||||
if(SDL_CPU_X86)
|
if(SDL_CPU_X86)
|
||||||
target_compile_options(SDL3-shared PRIVATE "/arch:SSE")
|
target_compile_options(SDL3-shared PRIVATE "/arch:SSE")
|
||||||
|
target_compile_options(SDL3-SDL_uclibc PRIVATE "/arch:SSE")
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
@@ -1933,6 +1998,8 @@ elseif(WINDOWS)
|
|||||||
set(SDL_VIDEO_DRIVER_WINDOWS 1)
|
set(SDL_VIDEO_DRIVER_WINDOWS 1)
|
||||||
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/video/windows/*.c")
|
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/video/windows/*.c")
|
||||||
|
|
||||||
|
CheckOpenVR()
|
||||||
|
|
||||||
if(SDL_RENDER_D3D AND HAVE_D3D9_H)
|
if(SDL_RENDER_D3D AND HAVE_D3D9_H)
|
||||||
set(SDL_VIDEO_RENDER_D3D 1)
|
set(SDL_VIDEO_RENDER_D3D 1)
|
||||||
set(HAVE_RENDER_D3D TRUE)
|
set(HAVE_RENDER_D3D TRUE)
|
||||||
@@ -2032,6 +2099,9 @@ elseif(WINDOWS)
|
|||||||
set(HAVE_RENDER_VULKAN TRUE)
|
set(HAVE_RENDER_VULKAN TRUE)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/tray/windows/*.c")
|
||||||
|
set(HAVE_SDL_TRAY TRUE)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(SDL_HIDAPI)
|
if(SDL_HIDAPI)
|
||||||
@@ -2105,8 +2175,6 @@ elseif(APPLE)
|
|||||||
set(HAVE_SDL_MAIN_CALLBACKS TRUE)
|
set(HAVE_SDL_MAIN_CALLBACKS TRUE)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/file/cocoa/*.m")
|
|
||||||
|
|
||||||
if(SDL_CAMERA)
|
if(SDL_CAMERA)
|
||||||
if(MACOS OR IOS)
|
if(MACOS OR IOS)
|
||||||
set(SDL_CAMERA_DRIVER_COREMEDIA 1)
|
set(SDL_CAMERA_DRIVER_COREMEDIA 1)
|
||||||
@@ -2138,7 +2206,6 @@ elseif(APPLE)
|
|||||||
if(SDL_JOYSTICK)
|
if(SDL_JOYSTICK)
|
||||||
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/joystick/apple/*.m")
|
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/joystick/apple/*.m")
|
||||||
if(IOS OR TVOS OR VISIONOS OR WATCHOS)
|
if(IOS OR TVOS OR VISIONOS OR WATCHOS)
|
||||||
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/joystick/steam/*.c")
|
|
||||||
set(SDL_JOYSTICK_MFI 1)
|
set(SDL_JOYSTICK_MFI 1)
|
||||||
if(IOS OR VISIONOS OR WATCHOS)
|
if(IOS OR VISIONOS OR WATCHOS)
|
||||||
set(SDL_FRAMEWORK_COREMOTION 1)
|
set(SDL_FRAMEWORK_COREMOTION 1)
|
||||||
@@ -2311,6 +2378,11 @@ elseif(APPLE)
|
|||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(MACOS)
|
||||||
|
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/tray/cocoa/*.m")
|
||||||
|
set(HAVE_SDL_TRAY TRUE)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Minimum version for $<LINK_LIBRARY:feature,library-list>
|
# Minimum version for $<LINK_LIBRARY:feature,library-list>
|
||||||
@@ -2326,6 +2398,8 @@ elseif(APPLE)
|
|||||||
endif()
|
endif()
|
||||||
if(SDL_FRAMEWORK_COCOA)
|
if(SDL_FRAMEWORK_COCOA)
|
||||||
sdl_link_dependency(cocoa LIBS "$<LINK_LIBRARY:FRAMEWORK,Cocoa>" PKG_CONFIG_LINK_OPTIONS "-Wl,-framework,Cocoa")
|
sdl_link_dependency(cocoa LIBS "$<LINK_LIBRARY:FRAMEWORK,Cocoa>" PKG_CONFIG_LINK_OPTIONS "-Wl,-framework,Cocoa")
|
||||||
|
# macOS 11.0+ iOS 14.0+ tvOS 14.0+
|
||||||
|
sdl_link_dependency(uniformtypeidentifiers LIBS "$<LINK_LIBRARY:WEAK_FRAMEWORK,UniformTypeIdentifiers>" PKG_CONFIG_LINK_OPTIONS "-Wl,-weak_framework,UniformTypeIdentifiers")
|
||||||
endif()
|
endif()
|
||||||
if(SDL_FRAMEWORK_IOKIT)
|
if(SDL_FRAMEWORK_IOKIT)
|
||||||
sdl_link_dependency(iokit LIBS "$<LINK_LIBRARY:FRAMEWORK,IOKit>" PKG_CONFIG_LINK_OPTIONS "-Wl,-framework,IOKit")
|
sdl_link_dependency(iokit LIBS "$<LINK_LIBRARY:FRAMEWORK,IOKit>" PKG_CONFIG_LINK_OPTIONS "-Wl,-framework,IOKit")
|
||||||
@@ -2360,25 +2434,17 @@ elseif(APPLE)
|
|||||||
if(SDL_FRAMEWORK_GAMECONTROLLER)
|
if(SDL_FRAMEWORK_GAMECONTROLLER)
|
||||||
find_library(GAMECONTROLLER GameController)
|
find_library(GAMECONTROLLER GameController)
|
||||||
if(GAMECONTROLLER)
|
if(GAMECONTROLLER)
|
||||||
sdl_link_dependency(game_controller LIBS "$<LINK_LIBRARY:WEAK_FRAMEWORK,GameController>" PKG_CONFIG_LINK_OPTIONS "-Wl,-weak_framework,GameController")
|
sdl_link_dependency(game_controller LIBS "$<LINK_LIBRARY:FRAMEWORK,GameController>" PKG_CONFIG_LINK_OPTIONS "-Wl,-framework,GameController")
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
if(SDL_FRAMEWORK_METAL)
|
if(SDL_FRAMEWORK_METAL)
|
||||||
if(IOS OR TVOS OR VISIONOS OR WATCHOS)
|
sdl_link_dependency(metal LIBS "$<LINK_LIBRARY:FRAMEWORK,Metal>" PKG_CONFIG_LINK_OPTIONS "-Wl,-framework,Metal")
|
||||||
sdl_link_dependency(metal LIBS "$<LINK_LIBRARY:FRAMEWORK,Metal>" PKG_CONFIG_LINK_OPTIONS "-Wl,-framework,Metal")
|
|
||||||
else()
|
|
||||||
sdl_link_dependency(metal LIBS "$<LINK_LIBRARY:WEAK_FRAMEWORK,Metal>" PKG_CONFIG_LINK_OPTIONS "-Wl,-weak_framework,Metal")
|
|
||||||
endif()
|
|
||||||
endif()
|
endif()
|
||||||
if(SDL_FRAMEWORK_OPENGLES)
|
if(SDL_FRAMEWORK_OPENGLES)
|
||||||
sdl_link_dependency(opengles LIBS "$<LINK_LIBRARY:FRAMEWORK,OpenGLES>" PKG_CONFIG_LINK_OPTIONS "-Wl,-framework,OpenGLES")
|
sdl_link_dependency(opengles LIBS "$<LINK_LIBRARY:FRAMEWORK,OpenGLES>" PKG_CONFIG_LINK_OPTIONS "-Wl,-framework,OpenGLES")
|
||||||
endif()
|
endif()
|
||||||
if(SDL_FRAMEWORK_QUARTZCORE)
|
if(SDL_FRAMEWORK_QUARTZCORE)
|
||||||
if(IOS OR TVOS OR VISIONOS OR WATCHOS)
|
sdl_link_dependency(quartz_core LIBS "$<LINK_LIBRARY:FRAMEWORK,QuartzCore>" PKG_CONFIG_LINK_OPTIONS "-Wl,-framework,QuartzCore")
|
||||||
sdl_link_dependency(quartz_core LIBS "$<LINK_LIBRARY:FRAMEWORK,QuartzCore>" PKG_CONFIG_LINK_OPTIONS "-Wl,-framework,QuartzCore")
|
|
||||||
else()
|
|
||||||
sdl_link_dependency(metal LIBS "$<LINK_LIBRARY:WEAK_FRAMEWORK,QuartzCore>" PKG_CONFIG_LINK_OPTIONS "-Wl,-weak_framework,QuartzCore")
|
|
||||||
endif()
|
|
||||||
endif()
|
endif()
|
||||||
if(SDL_FRAMEWORK_UIKIT)
|
if(SDL_FRAMEWORK_UIKIT)
|
||||||
sdl_link_dependency(ui_kit LIBS "$<LINK_LIBRARY:FRAMEWORK,UIKit>" PKG_CONFIG_LINK_OPTIONS "-Wl,-framework,UIKit")
|
sdl_link_dependency(ui_kit LIBS "$<LINK_LIBRARY:FRAMEWORK,UIKit>" PKG_CONFIG_LINK_OPTIONS "-Wl,-framework,UIKit")
|
||||||
@@ -2386,7 +2452,8 @@ elseif(APPLE)
|
|||||||
if(SDL_FRAMEWORK_COREHAPTICS)
|
if(SDL_FRAMEWORK_COREHAPTICS)
|
||||||
find_library(COREHAPTICS CoreHaptics)
|
find_library(COREHAPTICS CoreHaptics)
|
||||||
if(COREHAPTICS)
|
if(COREHAPTICS)
|
||||||
sdl_link_dependency(core_haptics LIBS "$<LINK_LIBRARY:FRAMEWORK,CoreHaptics>" PKG_CONFIG_LINK_OPTIONS "-Wl,-framework,CoreHaptics")
|
# macOS 10.15+ iOS 13.0+ tvOS 14.0+
|
||||||
|
sdl_link_dependency(core_haptics LIBS "$<LINK_LIBRARY:WEAK_FRAMEWORK,CoreHaptics>" PKG_CONFIG_LINK_OPTIONS "-Wl,-weak_framework,CoreHaptics")
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
@@ -2518,7 +2585,9 @@ elseif(VITA)
|
|||||||
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/filesystem/vita/*.c")
|
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/filesystem/vita/*.c")
|
||||||
set(HAVE_SDL_FILESYSTEM TRUE)
|
set(HAVE_SDL_FILESYSTEM TRUE)
|
||||||
|
|
||||||
# !!! FIXME: do we need a FSops implementation for this?
|
set(SDL_FSOPS_POSIX 1)
|
||||||
|
sdl_sources("${SDL3_SOURCE_DIR}/src/filesystem/posix/SDL_sysfsops.c")
|
||||||
|
set(HAVE_SDL_FSOPS TRUE)
|
||||||
|
|
||||||
if(SDL_JOYSTICK)
|
if(SDL_JOYSTICK)
|
||||||
set(SDL_JOYSTICK_VITA 1)
|
set(SDL_JOYSTICK_VITA 1)
|
||||||
@@ -2560,6 +2629,12 @@ elseif(VITA)
|
|||||||
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/sensor/vita/*.c")
|
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/sensor/vita/*.c")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(SDL_CAMERA)
|
||||||
|
set(SDL_CAMERA_DRIVER_VITA 1)
|
||||||
|
set(HAVE_CAMERA TRUE)
|
||||||
|
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/camera/vita/*.c")
|
||||||
|
endif()
|
||||||
|
|
||||||
if(SDL_VIDEO)
|
if(SDL_VIDEO)
|
||||||
set(SDL_VIDEO_DRIVER_VITA 1)
|
set(SDL_VIDEO_DRIVER_VITA 1)
|
||||||
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/video/vita/*.c")
|
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/video/vita/*.c")
|
||||||
@@ -2640,6 +2715,7 @@ elseif(VITA)
|
|||||||
SceMotion_stub
|
SceMotion_stub
|
||||||
ScePower_stub
|
ScePower_stub
|
||||||
SceProcessmgr_stub
|
SceProcessmgr_stub
|
||||||
|
SceCamera_stub
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
@@ -2658,7 +2734,9 @@ elseif(PSP)
|
|||||||
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/filesystem/psp/*.c")
|
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/filesystem/psp/*.c")
|
||||||
set(HAVE_SDL_FILESYSTEM TRUE)
|
set(HAVE_SDL_FILESYSTEM TRUE)
|
||||||
|
|
||||||
# !!! FIXME: do we need a FSops implementation for this?
|
set(SDL_FSOPS_POSIX 1)
|
||||||
|
sdl_sources("${SDL3_SOURCE_DIR}/src/filesystem/posix/SDL_sysfsops.c")
|
||||||
|
set(HAVE_SDL_FSOPS TRUE)
|
||||||
|
|
||||||
if(SDL_JOYSTICK)
|
if(SDL_JOYSTICK)
|
||||||
set(SDL_JOYSTICK_PSP 1)
|
set(SDL_JOYSTICK_PSP 1)
|
||||||
@@ -2681,6 +2759,9 @@ elseif(PSP)
|
|||||||
)
|
)
|
||||||
set(HAVE_SDL_THREADS TRUE)
|
set(HAVE_SDL_THREADS TRUE)
|
||||||
|
|
||||||
|
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/locale/psp/*.c")
|
||||||
|
set(HAVE_SDL_LOCALE TRUE)
|
||||||
|
|
||||||
set(SDL_TIME_PSP 1)
|
set(SDL_TIME_PSP 1)
|
||||||
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/time/psp/*.c")
|
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/time/psp/*.c")
|
||||||
set(HAVE_SDL_TIME TRUE)
|
set(HAVE_SDL_TIME TRUE)
|
||||||
@@ -2712,10 +2793,6 @@ elseif(PSP)
|
|||||||
)
|
)
|
||||||
|
|
||||||
elseif(PS2)
|
elseif(PS2)
|
||||||
sdl_compile_definitions(PRIVATE "PS2" "__PS2__")
|
|
||||||
sdl_include_directories(PRIVATE SYSTEM "$ENV{PS2SDK}/ports/include" "$ENV{PS2DEV}/gsKit/include")
|
|
||||||
target_include_directories(SDL_uclibc PRIVATE "$ENV{PS2SDK}/ports/include" "$ENV{PS2DEV}/gsKit/include")
|
|
||||||
|
|
||||||
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/main/ps2/*.c")
|
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/main/ps2/*.c")
|
||||||
|
|
||||||
if(SDL_AUDIO)
|
if(SDL_AUDIO)
|
||||||
@@ -2728,7 +2805,9 @@ elseif(PS2)
|
|||||||
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/filesystem/ps2/*.c")
|
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/filesystem/ps2/*.c")
|
||||||
set(HAVE_SDL_FILESYSTEM TRUE)
|
set(HAVE_SDL_FILESYSTEM TRUE)
|
||||||
|
|
||||||
# !!! FIXME: do we need a FSops implementation for this?
|
set(SDL_FSOPS_POSIX 1)
|
||||||
|
sdl_sources("${SDL3_SOURCE_DIR}/src/filesystem/posix/SDL_sysfsops.c")
|
||||||
|
set(HAVE_SDL_FSOPS TRUE)
|
||||||
|
|
||||||
if(SDL_JOYSTICK)
|
if(SDL_JOYSTICK)
|
||||||
set(SDL_JOYSTICK_PS2 1)
|
set(SDL_JOYSTICK_PS2 1)
|
||||||
@@ -2834,9 +2913,10 @@ elseif(N3DS)
|
|||||||
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/locale/n3ds/*.c")
|
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/locale/n3ds/*.c")
|
||||||
set(HAVE_SDL_LOCALE TRUE)
|
set(HAVE_SDL_LOCALE TRUE)
|
||||||
|
|
||||||
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/file/n3ds/*.c")
|
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/io/n3ds/*.c")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
sdl_sources(${SDL3_SOURCE_DIR}/src/dialog/SDL_dialog.c)
|
||||||
if (SDL_DIALOG)
|
if (SDL_DIALOG)
|
||||||
sdl_sources(${SDL3_SOURCE_DIR}/src/dialog/SDL_dialog_utils.c)
|
sdl_sources(${SDL3_SOURCE_DIR}/src/dialog/SDL_dialog_utils.c)
|
||||||
if(ANDROID)
|
if(ANDROID)
|
||||||
@@ -2855,7 +2935,6 @@ if (SDL_DIALOG)
|
|||||||
set(HAVE_SDL_DIALOG TRUE)
|
set(HAVE_SDL_DIALOG TRUE)
|
||||||
elseif(MACOS)
|
elseif(MACOS)
|
||||||
sdl_sources(${SDL3_SOURCE_DIR}/src/dialog/cocoa/SDL_cocoadialog.m)
|
sdl_sources(${SDL3_SOURCE_DIR}/src/dialog/cocoa/SDL_cocoadialog.m)
|
||||||
sdl_link_dependency(uniformtypeidentifiers LIBS "$<LINK_LIBRARY:WEAK_FRAMEWORK,UniformTypeIdentifiers>" PKG_CONFIG_LINK_OPTIONS "-Wl,-weak_framework,UniformTypeIdentifiers")
|
|
||||||
set(HAVE_SDL_DIALOG TRUE)
|
set(HAVE_SDL_DIALOG TRUE)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
@@ -2920,6 +2999,8 @@ if(SDL_VIDEO)
|
|||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
sdl_glob_sources(${SDL3_SOURCE_DIR}/src/tray/*.c)
|
||||||
|
|
||||||
if(SDL_GPU)
|
if(SDL_GPU)
|
||||||
if(HAVE_D3D11_H)
|
if(HAVE_D3D11_H)
|
||||||
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/gpu/d3d11/*.c")
|
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/gpu/d3d11/*.c")
|
||||||
@@ -3002,6 +3083,10 @@ if(NOT HAVE_SDL_PROCESS)
|
|||||||
set(SDL_PROCESS_DUMMY 1)
|
set(SDL_PROCESS_DUMMY 1)
|
||||||
sdl_glob_sources(${SDL3_SOURCE_DIR}/src/process/dummy/*.c)
|
sdl_glob_sources(${SDL3_SOURCE_DIR}/src/process/dummy/*.c)
|
||||||
endif()
|
endif()
|
||||||
|
if(NOT HAVE_SDL_TRAY)
|
||||||
|
set(SDL_TRAY_DUMMY 1)
|
||||||
|
sdl_glob_sources(${SDL3_SOURCE_DIR}/src/tray/dummy/*.c)
|
||||||
|
endif()
|
||||||
if(NOT HAVE_CAMERA)
|
if(NOT HAVE_CAMERA)
|
||||||
set(SDL_CAMERA_DRIVER_DUMMY 1)
|
set(SDL_CAMERA_DRIVER_DUMMY 1)
|
||||||
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/camera/dummy/*.c")
|
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/camera/dummy/*.c")
|
||||||
@@ -3029,11 +3114,11 @@ endif()
|
|||||||
# config variables may contain generator expression, so we need to generate SDL_build_config.h in 2 steps:
|
# config variables may contain generator expression, so we need to generate SDL_build_config.h in 2 steps:
|
||||||
# 1. replace all `#cmakedefine`'s and `@abc@`
|
# 1. replace all `#cmakedefine`'s and `@abc@`
|
||||||
configure_file("${SDL3_SOURCE_DIR}/include/build_config/SDL_build_config.h.cmake"
|
configure_file("${SDL3_SOURCE_DIR}/include/build_config/SDL_build_config.h.cmake"
|
||||||
"${SDL3_BINARY_DIR}/SDL_build_config.h.intermediate")
|
"${SDL3_BINARY_DIR}/CMakeFiles/SDL_build_config.h.intermediate")
|
||||||
# 2. generate SDL_build_config.h in an build_type-dependent folder (which should be first in the include search path)
|
# 2. generate SDL_build_config.h in an build_type-dependent folder (which should be first in the include search path)
|
||||||
file(GENERATE
|
file(GENERATE
|
||||||
OUTPUT "${SDL3_BINARY_DIR}/include-config-$<LOWER_CASE:$<CONFIG>>/build_config/SDL_build_config.h"
|
OUTPUT "${SDL3_BINARY_DIR}/include-config-$<LOWER_CASE:$<CONFIG>>/build_config/SDL_build_config.h"
|
||||||
INPUT "${SDL3_BINARY_DIR}/SDL_build_config.h.intermediate"
|
INPUT "${SDL3_BINARY_DIR}/CMakeFiles/SDL_build_config.h.intermediate"
|
||||||
)
|
)
|
||||||
|
|
||||||
file(GLOB SDL3_INCLUDE_FILES "${SDL3_SOURCE_DIR}/include/SDL3/*.h")
|
file(GLOB SDL3_INCLUDE_FILES "${SDL3_SOURCE_DIR}/include/SDL3/*.h")
|
||||||
@@ -3044,26 +3129,24 @@ foreach(_hdr IN LISTS SDL3_INCLUDE_FILES)
|
|||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
|
|
||||||
set(SDL_REVISION "" CACHE STRING "Custom SDL revision (overrides SDL_REVISION_SUFFIX)")
|
# If REVISION.txt exists, then we are building from a SDL release.
|
||||||
|
# SDL_revision.h(.cmake) in source releases have SDL_REVISION baked into them.
|
||||||
|
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/REVISION.txt")
|
||||||
|
file(STRINGS "${CMAKE_CURRENT_SOURCE_DIR}/REVISION.txt" revisions)
|
||||||
|
list(GET revisions 0 revisions_0)
|
||||||
|
string(STRIP "${revisions_0}" SDL_REVISION)
|
||||||
|
else()
|
||||||
|
set(SDL_REVISION "" CACHE STRING "Custom SDL revision (only used when REVISION.txt does not exist)")
|
||||||
|
endif()
|
||||||
if(NOT SDL_REVISION)
|
if(NOT SDL_REVISION)
|
||||||
set(SDL_REVISION_SUFFIX "" CACHE STRING "Suffix for the SDL revision")
|
# If SDL_REVISION is not overrided, use git to describe
|
||||||
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/VERSION.txt")
|
git_describe(SDL_REVISION_GIT)
|
||||||
# If VERSION.txt exists, it contains the SDL version
|
set(SDL_REVISION "SDL3-${SDL3_VERSION}-${SDL_REVISION_GIT}")
|
||||||
file(READ "${CMAKE_CURRENT_SOURCE_DIR}/VERSION.txt" SDL_REVISION_CENTER)
|
|
||||||
string(STRIP "${SDL_REVISION_CENTER}" SDL_REVISION_CENTER)
|
|
||||||
else()
|
|
||||||
# If VERSION does not exist, use git to calculate a version
|
|
||||||
git_describe(SDL_REVISION_CENTER)
|
|
||||||
if(NOT SDL_REVISION_CENTER)
|
|
||||||
set(SDL_REVISION_CENTER "${SDL3_VERSION}-no-vcs")
|
|
||||||
endif()
|
|
||||||
endif()
|
|
||||||
set(SDL_REVISION "SDL-${SDL_REVISION_CENTER}${SDL_REVISION_SUFFIX}")
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
execute_process(COMMAND "${CMAKE_COMMAND}" -E make_directory "${SDL3_BINARY_DIR}/include/SDL3")
|
execute_process(COMMAND "${CMAKE_COMMAND}" -E make_directory "${SDL3_BINARY_DIR}/include-revision/SDL3")
|
||||||
configure_file(include/build_config/SDL_revision.h.cmake include/SDL3/SDL_revision.h @ONLY)
|
configure_file(include/build_config/SDL_revision.h.cmake include-revision/SDL3/SDL_revision.h @ONLY)
|
||||||
list(APPEND SDL3_INCLUDE_FILES "${SDL3_BINARY_DIR}/include/SDL3/SDL_revision.h")
|
list(APPEND SDL3_INCLUDE_FILES "${SDL3_BINARY_DIR}/include-revision/SDL3/SDL_revision.h")
|
||||||
|
|
||||||
if(SDL_FRAMEWORK)
|
if(SDL_FRAMEWORK)
|
||||||
# With Apple frameworks, headers in the PUBLIC_HEADER property also need to be added as sources
|
# With Apple frameworks, headers in the PUBLIC_HEADER property also need to be added as sources
|
||||||
@@ -3163,7 +3246,6 @@ else()
|
|||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(SDL_CLANG_TIDY)
|
if(SDL_CLANG_TIDY)
|
||||||
cmake_minimum_required(VERSION 3.6)
|
|
||||||
find_program(CLANG_TIDY_BINARY clang-tidy)
|
find_program(CLANG_TIDY_BINARY clang-tidy)
|
||||||
|
|
||||||
if(CLANG_TIDY_BINARY)
|
if(CLANG_TIDY_BINARY)
|
||||||
@@ -3248,8 +3330,8 @@ endif()
|
|||||||
set_source_files_properties(src/dynapi/SDL_dynapi.c PROPERTIES SKIP_PRECOMPILE_HEADERS 1)
|
set_source_files_properties(src/dynapi/SDL_dynapi.c PROPERTIES SKIP_PRECOMPILE_HEADERS 1)
|
||||||
|
|
||||||
set(SDL_FRAMEWORK_RESOURCES
|
set(SDL_FRAMEWORK_RESOURCES
|
||||||
Xcode/SDL/pkg-support/resources/ReadMe.txt
|
|
||||||
LICENSE.txt
|
LICENSE.txt
|
||||||
|
README.md
|
||||||
)
|
)
|
||||||
if(SDL_FRAMEWORK)
|
if(SDL_FRAMEWORK)
|
||||||
sdl_sources(${SDL_FRAMEWORK_RESOURCES})
|
sdl_sources(${SDL_FRAMEWORK_RESOURCES})
|
||||||
@@ -3260,7 +3342,7 @@ add_library(SDL3::Headers ALIAS SDL3_Headers)
|
|||||||
set_property(TARGET SDL3_Headers PROPERTY EXPORT_NAME "Headers")
|
set_property(TARGET SDL3_Headers PROPERTY EXPORT_NAME "Headers")
|
||||||
target_include_directories(SDL3_Headers
|
target_include_directories(SDL3_Headers
|
||||||
INTERFACE
|
INTERFACE
|
||||||
"$<BUILD_INTERFACE:${SDL3_BINARY_DIR}/include>"
|
"$<BUILD_INTERFACE:${SDL3_BINARY_DIR}/include-revision>"
|
||||||
"$<BUILD_INTERFACE:${SDL3_SOURCE_DIR}/include>"
|
"$<BUILD_INTERFACE:${SDL3_SOURCE_DIR}/include>"
|
||||||
)
|
)
|
||||||
if(SDL_FRAMEWORK)
|
if(SDL_FRAMEWORK)
|
||||||
@@ -3306,6 +3388,17 @@ if(SDL_SHARED)
|
|||||||
# (__rt_sdiv, __rt_udiv, __rt_sdiv64, _rt_udiv64, __dtou64, __u64tod, __i64tos)
|
# (__rt_sdiv, __rt_udiv, __rt_sdiv64, _rt_udiv64, __dtou64, __u64tod, __i64tos)
|
||||||
target_link_libraries(SDL3-shared PRIVATE msvcrt.lib)
|
target_link_libraries(SDL3-shared PRIVATE msvcrt.lib)
|
||||||
endif()
|
endif()
|
||||||
|
find_library(HAVE_ONECORE_LIB NAMES "onecore.lib")
|
||||||
|
if(HAVE_ONECORE_LIB)
|
||||||
|
# SDL_malloc.c: __imp_MapViewOfFileNuma2 referenced in function MapViewOfFile2
|
||||||
|
target_link_libraries(SDL3-shared PRIVATE onecore.lib)
|
||||||
|
endif()
|
||||||
|
find_library(HAVE_VOLATILEACCESSU_LIB NAMES "volatileaccessu.lib")
|
||||||
|
if(HAVE_VOLATILEACCESSU_LIB)
|
||||||
|
# SDL_malloc.c : RtlSetVolatileMemory referenced in function RtlFillVolatileMemory
|
||||||
|
# SDL_malloc.c : RtlFillDeviceMemory referenced in function RtlZeroDeviceMemory
|
||||||
|
target_link_libraries(SDL3-shared PRIVATE volatileaccessu.lib)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
if(HAS_Q_NO_USE_LIBIRC)
|
if(HAS_Q_NO_USE_LIBIRC)
|
||||||
target_compile_options(SDL3-shared PRIVATE /Q_no-use-libirc)
|
target_compile_options(SDL3-shared PRIVATE /Q_no-use-libirc)
|
||||||
@@ -3422,7 +3515,7 @@ endif()
|
|||||||
if(WINDOWS AND NOT MINGW)
|
if(WINDOWS AND NOT MINGW)
|
||||||
set(SDL_INSTALL_CMAKEDIR_ROOT_DEFAULT "cmake")
|
set(SDL_INSTALL_CMAKEDIR_ROOT_DEFAULT "cmake")
|
||||||
else()
|
else()
|
||||||
set(SDL_INSTALL_CMAKEDIR_ROOT_DEFAULT "${CMAKE_INSTALL_LIBDIR}/cmake")
|
set(SDL_INSTALL_CMAKEDIR_ROOT_DEFAULT "${CMAKE_INSTALL_LIBDIR}/cmake/SDL3")
|
||||||
endif()
|
endif()
|
||||||
set(SDL_INSTALL_CMAKEDIR_ROOT "${SDL_INSTALL_CMAKEDIR_ROOT_DEFAULT}" CACHE STRING "Root folder where to install SDL3Config.cmake related files (SDL3 subfolder for MSVC projects)")
|
set(SDL_INSTALL_CMAKEDIR_ROOT "${SDL_INSTALL_CMAKEDIR_ROOT_DEFAULT}" CACHE STRING "Root folder where to install SDL3Config.cmake related files (SDL3 subfolder for MSVC projects)")
|
||||||
|
|
||||||
@@ -3442,7 +3535,7 @@ elseif(SDL_FRAMEWORK)
|
|||||||
set(SDL_INSTALL_LICENSEDIR "Resources")
|
set(SDL_INSTALL_LICENSEDIR "Resources")
|
||||||
set(SDL_INSTALL_HEADERSDIR "Headers")
|
set(SDL_INSTALL_HEADERSDIR "Headers")
|
||||||
else()
|
else()
|
||||||
set(SDL_INSTALL_CMAKEDIR "${SDL_INSTALL_CMAKEDIR_ROOT}/SDL3")
|
set(SDL_INSTALL_CMAKEDIR "${SDL_INSTALL_CMAKEDIR_ROOT}")
|
||||||
set(SDL_INSTALL_LICENSEDIR "${CMAKE_INSTALL_DATAROOTDIR}/licenses/${PROJECT_NAME}")
|
set(SDL_INSTALL_LICENSEDIR "${CMAKE_INSTALL_DATAROOTDIR}/licenses/${PROJECT_NAME}")
|
||||||
set(SDL_INSTALL_HEADERSDIR "${CMAKE_INSTALL_INCLUDEDIR}/SDL3")
|
set(SDL_INSTALL_HEADERSDIR "${CMAKE_INSTALL_INCLUDEDIR}/SDL3")
|
||||||
endif()
|
endif()
|
||||||
@@ -3509,7 +3602,7 @@ if(sdl_cmake_modules)
|
|||||||
execute_process(COMMAND ${CMAKE_COMMAND} -E copy_if_different ${sdl_cmake_modules} "${SDL3_BINARY_DIR}")
|
execute_process(COMMAND ${CMAKE_COMMAND} -E copy_if_different ${sdl_cmake_modules} "${SDL3_BINARY_DIR}")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(NOT SDL_DISABLE_INSTALL)
|
if(SDL_INSTALL)
|
||||||
|
|
||||||
##### sdl3.pc #####
|
##### sdl3.pc #####
|
||||||
configure_sdl3_pc()
|
configure_sdl3_pc()
|
||||||
@@ -3609,7 +3702,7 @@ if(NOT SDL_DISABLE_INSTALL)
|
|||||||
install(FILES "LICENSE.txt" DESTINATION "${SDL_INSTALL_LICENSEDIR}")
|
install(FILES "LICENSE.txt" DESTINATION "${SDL_INSTALL_LICENSEDIR}")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(NOT SDL_DISABLE_INSTALL_CPACK)
|
if(SDL_INSTALL_CPACK)
|
||||||
if(SDL_FRAMEWORK)
|
if(SDL_FRAMEWORK)
|
||||||
set(CPACK_GENERATOR "DragNDrop")
|
set(CPACK_GENERATOR "DragNDrop")
|
||||||
elseif(MSVC)
|
elseif(MSVC)
|
||||||
@@ -3645,12 +3738,12 @@ if(NOT SDL_DISABLE_INSTALL)
|
|||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
if(TARGET SDL3-javasources)
|
if(TARGET SDL3-javasources)
|
||||||
install(FILES "${SDL3_BINARY_DIR}/SDL3-${SDL3_VERSION}-sources.jar"
|
install(FILES "${SDL3_BINARY_DIR}/SDL3-${SDL3_VERSION}-sources.jar"
|
||||||
DESTINATION "${SDL_INSTALL_JAVADIR}/SDL3")
|
DESTINATION "${SDL_INSTALL_JAVADIR}/SDL3")
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(NOT SDL_DISABLE_INSTALL_DOCS)
|
if(SDL_INSTALL_DOCS)
|
||||||
SDL_generate_manpages(
|
SDL_generate_manpages(
|
||||||
HEADERS_DIR "${PROJECT_SOURCE_DIR}/include/SDL3"
|
HEADERS_DIR "${PROJECT_SOURCE_DIR}/include/SDL3"
|
||||||
SYMBOL "SDL_Init"
|
SYMBOL "SDL_Init"
|
||||||
@@ -3659,7 +3752,7 @@ if(NOT SDL_DISABLE_INSTALL)
|
|||||||
)
|
)
|
||||||
if(TARGET SDL3-javadoc)
|
if(TARGET SDL3-javadoc)
|
||||||
set(SDL_INSTALL_JAVADOCDIR "${CMAKE_INSTALL_DATAROOTDIR}/javadoc" CACHE PATH "Path where to install SDL3 javadoc")
|
set(SDL_INSTALL_JAVADOCDIR "${CMAKE_INSTALL_DATAROOTDIR}/javadoc" CACHE PATH "Path where to install SDL3 javadoc")
|
||||||
install(DIRECTORY "${SDL3_BINARY_DIR}/docs/javadoc/"
|
install(FILES "${SDL3_BINARY_DIR}/SDL3-${SDL3_VERSION}-javadoc.jar"
|
||||||
DESTINATION "${SDL_INSTALL_JAVADOCDIR}/SDL3")
|
DESTINATION "${SDL_INSTALL_JAVADOCDIR}/SDL3")
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
@@ -3667,7 +3760,7 @@ endif()
|
|||||||
|
|
||||||
##### Uninstall target #####
|
##### Uninstall target #####
|
||||||
|
|
||||||
if(NOT SDL_DISABLE_UNINSTALL)
|
if(SDL_UNINSTALL)
|
||||||
if(NOT TARGET uninstall)
|
if(NOT TARGET uninstall)
|
||||||
configure_file(cmake/cmake_uninstall.cmake.in cmake_uninstall.cmake IMMEDIATE @ONLY)
|
configure_file(cmake/cmake_uninstall.cmake.in cmake_uninstall.cmake IMMEDIATE @ONLY)
|
||||||
|
|
||||||
|
|||||||
+5
-1
@@ -4,6 +4,10 @@ Thanks to everyone who made this possible, including:
|
|||||||
|
|
||||||
- Cliff Matthews, for giving me a reason to start this project. :) -- Executor rocks! *grin*
|
- Cliff Matthews, for giving me a reason to start this project. :) -- Executor rocks! *grin*
|
||||||
- Ryan Gordon for helping everybody out and keeping the dream alive. :)
|
- Ryan Gordon for helping everybody out and keeping the dream alive. :)
|
||||||
|
- Frank Praznik for his Wayland support and general windowing development.
|
||||||
|
- Ozkan Sezer for sanity checks and make sure the i's are dotted and t's are crossed.
|
||||||
|
- Anonymous Maarten for CMake support and build system development.
|
||||||
|
- Evan Hemsley, Caleb Cornett, and Ethan Lee for SDL GPU development.
|
||||||
- Gabriel Jacobo for his work on the Android port and generally helping out all around.
|
- Gabriel Jacobo for his work on the Android port and generally helping out all around.
|
||||||
- Philipp Wiesemann for his attention to detail reviewing the entire SDL code base and proposes patches.
|
- Philipp Wiesemann for his attention to detail reviewing the entire SDL code base and proposes patches.
|
||||||
- Andreas Schiffler for his dedication to unit tests, Visual Studio projects, and managing the Google Summer of Code.
|
- Andreas Schiffler for his dedication to unit tests, Visual Studio projects, and managing the Google Summer of Code.
|
||||||
@@ -24,7 +28,7 @@ Thanks to everyone who made this possible, including:
|
|||||||
- Holmes Futrell for his port of SDL to the iPhone and iPod Touch during the
|
- Holmes Futrell for his port of SDL to the iPhone and iPod Touch during the
|
||||||
Google Summer of Code 2008.
|
Google Summer of Code 2008.
|
||||||
- Jon Atkins for SDL_image, SDL_mixer and SDL_net documentation.
|
- Jon Atkins for SDL_image, SDL_mixer and SDL_net documentation.
|
||||||
- Everybody at Loki Software, Inc. for their great contributions!
|
- Everybody at Loki Software, Inc. and Valve Corporation for their great contributions!
|
||||||
|
|
||||||
And a big hand to everyone else who has contributed over the years.
|
And a big hand to everyone else who has contributed over the years.
|
||||||
|
|
||||||
|
|||||||
+26
-47
@@ -1,68 +1,47 @@
|
|||||||
# To compile and install SDL:
|
# To build and use SDL:
|
||||||
|
|
||||||
## Windows with Visual Studio:
|
SDL supports a number of development environments:
|
||||||
|
- [CMake](docs/INTRO-cmake.md)
|
||||||
|
- [Visual Studio on Windows](docs/INTRO-visualstudio.md)
|
||||||
|
- [Xcode on Apple platforms](docs/INTRO-xcode.md)
|
||||||
|
- [Android Studio](docs/INTRO-androidstudio.md)
|
||||||
|
- [Emscripten for web](docs/INTRO-emscripten.md)
|
||||||
|
|
||||||
Read ./docs/README-visualc.md
|
SDL is also usable in other environments. The basic steps are to use CMake to build the library and then use the headers and library that you built in your project. You can search online to see if anyone has specific steps for your setup.
|
||||||
|
|
||||||
## Windows building with mingw-w64 for x86:
|
# Documentation
|
||||||
|
|
||||||
Run: `cmake -S . -B build -DCMAKE_TOOLCHAIN_FILE=build-scripts/cmake-toolchain-mingw64-i686.cmake && cmake --build build && cmake --install build`
|
An API reference, tutorials, and additional documentation is available at:
|
||||||
|
|
||||||
## Windows building with mingw-w64 for x64:
|
https://wiki.libsdl.org/SDL3
|
||||||
|
|
||||||
Run: `cmake -S . -B build -DCMAKE_TOOLCHAIN_FILE=build-scripts/cmake-toolchain-mingw64-x86_64.cmake && cmake --build build && cmake --install build`
|
|
||||||
|
|
||||||
## macOS with Xcode:
|
|
||||||
|
|
||||||
Read docs/README-macos.md
|
|
||||||
|
|
||||||
## macOS from the command line:
|
|
||||||
|
|
||||||
Run: `cmake -S . -B build && cmake --build build && cmake --install build`
|
|
||||||
|
|
||||||
### macOS for universal architecture:
|
|
||||||
|
|
||||||
Run: `cmake -S . -B build -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" && cmake --build build && cmake --install build`
|
|
||||||
|
|
||||||
## Linux and other UNIX systems:
|
|
||||||
|
|
||||||
Run: `cmake -S . -B build && cmake --build build && cmake --install build`
|
|
||||||
|
|
||||||
## Android:
|
|
||||||
|
|
||||||
Read docs/README-android.md
|
|
||||||
|
|
||||||
## iOS:
|
|
||||||
|
|
||||||
Read docs/README-ios.md
|
|
||||||
|
|
||||||
## Using CMake:
|
|
||||||
|
|
||||||
Read docs/README-cmake.md
|
|
||||||
|
|
||||||
# Example code
|
# Example code
|
||||||
|
|
||||||
Look at the example programs in ./test, and check out the online
|
There are simple example programs in the examples directory, and you can view them online at:
|
||||||
documentation at https://wiki.libsdl.org/SDL3/
|
|
||||||
|
|
||||||
# Discussion
|
https://examples.libsdl.org/SDL3
|
||||||
|
|
||||||
|
More in-depth test programs are available in the tests directory and can be built by adding `-DSDL_TESTS=ON` to the CMake command line when building SDL.
|
||||||
|
|
||||||
|
# Discussions
|
||||||
|
|
||||||
|
## Discord
|
||||||
|
|
||||||
|
You can join the official Discord server at:
|
||||||
|
|
||||||
|
https://discord.com/invite/BwpFGBWsv8
|
||||||
|
|
||||||
## Forums/mailing lists
|
## Forums/mailing lists
|
||||||
|
|
||||||
Join the SDL developer discussions, sign up on
|
You can join SDL development discussions at:
|
||||||
|
|
||||||
https://discourse.libsdl.org/
|
https://discourse.libsdl.org/
|
||||||
|
|
||||||
and go to the development forum
|
Once you sign up, you can use the forum through the website or as a mailing list from your email client.
|
||||||
|
|
||||||
https://discourse.libsdl.org/c/sdl-development/6
|
|
||||||
|
|
||||||
Once you sign up, you can use the forum through the website, or as a mailing
|
|
||||||
list from your email client.
|
|
||||||
|
|
||||||
## Announcement list
|
## Announcement list
|
||||||
|
|
||||||
Sign up for the announcement list through the web interface:
|
You can sign up for the low traffic announcement list at:
|
||||||
|
|
||||||
https://www.libsdl.org/mailing-list.php
|
https://www.libsdl.org/mailing-list.php
|
||||||
|
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
Copyright (C) 1997-2024 Sam Lantinga <slouken@libsdl.org>
|
Copyright (C) 1997-2025 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
|
||||||
|
|||||||
@@ -1,13 +0,0 @@
|
|||||||
|
|
||||||
Please distribute this file with the SDL runtime environment:
|
|
||||||
|
|
||||||
The Simple DirectMedia Layer (SDL for short) is a cross-platform library
|
|
||||||
designed to make it easy to write multi-media software, such as games
|
|
||||||
and emulators.
|
|
||||||
|
|
||||||
The Simple DirectMedia Layer library source code is available from:
|
|
||||||
https://www.libsdl.org/
|
|
||||||
|
|
||||||
This library is distributed under the terms of the zlib license:
|
|
||||||
http://www.zlib.net/zlib_license.html
|
|
||||||
|
|
||||||
@@ -1,16 +1,16 @@
|
|||||||
|
|
||||||
# Simple DirectMedia Layer (SDL) Version 3.0
|
Simple DirectMedia Layer (SDL for short) is a cross-platform library
|
||||||
|
designed to make it easy to write multi-media software, such as games
|
||||||
|
and emulators.
|
||||||
|
|
||||||
|
You can find the latest release and additional information at:
|
||||||
https://www.libsdl.org/
|
https://www.libsdl.org/
|
||||||
|
|
||||||
Simple DirectMedia Layer is a cross-platform development library designed
|
Installation instructions and a quick introduction is available in
|
||||||
to provide low level access to audio, keyboard, mouse, joystick, and graphics
|
[INSTALL.md](INSTALL.md)
|
||||||
hardware. It is used by video playback software, emulators, and popular games
|
|
||||||
including Valve's award winning catalog and many Humble Bundle games.
|
|
||||||
|
|
||||||
More extensive documentation is available in the docs directory, starting
|
This library is distributed under the terms of the zlib license,
|
||||||
with [README.md](docs/README.md). If you are migrating to SDL 3.0 from SDL 2.0,
|
available in [LICENSE.txt](LICENSE.txt).
|
||||||
the changes are extensively documented in [README-migration.md](docs/README-migration.md).
|
|
||||||
|
|
||||||
Enjoy!
|
Enjoy!
|
||||||
|
|
||||||
|
|||||||
+39
-37
@@ -102,10 +102,10 @@
|
|||||||
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'" />
|
<CodeAnalysisRuleAssemblies Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'" />
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">
|
||||||
<IncludePath>$(SolutionDir)/../src;$(IncludePath)</IncludePath>
|
<IncludePath>$(ProjectDir)../../src;$(IncludePath)</IncludePath>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">
|
||||||
<IncludePath>$(SolutionDir)/../src;$(IncludePath)</IncludePath>
|
<IncludePath>$(ProjectDir)../../src;$(IncludePath)</IncludePath>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">
|
||||||
<Midl>
|
<Midl>
|
||||||
@@ -165,8 +165,10 @@
|
|||||||
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
|
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
|
||||||
</Link>
|
</Link>
|
||||||
<PreBuildEvent>
|
<PreBuildEvent>
|
||||||
<Command>$(SolutionDir)..\src\render\direct3d12\compile_shaders_xbox.bat $(SolutionDir)</Command>
|
<Command>
|
||||||
<Command>$(SolutionDir)..\src\gpu\d3d12\compile_shaders_xbox.bat $(SolutionDir)</Command>
|
call $(ProjectDir)..\..\src\render\direct3d12\compile_shaders_xbox.bat $(ProjectDir)..\
|
||||||
|
call $(ProjectDir)..\..\src\gpu\d3d12\compile_shaders_xbox.bat $(ProjectDir)..\
|
||||||
|
</Command>
|
||||||
</PreBuildEvent>
|
</PreBuildEvent>
|
||||||
<PreBuildEvent>
|
<PreBuildEvent>
|
||||||
<Message>Building shader blobs (Xbox Series)</Message>
|
<Message>Building shader blobs (Xbox Series)</Message>
|
||||||
@@ -200,8 +202,10 @@
|
|||||||
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
|
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
|
||||||
</Link>
|
</Link>
|
||||||
<PreBuildEvent>
|
<PreBuildEvent>
|
||||||
<Command>$(SolutionDir)..\src\render\direct3d12\compile_shaders_xbox.bat $(SolutionDir) one</Command>
|
<Command>
|
||||||
<Command>$(SolutionDir)..\src\gpu\d3d12\compile_shaders_xbox.bat $(SolutionDir) one</Command>
|
call $(ProjectDir)..\..\src\render\direct3d12\compile_shaders_xbox.bat $(ProjectDir)..\ one
|
||||||
|
call $(ProjectDir)..\..\src\gpu\d3d12\compile_shaders_xbox.bat $(ProjectDir)..\ one
|
||||||
|
</Command>
|
||||||
</PreBuildEvent>
|
</PreBuildEvent>
|
||||||
<PreBuildEvent>
|
<PreBuildEvent>
|
||||||
<Message>Building shader blobs (Xbox One)</Message>
|
<Message>Building shader blobs (Xbox One)</Message>
|
||||||
@@ -267,8 +271,10 @@
|
|||||||
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
|
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
|
||||||
</Link>
|
</Link>
|
||||||
<PreBuildEvent>
|
<PreBuildEvent>
|
||||||
<Command>$(SolutionDir)..\src\render\direct3d12\compile_shaders_xbox.bat $(SolutionDir)</Command>
|
<Command>
|
||||||
<Command>$(SolutionDir)..\src\gpu\d3d12\compile_shaders_xbox.bat $(SolutionDir)</Command>
|
call $(ProjectDir)..\..\src\render\direct3d12\compile_shaders_xbox.bat $(ProjectDir)..\
|
||||||
|
call $(ProjectDir)..\..\src\gpu\d3d12\compile_shaders_xbox.bat $(ProjectDir)..\
|
||||||
|
</Command>
|
||||||
</PreBuildEvent>
|
</PreBuildEvent>
|
||||||
<PreBuildEvent>
|
<PreBuildEvent>
|
||||||
<Message>Building shader blobs (Xbox Series)</Message>
|
<Message>Building shader blobs (Xbox Series)</Message>
|
||||||
@@ -303,8 +309,10 @@
|
|||||||
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
|
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
|
||||||
</Link>
|
</Link>
|
||||||
<PreBuildEvent>
|
<PreBuildEvent>
|
||||||
<Command>$(SolutionDir)..\src\render\direct3d12\compile_shaders_xbox.bat $(SolutionDir) one</Command>
|
<Command>
|
||||||
<Command>$(SolutionDir)..\src\gpu\d3d12\compile_shaders_xbox.bat $(SolutionDir) one</Command>
|
call $(ProjectDir)..\..\src\render\direct3d12\compile_shaders_xbox.bat $(ProjectDir)..\ one
|
||||||
|
call $(ProjectDir)..\..\src\gpu\d3d12\compile_shaders_xbox.bat $(ProjectDir)..\ one
|
||||||
|
</Command>
|
||||||
</PreBuildEvent>
|
</PreBuildEvent>
|
||||||
<PreBuildEvent>
|
<PreBuildEvent>
|
||||||
<Message>Building shader blobs (Xbox One)</Message>
|
<Message>Building shader blobs (Xbox One)</Message>
|
||||||
@@ -339,6 +347,7 @@
|
|||||||
<ClInclude Include="..\..\include\SDL3\SDL_haptic.h" />
|
<ClInclude Include="..\..\include\SDL3\SDL_haptic.h" />
|
||||||
<ClInclude Include="..\..\include\SDL3\SDL_hints.h" />
|
<ClInclude Include="..\..\include\SDL3\SDL_hints.h" />
|
||||||
<ClInclude Include="..\..\include\SDL3\SDL_hidapi.h" />
|
<ClInclude Include="..\..\include\SDL3\SDL_hidapi.h" />
|
||||||
|
<ClInclude Include="..\..\include\SDL3\SDL_asyncio.h" />
|
||||||
<ClInclude Include="..\..\include\SDL3\SDL_joystick.h" />
|
<ClInclude Include="..\..\include\SDL3\SDL_joystick.h" />
|
||||||
<ClInclude Include="..\..\include\SDL3\SDL_keyboard.h" />
|
<ClInclude Include="..\..\include\SDL3\SDL_keyboard.h" />
|
||||||
<ClInclude Include="..\..\include\SDL3\SDL_keycode.h" />
|
<ClInclude Include="..\..\include\SDL3\SDL_keycode.h" />
|
||||||
@@ -432,6 +441,8 @@
|
|||||||
<ClInclude Include="..\..\src\events\SDL_windowevents_c.h" />
|
<ClInclude Include="..\..\src\events\SDL_windowevents_c.h" />
|
||||||
<ClInclude Include="..\..\src\filesystem\SDL_sysfilesystem.h" />
|
<ClInclude Include="..\..\src\filesystem\SDL_sysfilesystem.h" />
|
||||||
<ClInclude Include="..\..\src\gpu\SDL_sysgpu.h" />
|
<ClInclude Include="..\..\src\gpu\SDL_sysgpu.h" />
|
||||||
|
<ClInclude Include="..\..\src\io\SDL_asyncio_c.h" />
|
||||||
|
<ClInclude Include="..\..\src\io\SDL_sysasyncio.h" />
|
||||||
<ClInclude Include="..\..\src\haptic\SDL_haptic_c.h" />
|
<ClInclude Include="..\..\src\haptic\SDL_haptic_c.h" />
|
||||||
<ClInclude Include="..\..\src\haptic\SDL_syshaptic.h" />
|
<ClInclude Include="..\..\src\haptic\SDL_syshaptic.h" />
|
||||||
<ClInclude Include="..\..\src\haptic\windows\SDL_dinputhaptic_c.h" />
|
<ClInclude Include="..\..\src\haptic\windows\SDL_dinputhaptic_c.h" />
|
||||||
@@ -514,9 +525,13 @@
|
|||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="..\..\src\camera\dummy\SDL_camera_dummy.c" />
|
<ClCompile Include="..\..\src\camera\dummy\SDL_camera_dummy.c" />
|
||||||
<ClCompile Include="..\..\src\camera\SDL_camera.c" />
|
<ClCompile Include="..\..\src\camera\SDL_camera.c" />
|
||||||
|
<ClCompile Include="..\..\src\dialog\SDL_dialog.c" />
|
||||||
<ClCompile Include="..\..\src\dialog\SDL_dialog_utils.c" />
|
<ClCompile Include="..\..\src\dialog\SDL_dialog_utils.c" />
|
||||||
<ClCompile Include="..\..\src\filesystem\SDL_filesystem.c" />
|
<ClCompile Include="..\..\src\filesystem\SDL_filesystem.c" />
|
||||||
<ClCompile Include="..\..\src\filesystem\windows\SDL_sysfsops.c" />
|
<ClCompile Include="..\..\src\filesystem\windows\SDL_sysfsops.c" />
|
||||||
|
<ClCompile Include="..\..\src\io\generic\SDL_asyncio_generic.c" />
|
||||||
|
<ClCompile Include="..\..\src\io\SDL_asyncio.c" />
|
||||||
|
<ClCompile Include="..\..\src\io\windows\SDL_asyncio_windows_ioring.c" />
|
||||||
<ClCompile Include="..\..\src\main\gdk\SDL_sysmain_runapp.cpp" />
|
<ClCompile Include="..\..\src\main\gdk\SDL_sysmain_runapp.cpp" />
|
||||||
<ClCompile Include="..\..\src\main\generic\SDL_sysmain_callbacks.c" />
|
<ClCompile Include="..\..\src\main\generic\SDL_sysmain_callbacks.c" />
|
||||||
<ClCompile Include="..\..\src\main\SDL_main_callbacks.c" />
|
<ClCompile Include="..\..\src\main\SDL_main_callbacks.c" />
|
||||||
@@ -577,6 +592,7 @@
|
|||||||
<ClInclude Include="..\..\src\video\SDL_vulkan_internal.h" />
|
<ClInclude Include="..\..\src\video\SDL_vulkan_internal.h" />
|
||||||
<ClInclude Include="..\..\src\video\SDL_yuv_c.h" />
|
<ClInclude Include="..\..\src\video\SDL_yuv_c.h" />
|
||||||
<ClInclude Include="..\..\src\video\windows\SDL_msctf.h" />
|
<ClInclude Include="..\..\src\video\windows\SDL_msctf.h" />
|
||||||
|
<ClInclude Include="..\..\src\video\windows\SDL_surface_utils.h" />
|
||||||
<ClInclude Include="..\..\src\video\windows\SDL_windowsclipboard.h" />
|
<ClInclude Include="..\..\src\video\windows\SDL_windowsclipboard.h" />
|
||||||
<ClInclude Include="..\..\src\video\windows\SDL_windowsevents.h" />
|
<ClInclude Include="..\..\src\video\windows\SDL_windowsevents.h" />
|
||||||
<ClInclude Include="..\..\src\video\windows\SDL_windowsframebuffer.h" />
|
<ClInclude Include="..\..\src\video\windows\SDL_windowsframebuffer.h" />
|
||||||
@@ -616,7 +632,6 @@
|
|||||||
<ClCompile Include="..\..\src\audio\SDL_mixer.c" />
|
<ClCompile Include="..\..\src\audio\SDL_mixer.c" />
|
||||||
<ClCompile Include="..\..\src\audio\SDL_wave.c" />
|
<ClCompile Include="..\..\src\audio\SDL_wave.c" />
|
||||||
<ClCompile Include="..\..\src\audio\wasapi\SDL_wasapi.c" />
|
<ClCompile Include="..\..\src\audio\wasapi\SDL_wasapi.c" />
|
||||||
<ClCompile Include="..\..\src\audio\wasapi\SDL_wasapi_win32.c" />
|
|
||||||
<ClCompile Include="..\..\src\core\SDL_core_unsupported.c" />
|
<ClCompile Include="..\..\src\core\SDL_core_unsupported.c" />
|
||||||
<ClCompile Include="..\..\src\core\windows\SDL_hid.c" />
|
<ClCompile Include="..\..\src\core\windows\SDL_hid.c" />
|
||||||
<ClCompile Include="..\..\src\core\windows\SDL_immdevice.c" />
|
<ClCompile Include="..\..\src\core\windows\SDL_immdevice.c" />
|
||||||
@@ -658,7 +673,7 @@
|
|||||||
<ClCompile Include="..\..\src\events\SDL_quit.c" />
|
<ClCompile Include="..\..\src\events\SDL_quit.c" />
|
||||||
<ClCompile Include="..\..\src\events\SDL_touch.c" />
|
<ClCompile Include="..\..\src\events\SDL_touch.c" />
|
||||||
<ClCompile Include="..\..\src\events\SDL_windowevents.c" />
|
<ClCompile Include="..\..\src\events\SDL_windowevents.c" />
|
||||||
<ClCompile Include="..\..\src\file\SDL_iostream.c" />
|
<ClCompile Include="..\..\src\io\SDL_iostream.c" />
|
||||||
<ClCompile Include="..\..\src\filesystem\gdk\SDL_sysfilesystem.cpp">
|
<ClCompile Include="..\..\src\filesystem\gdk\SDL_sysfilesystem.cpp">
|
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">true</ExcludedFromBuild>
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">true</ExcludedFromBuild>
|
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">true</ExcludedFromBuild>
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">true</ExcludedFromBuild>
|
||||||
@@ -725,31 +740,7 @@
|
|||||||
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">CompileAsCpp</CompileAs>
|
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">CompileAsCpp</CompileAs>
|
||||||
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">CompileAsCpp</CompileAs>
|
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">CompileAsCpp</CompileAs>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="..\..\src\libm\e_atan2.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\e_exp.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\e_fmod.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\e_log.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\e_log10.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\e_pow.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\e_rem_pio2.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\e_sqrt.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\k_cos.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\k_rem_pio2.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\k_sin.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\k_tan.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\s_atan.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\s_copysign.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\s_cos.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\s_fabs.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\s_floor.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\s_isinf.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\s_isinff.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\s_isnan.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\s_isnanf.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\s_modf.c" />
|
<ClCompile Include="..\..\src\libm\s_modf.c" />
|
||||||
<ClCompile Include="..\..\src\libm\s_scalbn.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\s_sin.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\s_tan.c" />
|
|
||||||
<ClCompile Include="..\..\src\loadso\windows\SDL_sysloadso.c" />
|
<ClCompile Include="..\..\src\loadso\windows\SDL_sysloadso.c" />
|
||||||
<ClCompile Include="..\..\src\locale\SDL_locale.c" />
|
<ClCompile Include="..\..\src\locale\SDL_locale.c" />
|
||||||
<ClCompile Include="..\..\src\locale\windows\SDL_syslocale.c" />
|
<ClCompile Include="..\..\src\locale\windows\SDL_syslocale.c" />
|
||||||
@@ -837,6 +828,17 @@
|
|||||||
<ClCompile Include="..\..\src\timer\windows\SDL_systimer.c" />
|
<ClCompile Include="..\..\src\timer\windows\SDL_systimer.c" />
|
||||||
<ClCompile Include="..\..\src\time\SDL_time.c" />
|
<ClCompile Include="..\..\src\time\SDL_time.c" />
|
||||||
<ClCompile Include="..\..\src\time\windows\SDL_systime.c" />
|
<ClCompile Include="..\..\src\time\windows\SDL_systime.c" />
|
||||||
|
<ClCompile Include="..\..\src\tray\dummy\SDL_tray.c">
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Desktop.x64'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Desktop.x64'">true</ExcludedFromBuild>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\src\tray\windows\SDL_tray.c">
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.Scarlett.x64'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">true</ExcludedFromBuild>
|
||||||
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Gaming.Xbox.XboxOne.x64'">true</ExcludedFromBuild>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\src\tray\SDL_tray_utils.c" />
|
||||||
<ClCompile Include="..\..\src\video\dummy\SDL_nullevents.c" />
|
<ClCompile Include="..\..\src\video\dummy\SDL_nullevents.c" />
|
||||||
<ClCompile Include="..\..\src\video\dummy\SDL_nullframebuffer.c" />
|
<ClCompile Include="..\..\src\video\dummy\SDL_nullframebuffer.c" />
|
||||||
<ClCompile Include="..\..\src\video\dummy\SDL_nullvideo.c" />
|
<ClCompile Include="..\..\src\video\dummy\SDL_nullvideo.c" />
|
||||||
@@ -865,6 +867,7 @@
|
|||||||
<ClCompile Include="..\..\src\video\SDL_video_unsupported.c" />
|
<ClCompile Include="..\..\src\video\SDL_video_unsupported.c" />
|
||||||
<ClCompile Include="..\..\src\video\SDL_vulkan_utils.c" />
|
<ClCompile Include="..\..\src\video\SDL_vulkan_utils.c" />
|
||||||
<ClCompile Include="..\..\src\video\SDL_yuv.c" />
|
<ClCompile Include="..\..\src\video\SDL_yuv.c" />
|
||||||
|
<ClCompile Include="..\..\src\video\windows\SDL_surface_utils.c" />
|
||||||
<ClCompile Include="..\..\src\video\windows\SDL_windowsclipboard.c" />
|
<ClCompile Include="..\..\src\video\windows\SDL_windowsclipboard.c" />
|
||||||
<ClCompile Include="..\..\src\video\windows\SDL_windowsevents.c" />
|
<ClCompile Include="..\..\src\video\windows\SDL_windowsevents.c" />
|
||||||
<ClCompile Include="..\..\src\video\windows\SDL_windowsframebuffer.c" />
|
<ClCompile Include="..\..\src\video\windows\SDL_windowsframebuffer.c" />
|
||||||
@@ -884,7 +887,6 @@
|
|||||||
<ClCompile Include="..\..\src\video\yuv2rgb\yuv_rgb_sse.c" />
|
<ClCompile Include="..\..\src\video\yuv2rgb\yuv_rgb_sse.c" />
|
||||||
<ClCompile Include="..\..\src\video\yuv2rgb\yuv_rgb_std.c" />
|
<ClCompile Include="..\..\src\video\yuv2rgb\yuv_rgb_std.c" />
|
||||||
<ClCompile Include="..\..\src\gpu\SDL_gpu.c" />
|
<ClCompile Include="..\..\src\gpu\SDL_gpu.c" />
|
||||||
<ClCompile Include="..\..\src\gpu\d3d11\SDL_gpu_d3d11.c" />
|
|
||||||
<ClCompile Include="..\..\src\gpu\d3d12\SDL_gpu_d3d12.c">
|
<ClCompile Include="..\..\src\gpu\d3d12\SDL_gpu_d3d12.c">
|
||||||
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">CompileAsCpp</CompileAs>
|
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.Scarlett.x64'">CompileAsCpp</CompileAs>
|
||||||
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">CompileAsCpp</CompileAs>
|
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Gaming.Xbox.XboxOne.x64'">CompileAsCpp</CompileAs>
|
||||||
|
|||||||
@@ -4,15 +4,6 @@
|
|||||||
<ClCompile Include="..\..\src\core\gdk\SDL_gdk.cpp" />
|
<ClCompile Include="..\..\src\core\gdk\SDL_gdk.cpp" />
|
||||||
<ClCompile Include="..\..\src\core\windows\pch.c" />
|
<ClCompile Include="..\..\src\core\windows\pch.c" />
|
||||||
<ClCompile Include="..\..\src\core\windows\pch_cpp.cpp" />
|
<ClCompile Include="..\..\src\core\windows\pch_cpp.cpp" />
|
||||||
<ClCompile Include="..\..\src\dialog\SDL_dialog_utils.c">
|
|
||||||
<Filter>dialog</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\src\filesystem\SDL_filesystem.c">
|
|
||||||
<Filter>filesystem</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\src\filesystem\windows\SDL_sysfsops.c">
|
|
||||||
<Filter>filesystem\windows</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\src\render\direct3d12\SDL_render_d3d12_xbox.cpp" />
|
<ClCompile Include="..\..\src\render\direct3d12\SDL_render_d3d12_xbox.cpp" />
|
||||||
<ClCompile Include="..\..\src\render\direct3d12\SDL_shaders_d3d12_xboxone.cpp" />
|
<ClCompile Include="..\..\src\render\direct3d12\SDL_shaders_d3d12_xboxone.cpp" />
|
||||||
<ClCompile Include="..\..\src\render\direct3d12\SDL_shaders_d3d12_xboxseries.cpp" />
|
<ClCompile Include="..\..\src\render\direct3d12\SDL_shaders_d3d12_xboxseries.cpp" />
|
||||||
@@ -35,7 +26,6 @@
|
|||||||
<ClCompile Include="..\..\src\audio\SDL_mixer.c" />
|
<ClCompile Include="..\..\src\audio\SDL_mixer.c" />
|
||||||
<ClCompile Include="..\..\src\audio\SDL_wave.c" />
|
<ClCompile Include="..\..\src\audio\SDL_wave.c" />
|
||||||
<ClCompile Include="..\..\src\audio\wasapi\SDL_wasapi.c" />
|
<ClCompile Include="..\..\src\audio\wasapi\SDL_wasapi.c" />
|
||||||
<ClCompile Include="..\..\src\audio\wasapi\SDL_wasapi_win32.c" />
|
|
||||||
<ClCompile Include="..\..\src\core\SDL_core_unsupported.c" />
|
<ClCompile Include="..\..\src\core\SDL_core_unsupported.c" />
|
||||||
<ClCompile Include="..\..\src\core\windows\SDL_hid.c" />
|
<ClCompile Include="..\..\src\core\windows\SDL_hid.c" />
|
||||||
<ClCompile Include="..\..\src\core\windows\SDL_immdevice.c" />
|
<ClCompile Include="..\..\src\core\windows\SDL_immdevice.c" />
|
||||||
@@ -55,10 +45,9 @@
|
|||||||
<ClCompile Include="..\..\src\events\SDL_quit.c" />
|
<ClCompile Include="..\..\src\events\SDL_quit.c" />
|
||||||
<ClCompile Include="..\..\src\events\SDL_touch.c" />
|
<ClCompile Include="..\..\src\events\SDL_touch.c" />
|
||||||
<ClCompile Include="..\..\src\events\SDL_windowevents.c" />
|
<ClCompile Include="..\..\src\events\SDL_windowevents.c" />
|
||||||
<ClCompile Include="..\..\src\file\SDL_iostream.c" />
|
<ClCompile Include="..\..\src\io\SDL_iostream.c" />
|
||||||
<ClCompile Include="..\..\src\filesystem\gdk\SDL_sysfilesystem.cpp" />
|
<ClCompile Include="..\..\src\filesystem\gdk\SDL_sysfilesystem.cpp" />
|
||||||
<ClCompile Include="..\..\src\gpu\SDL_gpu.c" />
|
<ClCompile Include="..\..\src\gpu\SDL_gpu.c" />
|
||||||
<ClCompile Include="..\..\src\gpu\d3d11\SDL_gpu_d3d11.c" />
|
|
||||||
<ClCompile Include="..\..\src\gpu\d3d12\SDL_gpu_d3d12.c" />
|
<ClCompile Include="..\..\src\gpu\d3d12\SDL_gpu_d3d12.c" />
|
||||||
<ClCompile Include="..\..\src\gpu\vulkan\SDL_gpu_vulkan.c" />
|
<ClCompile Include="..\..\src\gpu\vulkan\SDL_gpu_vulkan.c" />
|
||||||
<ClCompile Include="..\..\src\haptic\dummy\SDL_syshaptic.c" />
|
<ClCompile Include="..\..\src\haptic\dummy\SDL_syshaptic.c" />
|
||||||
@@ -96,31 +85,7 @@
|
|||||||
<ClCompile Include="..\..\src\joystick\windows\SDL_windowsjoystick.c" />
|
<ClCompile Include="..\..\src\joystick\windows\SDL_windowsjoystick.c" />
|
||||||
<ClCompile Include="..\..\src\joystick\windows\SDL_windows_gaming_input.c" />
|
<ClCompile Include="..\..\src\joystick\windows\SDL_windows_gaming_input.c" />
|
||||||
<ClCompile Include="..\..\src\joystick\windows\SDL_xinputjoystick.c" />
|
<ClCompile Include="..\..\src\joystick\windows\SDL_xinputjoystick.c" />
|
||||||
<ClCompile Include="..\..\src\libm\e_atan2.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\e_exp.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\e_fmod.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\e_log.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\e_log10.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\e_pow.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\e_rem_pio2.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\e_sqrt.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\k_cos.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\k_rem_pio2.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\k_sin.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\k_tan.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\s_atan.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\s_copysign.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\s_cos.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\s_fabs.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\s_floor.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\s_isinf.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\s_isinff.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\s_isnan.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\s_isnanf.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\s_modf.c" />
|
<ClCompile Include="..\..\src\libm\s_modf.c" />
|
||||||
<ClCompile Include="..\..\src\libm\s_scalbn.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\s_sin.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\s_tan.c" />
|
|
||||||
<ClCompile Include="..\..\src\loadso\windows\SDL_sysloadso.c" />
|
<ClCompile Include="..\..\src\loadso\windows\SDL_sysloadso.c" />
|
||||||
<ClCompile Include="..\..\src\locale\SDL_locale.c" />
|
<ClCompile Include="..\..\src\locale\SDL_locale.c" />
|
||||||
<ClCompile Include="..\..\src\locale\windows\SDL_syslocale.c" />
|
<ClCompile Include="..\..\src\locale\windows\SDL_syslocale.c" />
|
||||||
@@ -191,12 +156,6 @@
|
|||||||
<ClCompile Include="..\..\src\thread\windows\SDL_systls.c" />
|
<ClCompile Include="..\..\src\thread\windows\SDL_systls.c" />
|
||||||
<ClCompile Include="..\..\src\timer\SDL_timer.c" />
|
<ClCompile Include="..\..\src\timer\SDL_timer.c" />
|
||||||
<ClCompile Include="..\..\src\timer\windows\SDL_systimer.c" />
|
<ClCompile Include="..\..\src\timer\windows\SDL_systimer.c" />
|
||||||
<ClCompile Include="..\..\src\time\SDL_time.c">
|
|
||||||
<Filter>time</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\src\time\windows\SDL_systime.c">
|
|
||||||
<Filter>time\windows</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\src\video\dummy\SDL_nullevents.c" />
|
<ClCompile Include="..\..\src\video\dummy\SDL_nullevents.c" />
|
||||||
<ClCompile Include="..\..\src\video\dummy\SDL_nullframebuffer.c" />
|
<ClCompile Include="..\..\src\video\dummy\SDL_nullframebuffer.c" />
|
||||||
<ClCompile Include="..\..\src\video\dummy\SDL_nullvideo.c" />
|
<ClCompile Include="..\..\src\video\dummy\SDL_nullvideo.c" />
|
||||||
@@ -222,6 +181,7 @@
|
|||||||
<ClCompile Include="..\..\src\video\SDL_video_unsupported.c" />
|
<ClCompile Include="..\..\src\video\SDL_video_unsupported.c" />
|
||||||
<ClCompile Include="..\..\src\video\SDL_vulkan_utils.c" />
|
<ClCompile Include="..\..\src\video\SDL_vulkan_utils.c" />
|
||||||
<ClCompile Include="..\..\src\video\SDL_yuv.c" />
|
<ClCompile Include="..\..\src\video\SDL_yuv.c" />
|
||||||
|
<ClCompile Include="..\..\src\video\windows\SDL_surface_utils.c" />
|
||||||
<ClCompile Include="..\..\src\video\windows\SDL_windowsclipboard.c" />
|
<ClCompile Include="..\..\src\video\windows\SDL_windowsclipboard.c" />
|
||||||
<ClCompile Include="..\..\src\video\windows\SDL_windowsevents.c" />
|
<ClCompile Include="..\..\src\video\windows\SDL_windowsevents.c" />
|
||||||
<ClCompile Include="..\..\src\video\windows\SDL_windowsframebuffer.c" />
|
<ClCompile Include="..\..\src\video\windows\SDL_windowsframebuffer.c" />
|
||||||
@@ -237,8 +197,33 @@
|
|||||||
<ClCompile Include="..\..\src\video\windows\SDL_windowsvideo.c" />
|
<ClCompile Include="..\..\src\video\windows\SDL_windowsvideo.c" />
|
||||||
<ClCompile Include="..\..\src\video\windows\SDL_windowsvulkan.c" />
|
<ClCompile Include="..\..\src\video\windows\SDL_windowsvulkan.c" />
|
||||||
<ClCompile Include="..\..\src\video\windows\SDL_windowswindow.c" />
|
<ClCompile Include="..\..\src\video\windows\SDL_windowswindow.c" />
|
||||||
<ClCompile Include="..\..\src\video\yuv2rgb\yuv_rgb.c" />
|
|
||||||
<ClCompile Include="..\..\src\filesystem\windows\SDL_sysfilesystem.c" />
|
<ClCompile Include="..\..\src\filesystem\windows\SDL_sysfilesystem.c" />
|
||||||
|
<ClCompile Include="..\..\src\camera\dummy\SDL_camera_dummy.c" />
|
||||||
|
<ClCompile Include="..\..\src\camera\SDL_camera.c" />
|
||||||
|
<ClCompile Include="..\..\src\dialog\SDL_dialog.c" />
|
||||||
|
<ClCompile Include="..\..\src\dialog\SDL_dialog_utils.c" />
|
||||||
|
<ClCompile Include="..\..\src\filesystem\SDL_filesystem.c" />
|
||||||
|
<ClCompile Include="..\..\src\filesystem\windows\SDL_sysfsops.c" />
|
||||||
|
<ClCompile Include="..\..\src\io\generic\SDL_asyncio_generic.c" />
|
||||||
|
<ClCompile Include="..\..\src\io\SDL_asyncio.c" />
|
||||||
|
<ClCompile Include="..\..\src\io\windows\SDL_asyncio_windows_ioring.c" />
|
||||||
|
<ClCompile Include="..\..\src\dialog\dummy\SDL_dummydialog.c" />
|
||||||
|
<ClCompile Include="..\..\src\dialog\windows\SDL_windowsdialog.c" />
|
||||||
|
<ClCompile Include="..\..\src\render\gpu\SDL_pipeline_gpu.c" />
|
||||||
|
<ClCompile Include="..\..\src\render\gpu\SDL_render_gpu.c" />
|
||||||
|
<ClCompile Include="..\..\src\render\gpu\SDL_shaders_gpu.c" />
|
||||||
|
<ClCompile Include="..\..\src\render\vulkan\SDL_render_vulkan.c" />
|
||||||
|
<ClCompile Include="..\..\src\render\vulkan\SDL_shaders_vulkan.c" />
|
||||||
|
<ClCompile Include="..\..\src\storage\generic\SDL_genericstorage.c" />
|
||||||
|
<ClCompile Include="..\..\src\storage\SDL_storage.c" />
|
||||||
|
<ClCompile Include="..\..\src\time\SDL_time.c" />
|
||||||
|
<ClCompile Include="..\..\src\time\windows\SDL_systime.c" />
|
||||||
|
<ClCompile Include="..\..\src\tray\dummy\SDL_tray.c" />
|
||||||
|
<ClCompile Include="..\..\src\tray\windows\SDL_tray.c" />
|
||||||
|
<ClCompile Include="..\..\src\tray\SDL_tray_utils.c" />
|
||||||
|
<ClCompile Include="..\..\src\video\yuv2rgb\yuv_rgb_lsx.c" />
|
||||||
|
<ClCompile Include="..\..\src\video\yuv2rgb\yuv_rgb_sse.c" />
|
||||||
|
<ClCompile Include="..\..\src\video\yuv2rgb\yuv_rgb_std.c" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClInclude Include="..\..\include\SDL3\SDL_begin_code.h" />
|
<ClInclude Include="..\..\include\SDL3\SDL_begin_code.h" />
|
||||||
@@ -350,9 +335,6 @@
|
|||||||
<ClInclude Include="..\..\src\events\SDL_mouse_c.h" />
|
<ClInclude Include="..\..\src\events\SDL_mouse_c.h" />
|
||||||
<ClInclude Include="..\..\src\events\SDL_touch_c.h" />
|
<ClInclude Include="..\..\src\events\SDL_touch_c.h" />
|
||||||
<ClInclude Include="..\..\src\events\SDL_windowevents_c.h" />
|
<ClInclude Include="..\..\src\events\SDL_windowevents_c.h" />
|
||||||
<ClInclude Include="..\..\src\filesystem\SDL_sysfilesystem.h">
|
|
||||||
<Filter>filesystem</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="..\..\src\gpu\SDL_sysgpu.h" />
|
<ClInclude Include="..\..\src\gpu\SDL_sysgpu.h" />
|
||||||
<ClInclude Include="..\..\src\haptic\SDL_haptic_c.h" />
|
<ClInclude Include="..\..\src\haptic\SDL_haptic_c.h" />
|
||||||
<ClInclude Include="..\..\src\haptic\SDL_syshaptic.h" />
|
<ClInclude Include="..\..\src\haptic\SDL_syshaptic.h" />
|
||||||
@@ -457,6 +439,7 @@
|
|||||||
<ClInclude Include="..\..\src\video\SDL_vulkan_internal.h" />
|
<ClInclude Include="..\..\src\video\SDL_vulkan_internal.h" />
|
||||||
<ClInclude Include="..\..\src\video\SDL_yuv_c.h" />
|
<ClInclude Include="..\..\src\video\SDL_yuv_c.h" />
|
||||||
<ClInclude Include="..\..\src\video\windows\SDL_msctf.h" />
|
<ClInclude Include="..\..\src\video\windows\SDL_msctf.h" />
|
||||||
|
<ClInclude Include="..\..\src\video\windows\SDL_surface_utils.h" />
|
||||||
<ClInclude Include="..\..\src\video\windows\SDL_windowsclipboard.h" />
|
<ClInclude Include="..\..\src\video\windows\SDL_windowsclipboard.h" />
|
||||||
<ClInclude Include="..\..\src\video\windows\SDL_windowsevents.h" />
|
<ClInclude Include="..\..\src\video\windows\SDL_windowsevents.h" />
|
||||||
<ClInclude Include="..\..\src\video\windows\SDL_windowsframebuffer.h" />
|
<ClInclude Include="..\..\src\video\windows\SDL_windowsframebuffer.h" />
|
||||||
@@ -476,6 +459,21 @@
|
|||||||
<ClInclude Include="..\..\src\video\yuv2rgb\yuv_rgb.h" />
|
<ClInclude Include="..\..\src\video\yuv2rgb\yuv_rgb.h" />
|
||||||
<ClInclude Include="..\..\src\video\yuv2rgb\yuv_rgb_sse_func.h" />
|
<ClInclude Include="..\..\src\video\yuv2rgb\yuv_rgb_sse_func.h" />
|
||||||
<ClInclude Include="..\..\src\video\yuv2rgb\yuv_rgb_std_func.h" />
|
<ClInclude Include="..\..\src\video\yuv2rgb\yuv_rgb_std_func.h" />
|
||||||
|
<ClInclude Include="..\..\include\SDL3\SDL_camera.h" />
|
||||||
|
<ClInclude Include="..\..\include\SDL3\SDL_asyncio.h" />
|
||||||
|
<ClInclude Include="..\..\include\SDL3\SDL_storage.h" />
|
||||||
|
<ClInclude Include="..\..\include\SDL3\SDL_time.h" />
|
||||||
|
<ClInclude Include="..\..\src\camera\SDL_camera_c.h" />
|
||||||
|
<ClInclude Include="..\..\src\camera\SDL_syscamera.h" />
|
||||||
|
<ClInclude Include="..\..\src\filesystem\SDL_sysfilesystem.h" />
|
||||||
|
<ClInclude Include="..\..\src\io\SDL_asyncio_c.h" />
|
||||||
|
<ClInclude Include="..\..\src\io\SDL_sysasyncio.h" />
|
||||||
|
<ClInclude Include="..\..\src\video\yuv2rgb\yuv_rgb_common.h" />
|
||||||
|
<ClInclude Include="..\..\src\video\yuv2rgb\yuv_rgb_internal.h" />
|
||||||
|
<ClInclude Include="..\..\src\video\yuv2rgb\yuv_rgb_lsx.h" />
|
||||||
|
<ClInclude Include="..\..\src\video\yuv2rgb\yuv_rgb_lsx_func.h" />
|
||||||
|
<ClInclude Include="..\..\src\video\yuv2rgb\yuv_rgb_sse.h" />
|
||||||
|
<ClInclude Include="..\..\src\video\yuv2rgb\yuv_rgb_std.h" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ResourceCompile Include="..\..\src\core\windows\version.rc" />
|
<ResourceCompile Include="..\..\src\core\windows\version.rc" />
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
Copyright (C) 1997-2024 Sam Lantinga <slouken@libsdl.org>
|
Copyright (C) 1997-2025 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
|
||||||
|
|||||||
+283
-10
@@ -12,7 +12,7 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testatomic", "tests\testato
|
|||||||
EndProject
|
EndProject
|
||||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testautomation", "tests\testautomation\testautomation.vcxproj", "{9C7E8C03-3130-436D-A97E-E8F8ED1AC4EA}"
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testautomation", "tests\testautomation\testautomation.vcxproj", "{9C7E8C03-3130-436D-A97E-E8F8ED1AC4EA}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testdialog", "tests\testdialog\testdialog.vcxproj", "{97A3A89b-E023-48CD-905F-CDBDE8D951DE}"
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testdialog", "tests\testdialog\testdialog.vcxproj", "{97A3A89B-E023-48CD-905F-CDBDE8D951DE}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testdraw", "tests\testdraw\testdraw.vcxproj", "{8682FE1E-0CF6-4EDD-9BB5-1733D8C8B4DF}"
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testdraw", "tests\testdraw\testdraw.vcxproj", "{8682FE1E-0CF6-4EDD-9BB5-1733D8C8B4DF}"
|
||||||
EndProject
|
EndProject
|
||||||
@@ -54,6 +54,67 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testsurround", "tests\tests
|
|||||||
EndProject
|
EndProject
|
||||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testpen", "tests\testpen\testpen.vcxproj", "{C4E04D18-EF76-4B42-B4C2-16A1BACDC1A3}"
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "testpen", "tests\testpen\testpen.vcxproj", "{C4E04D18-EF76-4B42-B4C2-16A1BACDC1A3}"
|
||||||
EndProject
|
EndProject
|
||||||
|
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "examples", "examples", "{1498F0CD-F4DA-4847-9CB2-FB18D48061D5}"
|
||||||
|
ProjectSection(SolutionItems) = preProject
|
||||||
|
examples\Directory.Build.props = examples\Directory.Build.props
|
||||||
|
EndProjectSection
|
||||||
|
EndProject
|
||||||
|
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "audio", "audio", "{1B61A1B7-92DE-4C37-9151-D2928D6449AB}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "01-simple-playback", "examples\audio\01-simple-playback\01-simple-playback.vcxproj", "{EB448819-74BC-40C9-A61A-4D4ECD55F9D5}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "02-simple-playback-callback", "examples\audio\02-simple-playback-callback\02-simple-playback-callback.vcxproj", "{6B710DFF-8A4A-40A2-BF2D-88D266F3D4F0}"
|
||||||
|
EndProject
|
||||||
|
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "camera", "camera", "{AAEC8338-4D33-4AF5-9A1F-B9FF027D4607}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "01-read-and-draw", "examples\camera\01-read-and-draw\01-read-and-draw.vcxproj", "{510ACF0C-4012-4216-98EF-E4F155DE33CE}"
|
||||||
|
EndProject
|
||||||
|
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "game", "game", "{D1BF59F6-22DC-493B-BDEB-451A50DA793D}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "01-snake", "examples\demo\01-snake\01-snake.vcxproj", "{7820969A-5B7B-4046-BB0A-82905D457FC5}"
|
||||||
|
EndProject
|
||||||
|
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "pen", "pen", "{F2247885-8EE8-42F4-A702-4155587620E0}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "01-drawing-lines", "examples\pen\01-drawing-lines\01-drawing-lines.vcxproj", "{5EDA1ED3-8213-4C12-B0DF-B631EB611804}"
|
||||||
|
EndProject
|
||||||
|
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "renderer", "renderer", "{F91DDAF0-B74F-4516-A1A9-42ED8DFCBF6A}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "01-clear", "examples\renderer\01-clear\01-clear.vcxproj", "{896557AC-7575-480C-8FFD-AB08B5DA305D}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "02-primitives", "examples\renderer\02-primitives\02-primitives.vcxproj", "{504DC7EC-D82E-448E-9C7D-3BE7981592B3}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "03-lines", "examples\renderer\03-lines\03-lines.vcxproj", "{BDE7DBC0-DCE7-432E-8750-C4AE55463699}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "04-points", "examples\renderer\04-points\04-points.vcxproj", "{7B250AB1-92D3-4F1A-BEB4-19605A69CEDB}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "05-rectangles", "examples\renderer\05-rectangles\05-rectangles.vcxproj", "{4C0E3A60-24F8-4D4C-81C0-C1777F5E7B17}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "06-textures", "examples\renderer\06-textures\06-textures.vcxproj", "{B3D61611-BFA3-4B66-ADC7-A3CE578A6D36}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "07-streaming-textures", "examples\renderer\07-streaming-textures\07-streaming-textures.vcxproj", "{540AE143-A58F-4D3B-B843-94EA8576522D}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "08-rotating-textures", "examples\renderer\08-rotating-textures\08-rotating-textures.vcxproj", "{7091C001-3D71-47D4-B27B-E99271E5B987}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "09-scaling-textures", "examples\renderer\09-scaling-textures\09-scaling-textures.vcxproj", "{AF8BC84E-0268-4D1F-9503-84D9EE84C65F}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "10-geometry", "examples\renderer\10-geometry\10-geometry.vcxproj", "{8B9AB23E-3F40-4145-BA1C-B2CEACFBBD72}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "11-color-mods", "examples\renderer\11-color-mods\11-color-mods.vcxproj", "{E9C6A7A6-22C0-42E6-AC9C-8580A396D077}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "14-viewport", "examples\renderer\14-viewport\14-viewport.vcxproj", "{B85BC466-C7F0-4C6D-8ECF-ED57E775FC73}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "15-cliprect", "examples\renderer\15-cliprect\15-cliprect.vcxproj", "{9DBD962F-EA4D-44E3-8E8E-31D7F060A2DC}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "17-read-pixels", "examples\renderer\17-read-pixels\17-read-pixels.vcxproj", "{EEF00329-4598-4E34-B969-9DD4B0815E6C}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "18-debug-text", "examples\renderer\18-debug-text\18-debug-text.vcxproj", "{CC0714AA-8A81-4E29-BEC5-2E4FBC50E7FE}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "03-load-wav", "examples\audio\03-load-wav\03-load-wav.vcxproj", "{608C6C67-7766-471F-BBFF-8B00086039AF}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "02-woodeneye-008", "examples\demo\02-woodeneye-008\02-woodeneye-008.vcxproj", "{A3F601E0-B54C-4DD8-8A97-FDEF7624EE60}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "03-infinite-monkeys", "examples\demo\03-infinite-monkeys\03-infinite-monkeys.vcxproj", "{75AEE75A-C016-4497-960B-D767B822237D}"
|
||||||
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
Debug|Win32 = Debug|Win32
|
Debug|Win32 = Debug|Win32
|
||||||
@@ -102,14 +163,14 @@ Global
|
|||||||
{9C7E8C03-3130-436D-A97E-E8F8ED1AC4EA}.Release|Win32.Build.0 = Release|Win32
|
{9C7E8C03-3130-436D-A97E-E8F8ED1AC4EA}.Release|Win32.Build.0 = Release|Win32
|
||||||
{9C7E8C03-3130-436D-A97E-E8F8ED1AC4EA}.Release|x64.ActiveCfg = Release|x64
|
{9C7E8C03-3130-436D-A97E-E8F8ED1AC4EA}.Release|x64.ActiveCfg = Release|x64
|
||||||
{9C7E8C03-3130-436D-A97E-E8F8ED1AC4EA}.Release|x64.Build.0 = Release|x64
|
{9C7E8C03-3130-436D-A97E-E8F8ED1AC4EA}.Release|x64.Build.0 = Release|x64
|
||||||
{97A3A89b-E023-48CD-905F-CDBDE8D951DE}.Debug|Win32.ActiveCfg = Debug|Win32
|
{97A3A89B-E023-48CD-905F-CDBDE8D951DE}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
{97A3A89b-E023-48CD-905F-CDBDE8D951DE}.Debug|Win32.Build.0 = Debug|Win32
|
{97A3A89B-E023-48CD-905F-CDBDE8D951DE}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
{97A3A89b-E023-48CD-905F-CDBDE8D951DE}.Debug|x64.ActiveCfg = Debug|x64
|
{97A3A89B-E023-48CD-905F-CDBDE8D951DE}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
{97A3A89b-E023-48CD-905F-CDBDE8D951DE}.Debug|x64.Build.0 = Debug|x64
|
{97A3A89B-E023-48CD-905F-CDBDE8D951DE}.Debug|x64.Build.0 = Debug|x64
|
||||||
{97A3A89b-E023-48CD-905F-CDBDE8D951DE}.Release|Win32.ActiveCfg = Release|Win32
|
{97A3A89B-E023-48CD-905F-CDBDE8D951DE}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
{97A3A89b-E023-48CD-905F-CDBDE8D951DE}.Release|Win32.Build.0 = Release|Win32
|
{97A3A89B-E023-48CD-905F-CDBDE8D951DE}.Release|Win32.Build.0 = Release|Win32
|
||||||
{97A3A89b-E023-48CD-905F-CDBDE8D951DE}.Release|x64.ActiveCfg = Release|x64
|
{97A3A89B-E023-48CD-905F-CDBDE8D951DE}.Release|x64.ActiveCfg = Release|x64
|
||||||
{97A3A89b-E023-48CD-905F-CDBDE8D951DE}.Release|x64.Build.0 = Release|x64
|
{97A3A89B-E023-48CD-905F-CDBDE8D951DE}.Release|x64.Build.0 = Release|x64
|
||||||
{8682FE1E-0CF6-4EDD-9BB5-1733D8C8B4DF}.Debug|Win32.ActiveCfg = Debug|Win32
|
{8682FE1E-0CF6-4EDD-9BB5-1733D8C8B4DF}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
{8682FE1E-0CF6-4EDD-9BB5-1733D8C8B4DF}.Debug|Win32.Build.0 = Debug|Win32
|
{8682FE1E-0CF6-4EDD-9BB5-1733D8C8B4DF}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
{8682FE1E-0CF6-4EDD-9BB5-1733D8C8B4DF}.Debug|x64.ActiveCfg = Debug|x64
|
{8682FE1E-0CF6-4EDD-9BB5-1733D8C8B4DF}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
@@ -270,6 +331,190 @@ Global
|
|||||||
{C4E04D18-EF76-4B42-B4C2-16A1BACDC1A3}.Release|Win32.Build.0 = Release|Win32
|
{C4E04D18-EF76-4B42-B4C2-16A1BACDC1A3}.Release|Win32.Build.0 = Release|Win32
|
||||||
{C4E04D18-EF76-4B42-B4C2-16A1BACDC1A3}.Release|x64.ActiveCfg = Release|x64
|
{C4E04D18-EF76-4B42-B4C2-16A1BACDC1A3}.Release|x64.ActiveCfg = Release|x64
|
||||||
{C4E04D18-EF76-4B42-B4C2-16A1BACDC1A3}.Release|x64.Build.0 = Release|x64
|
{C4E04D18-EF76-4B42-B4C2-16A1BACDC1A3}.Release|x64.Build.0 = Release|x64
|
||||||
|
{EB448819-74BC-40C9-A61A-4D4ECD55F9D5}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{EB448819-74BC-40C9-A61A-4D4ECD55F9D5}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{EB448819-74BC-40C9-A61A-4D4ECD55F9D5}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{EB448819-74BC-40C9-A61A-4D4ECD55F9D5}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{EB448819-74BC-40C9-A61A-4D4ECD55F9D5}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{EB448819-74BC-40C9-A61A-4D4ECD55F9D5}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{EB448819-74BC-40C9-A61A-4D4ECD55F9D5}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{EB448819-74BC-40C9-A61A-4D4ECD55F9D5}.Release|x64.Build.0 = Release|x64
|
||||||
|
{6B710DFF-8A4A-40A2-BF2D-88D266F3D4F0}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{6B710DFF-8A4A-40A2-BF2D-88D266F3D4F0}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{6B710DFF-8A4A-40A2-BF2D-88D266F3D4F0}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{6B710DFF-8A4A-40A2-BF2D-88D266F3D4F0}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{6B710DFF-8A4A-40A2-BF2D-88D266F3D4F0}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{6B710DFF-8A4A-40A2-BF2D-88D266F3D4F0}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{6B710DFF-8A4A-40A2-BF2D-88D266F3D4F0}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{6B710DFF-8A4A-40A2-BF2D-88D266F3D4F0}.Release|x64.Build.0 = Release|x64
|
||||||
|
{510ACF0C-4012-4216-98EF-E4F155DE33CE}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{510ACF0C-4012-4216-98EF-E4F155DE33CE}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{510ACF0C-4012-4216-98EF-E4F155DE33CE}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{510ACF0C-4012-4216-98EF-E4F155DE33CE}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{510ACF0C-4012-4216-98EF-E4F155DE33CE}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{510ACF0C-4012-4216-98EF-E4F155DE33CE}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{510ACF0C-4012-4216-98EF-E4F155DE33CE}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{510ACF0C-4012-4216-98EF-E4F155DE33CE}.Release|x64.Build.0 = Release|x64
|
||||||
|
{7820969A-5B7B-4046-BB0A-82905D457FC5}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{7820969A-5B7B-4046-BB0A-82905D457FC5}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{7820969A-5B7B-4046-BB0A-82905D457FC5}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{7820969A-5B7B-4046-BB0A-82905D457FC5}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{7820969A-5B7B-4046-BB0A-82905D457FC5}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{7820969A-5B7B-4046-BB0A-82905D457FC5}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{7820969A-5B7B-4046-BB0A-82905D457FC5}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{7820969A-5B7B-4046-BB0A-82905D457FC5}.Release|x64.Build.0 = Release|x64
|
||||||
|
{5EDA1ED3-8213-4C12-B0DF-B631EB611804}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{5EDA1ED3-8213-4C12-B0DF-B631EB611804}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{5EDA1ED3-8213-4C12-B0DF-B631EB611804}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{5EDA1ED3-8213-4C12-B0DF-B631EB611804}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{5EDA1ED3-8213-4C12-B0DF-B631EB611804}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{5EDA1ED3-8213-4C12-B0DF-B631EB611804}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{5EDA1ED3-8213-4C12-B0DF-B631EB611804}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{5EDA1ED3-8213-4C12-B0DF-B631EB611804}.Release|x64.Build.0 = Release|x64
|
||||||
|
{896557AC-7575-480C-8FFD-AB08B5DA305D}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{896557AC-7575-480C-8FFD-AB08B5DA305D}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{896557AC-7575-480C-8FFD-AB08B5DA305D}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{896557AC-7575-480C-8FFD-AB08B5DA305D}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{896557AC-7575-480C-8FFD-AB08B5DA305D}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{896557AC-7575-480C-8FFD-AB08B5DA305D}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{896557AC-7575-480C-8FFD-AB08B5DA305D}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{896557AC-7575-480C-8FFD-AB08B5DA305D}.Release|x64.Build.0 = Release|x64
|
||||||
|
{504DC7EC-D82E-448E-9C7D-3BE7981592B3}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{504DC7EC-D82E-448E-9C7D-3BE7981592B3}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{504DC7EC-D82E-448E-9C7D-3BE7981592B3}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{504DC7EC-D82E-448E-9C7D-3BE7981592B3}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{504DC7EC-D82E-448E-9C7D-3BE7981592B3}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{504DC7EC-D82E-448E-9C7D-3BE7981592B3}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{504DC7EC-D82E-448E-9C7D-3BE7981592B3}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{504DC7EC-D82E-448E-9C7D-3BE7981592B3}.Release|x64.Build.0 = Release|x64
|
||||||
|
{BDE7DBC0-DCE7-432E-8750-C4AE55463699}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{BDE7DBC0-DCE7-432E-8750-C4AE55463699}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{BDE7DBC0-DCE7-432E-8750-C4AE55463699}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{BDE7DBC0-DCE7-432E-8750-C4AE55463699}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{BDE7DBC0-DCE7-432E-8750-C4AE55463699}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{BDE7DBC0-DCE7-432E-8750-C4AE55463699}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{BDE7DBC0-DCE7-432E-8750-C4AE55463699}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{BDE7DBC0-DCE7-432E-8750-C4AE55463699}.Release|x64.Build.0 = Release|x64
|
||||||
|
{7B250AB1-92D3-4F1A-BEB4-19605A69CEDB}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{7B250AB1-92D3-4F1A-BEB4-19605A69CEDB}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{7B250AB1-92D3-4F1A-BEB4-19605A69CEDB}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{7B250AB1-92D3-4F1A-BEB4-19605A69CEDB}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{7B250AB1-92D3-4F1A-BEB4-19605A69CEDB}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{7B250AB1-92D3-4F1A-BEB4-19605A69CEDB}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{7B250AB1-92D3-4F1A-BEB4-19605A69CEDB}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{7B250AB1-92D3-4F1A-BEB4-19605A69CEDB}.Release|x64.Build.0 = Release|x64
|
||||||
|
{4C0E3A60-24F8-4D4C-81C0-C1777F5E7B17}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{4C0E3A60-24F8-4D4C-81C0-C1777F5E7B17}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{4C0E3A60-24F8-4D4C-81C0-C1777F5E7B17}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{4C0E3A60-24F8-4D4C-81C0-C1777F5E7B17}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{4C0E3A60-24F8-4D4C-81C0-C1777F5E7B17}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{4C0E3A60-24F8-4D4C-81C0-C1777F5E7B17}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{4C0E3A60-24F8-4D4C-81C0-C1777F5E7B17}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{4C0E3A60-24F8-4D4C-81C0-C1777F5E7B17}.Release|x64.Build.0 = Release|x64
|
||||||
|
{B3D61611-BFA3-4B66-ADC7-A3CE578A6D36}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{B3D61611-BFA3-4B66-ADC7-A3CE578A6D36}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{B3D61611-BFA3-4B66-ADC7-A3CE578A6D36}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{B3D61611-BFA3-4B66-ADC7-A3CE578A6D36}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{B3D61611-BFA3-4B66-ADC7-A3CE578A6D36}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{B3D61611-BFA3-4B66-ADC7-A3CE578A6D36}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{B3D61611-BFA3-4B66-ADC7-A3CE578A6D36}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{B3D61611-BFA3-4B66-ADC7-A3CE578A6D36}.Release|x64.Build.0 = Release|x64
|
||||||
|
{540AE143-A58F-4D3B-B843-94EA8576522D}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{540AE143-A58F-4D3B-B843-94EA8576522D}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{540AE143-A58F-4D3B-B843-94EA8576522D}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{540AE143-A58F-4D3B-B843-94EA8576522D}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{540AE143-A58F-4D3B-B843-94EA8576522D}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{540AE143-A58F-4D3B-B843-94EA8576522D}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{540AE143-A58F-4D3B-B843-94EA8576522D}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{540AE143-A58F-4D3B-B843-94EA8576522D}.Release|x64.Build.0 = Release|x64
|
||||||
|
{7091C001-3D71-47D4-B27B-E99271E5B987}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{7091C001-3D71-47D4-B27B-E99271E5B987}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{7091C001-3D71-47D4-B27B-E99271E5B987}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{7091C001-3D71-47D4-B27B-E99271E5B987}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{7091C001-3D71-47D4-B27B-E99271E5B987}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{7091C001-3D71-47D4-B27B-E99271E5B987}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{7091C001-3D71-47D4-B27B-E99271E5B987}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{7091C001-3D71-47D4-B27B-E99271E5B987}.Release|x64.Build.0 = Release|x64
|
||||||
|
{AF8BC84E-0268-4D1F-9503-84D9EE84C65F}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{AF8BC84E-0268-4D1F-9503-84D9EE84C65F}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{AF8BC84E-0268-4D1F-9503-84D9EE84C65F}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{AF8BC84E-0268-4D1F-9503-84D9EE84C65F}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{AF8BC84E-0268-4D1F-9503-84D9EE84C65F}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{AF8BC84E-0268-4D1F-9503-84D9EE84C65F}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{AF8BC84E-0268-4D1F-9503-84D9EE84C65F}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{AF8BC84E-0268-4D1F-9503-84D9EE84C65F}.Release|x64.Build.0 = Release|x64
|
||||||
|
{8B9AB23E-3F40-4145-BA1C-B2CEACFBBD72}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{8B9AB23E-3F40-4145-BA1C-B2CEACFBBD72}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{8B9AB23E-3F40-4145-BA1C-B2CEACFBBD72}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{8B9AB23E-3F40-4145-BA1C-B2CEACFBBD72}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{8B9AB23E-3F40-4145-BA1C-B2CEACFBBD72}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{8B9AB23E-3F40-4145-BA1C-B2CEACFBBD72}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{8B9AB23E-3F40-4145-BA1C-B2CEACFBBD72}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{8B9AB23E-3F40-4145-BA1C-B2CEACFBBD72}.Release|x64.Build.0 = Release|x64
|
||||||
|
{E9C6A7A6-22C0-42E6-AC9C-8580A396D077}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{E9C6A7A6-22C0-42E6-AC9C-8580A396D077}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{E9C6A7A6-22C0-42E6-AC9C-8580A396D077}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{E9C6A7A6-22C0-42E6-AC9C-8580A396D077}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{E9C6A7A6-22C0-42E6-AC9C-8580A396D077}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{E9C6A7A6-22C0-42E6-AC9C-8580A396D077}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{E9C6A7A6-22C0-42E6-AC9C-8580A396D077}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{E9C6A7A6-22C0-42E6-AC9C-8580A396D077}.Release|x64.Build.0 = Release|x64
|
||||||
|
{B85BC466-C7F0-4C6D-8ECF-ED57E775FC73}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{B85BC466-C7F0-4C6D-8ECF-ED57E775FC73}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{B85BC466-C7F0-4C6D-8ECF-ED57E775FC73}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{B85BC466-C7F0-4C6D-8ECF-ED57E775FC73}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{B85BC466-C7F0-4C6D-8ECF-ED57E775FC73}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{B85BC466-C7F0-4C6D-8ECF-ED57E775FC73}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{B85BC466-C7F0-4C6D-8ECF-ED57E775FC73}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{B85BC466-C7F0-4C6D-8ECF-ED57E775FC73}.Release|x64.Build.0 = Release|x64
|
||||||
|
{9DBD962F-EA4D-44E3-8E8E-31D7F060A2DC}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{9DBD962F-EA4D-44E3-8E8E-31D7F060A2DC}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{9DBD962F-EA4D-44E3-8E8E-31D7F060A2DC}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{9DBD962F-EA4D-44E3-8E8E-31D7F060A2DC}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{9DBD962F-EA4D-44E3-8E8E-31D7F060A2DC}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{9DBD962F-EA4D-44E3-8E8E-31D7F060A2DC}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{9DBD962F-EA4D-44E3-8E8E-31D7F060A2DC}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{9DBD962F-EA4D-44E3-8E8E-31D7F060A2DC}.Release|x64.Build.0 = Release|x64
|
||||||
|
{EEF00329-4598-4E34-B969-9DD4B0815E6C}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{EEF00329-4598-4E34-B969-9DD4B0815E6C}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{EEF00329-4598-4E34-B969-9DD4B0815E6C}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{EEF00329-4598-4E34-B969-9DD4B0815E6C}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{EEF00329-4598-4E34-B969-9DD4B0815E6C}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{EEF00329-4598-4E34-B969-9DD4B0815E6C}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{EEF00329-4598-4E34-B969-9DD4B0815E6C}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{EEF00329-4598-4E34-B969-9DD4B0815E6C}.Release|x64.Build.0 = Release|x64
|
||||||
|
{CC0714AA-8A81-4E29-BEC5-2E4FBC50E7FE}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{CC0714AA-8A81-4E29-BEC5-2E4FBC50E7FE}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{CC0714AA-8A81-4E29-BEC5-2E4FBC50E7FE}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{CC0714AA-8A81-4E29-BEC5-2E4FBC50E7FE}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{CC0714AA-8A81-4E29-BEC5-2E4FBC50E7FE}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{CC0714AA-8A81-4E29-BEC5-2E4FBC50E7FE}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{CC0714AA-8A81-4E29-BEC5-2E4FBC50E7FE}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{CC0714AA-8A81-4E29-BEC5-2E4FBC50E7FE}.Release|x64.Build.0 = Release|x64
|
||||||
|
{608C6C67-7766-471F-BBFF-8B00086039AF}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{608C6C67-7766-471F-BBFF-8B00086039AF}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{608C6C67-7766-471F-BBFF-8B00086039AF}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{608C6C67-7766-471F-BBFF-8B00086039AF}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{608C6C67-7766-471F-BBFF-8B00086039AF}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{608C6C67-7766-471F-BBFF-8B00086039AF}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{608C6C67-7766-471F-BBFF-8B00086039AF}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{608C6C67-7766-471F-BBFF-8B00086039AF}.Release|x64.Build.0 = Release|x64
|
||||||
|
{A3F601E0-B54C-4DD8-8A97-FDEF7624EE60}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{A3F601E0-B54C-4DD8-8A97-FDEF7624EE60}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{A3F601E0-B54C-4DD8-8A97-FDEF7624EE60}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{A3F601E0-B54C-4DD8-8A97-FDEF7624EE60}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{A3F601E0-B54C-4DD8-8A97-FDEF7624EE60}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{A3F601E0-B54C-4DD8-8A97-FDEF7624EE60}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{A3F601E0-B54C-4DD8-8A97-FDEF7624EE60}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{A3F601E0-B54C-4DD8-8A97-FDEF7624EE60}.Release|x64.Build.0 = Release|x64
|
||||||
|
{75AEE75A-C016-4497-960B-D767B822237D}.Debug|Win32.ActiveCfg = Debug|Win32
|
||||||
|
{75AEE75A-C016-4497-960B-D767B822237D}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
|
{75AEE75A-C016-4497-960B-D767B822237D}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{75AEE75A-C016-4497-960B-D767B822237D}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{75AEE75A-C016-4497-960B-D767B822237D}.Release|Win32.ActiveCfg = Release|Win32
|
||||||
|
{75AEE75A-C016-4497-960B-D767B822237D}.Release|Win32.Build.0 = Release|Win32
|
||||||
|
{75AEE75A-C016-4497-960B-D767B822237D}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{75AEE75A-C016-4497-960B-D767B822237D}.Release|x64.Build.0 = Release|x64
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
@@ -279,7 +524,7 @@ Global
|
|||||||
{AAAD1CB5-7ADA-47AE-85A0-08A6EC48FAFB} = {D69D5741-611F-4E14-8541-1FEE94F50B5A}
|
{AAAD1CB5-7ADA-47AE-85A0-08A6EC48FAFB} = {D69D5741-611F-4E14-8541-1FEE94F50B5A}
|
||||||
{66B32F7E-5716-48D0-B5B9-D832FD052DD5} = {D69D5741-611F-4E14-8541-1FEE94F50B5A}
|
{66B32F7E-5716-48D0-B5B9-D832FD052DD5} = {D69D5741-611F-4E14-8541-1FEE94F50B5A}
|
||||||
{9C7E8C03-3130-436D-A97E-E8F8ED1AC4EA} = {D69D5741-611F-4E14-8541-1FEE94F50B5A}
|
{9C7E8C03-3130-436D-A97E-E8F8ED1AC4EA} = {D69D5741-611F-4E14-8541-1FEE94F50B5A}
|
||||||
{97A3A89b-E023-48CD-905F-CDBDE8D951DE} = {D69D5741-611F-4E14-8541-1FEE94F50B5A}
|
{97A3A89B-E023-48CD-905F-CDBDE8D951DE} = {D69D5741-611F-4E14-8541-1FEE94F50B5A}
|
||||||
{8682FE1E-0CF6-4EDD-9BB5-1733D8C8B4DF} = {D69D5741-611F-4E14-8541-1FEE94F50B5A}
|
{8682FE1E-0CF6-4EDD-9BB5-1733D8C8B4DF} = {D69D5741-611F-4E14-8541-1FEE94F50B5A}
|
||||||
{CAE4F1D0-314F-4B10-805B-0EFD670133A0} = {D69D5741-611F-4E14-8541-1FEE94F50B5A}
|
{CAE4F1D0-314F-4B10-805B-0EFD670133A0} = {D69D5741-611F-4E14-8541-1FEE94F50B5A}
|
||||||
{8B5CFB38-CCBA-40A8-AD7A-89C57B070884} = {D69D5741-611F-4E14-8541-1FEE94F50B5A}
|
{8B5CFB38-CCBA-40A8-AD7A-89C57B070884} = {D69D5741-611F-4E14-8541-1FEE94F50B5A}
|
||||||
@@ -299,6 +544,34 @@ Global
|
|||||||
{C4E04D18-EF76-4B42-B4C2-16A1BACDC0A4} = {D69D5741-611F-4E14-8541-1FEE94F50B5A}
|
{C4E04D18-EF76-4B42-B4C2-16A1BACDC0A4} = {D69D5741-611F-4E14-8541-1FEE94F50B5A}
|
||||||
{70B894A9-E306-49E8-ABC2-932A952A5E5F} = {D69D5741-611F-4E14-8541-1FEE94F50B5A}
|
{70B894A9-E306-49E8-ABC2-932A952A5E5F} = {D69D5741-611F-4E14-8541-1FEE94F50B5A}
|
||||||
{C4E04D18-EF76-4B42-B4C2-16A1BACDC1A3} = {D69D5741-611F-4E14-8541-1FEE94F50B5A}
|
{C4E04D18-EF76-4B42-B4C2-16A1BACDC1A3} = {D69D5741-611F-4E14-8541-1FEE94F50B5A}
|
||||||
|
{1B61A1B7-92DE-4C37-9151-D2928D6449AB} = {1498F0CD-F4DA-4847-9CB2-FB18D48061D5}
|
||||||
|
{EB448819-74BC-40C9-A61A-4D4ECD55F9D5} = {1B61A1B7-92DE-4C37-9151-D2928D6449AB}
|
||||||
|
{6B710DFF-8A4A-40A2-BF2D-88D266F3D4F0} = {1B61A1B7-92DE-4C37-9151-D2928D6449AB}
|
||||||
|
{AAEC8338-4D33-4AF5-9A1F-B9FF027D4607} = {1498F0CD-F4DA-4847-9CB2-FB18D48061D5}
|
||||||
|
{510ACF0C-4012-4216-98EF-E4F155DE33CE} = {AAEC8338-4D33-4AF5-9A1F-B9FF027D4607}
|
||||||
|
{D1BF59F6-22DC-493B-BDEB-451A50DA793D} = {1498F0CD-F4DA-4847-9CB2-FB18D48061D5}
|
||||||
|
{7820969A-5B7B-4046-BB0A-82905D457FC5} = {D1BF59F6-22DC-493B-BDEB-451A50DA793D}
|
||||||
|
{F2247885-8EE8-42F4-A702-4155587620E0} = {1498F0CD-F4DA-4847-9CB2-FB18D48061D5}
|
||||||
|
{5EDA1ED3-8213-4C12-B0DF-B631EB611804} = {F2247885-8EE8-42F4-A702-4155587620E0}
|
||||||
|
{F91DDAF0-B74F-4516-A1A9-42ED8DFCBF6A} = {1498F0CD-F4DA-4847-9CB2-FB18D48061D5}
|
||||||
|
{896557AC-7575-480C-8FFD-AB08B5DA305D} = {F91DDAF0-B74F-4516-A1A9-42ED8DFCBF6A}
|
||||||
|
{504DC7EC-D82E-448E-9C7D-3BE7981592B3} = {F91DDAF0-B74F-4516-A1A9-42ED8DFCBF6A}
|
||||||
|
{BDE7DBC0-DCE7-432E-8750-C4AE55463699} = {F91DDAF0-B74F-4516-A1A9-42ED8DFCBF6A}
|
||||||
|
{7B250AB1-92D3-4F1A-BEB4-19605A69CEDB} = {F91DDAF0-B74F-4516-A1A9-42ED8DFCBF6A}
|
||||||
|
{4C0E3A60-24F8-4D4C-81C0-C1777F5E7B17} = {F91DDAF0-B74F-4516-A1A9-42ED8DFCBF6A}
|
||||||
|
{B3D61611-BFA3-4B66-ADC7-A3CE578A6D36} = {F91DDAF0-B74F-4516-A1A9-42ED8DFCBF6A}
|
||||||
|
{540AE143-A58F-4D3B-B843-94EA8576522D} = {F91DDAF0-B74F-4516-A1A9-42ED8DFCBF6A}
|
||||||
|
{7091C001-3D71-47D4-B27B-E99271E5B987} = {F91DDAF0-B74F-4516-A1A9-42ED8DFCBF6A}
|
||||||
|
{AF8BC84E-0268-4D1F-9503-84D9EE84C65F} = {F91DDAF0-B74F-4516-A1A9-42ED8DFCBF6A}
|
||||||
|
{8B9AB23E-3F40-4145-BA1C-B2CEACFBBD72} = {F91DDAF0-B74F-4516-A1A9-42ED8DFCBF6A}
|
||||||
|
{E9C6A7A6-22C0-42E6-AC9C-8580A396D077} = {F91DDAF0-B74F-4516-A1A9-42ED8DFCBF6A}
|
||||||
|
{B85BC466-C7F0-4C6D-8ECF-ED57E775FC73} = {F91DDAF0-B74F-4516-A1A9-42ED8DFCBF6A}
|
||||||
|
{9DBD962F-EA4D-44E3-8E8E-31D7F060A2DC} = {F91DDAF0-B74F-4516-A1A9-42ED8DFCBF6A}
|
||||||
|
{EEF00329-4598-4E34-B969-9DD4B0815E6C} = {F91DDAF0-B74F-4516-A1A9-42ED8DFCBF6A}
|
||||||
|
{CC0714AA-8A81-4E29-BEC5-2E4FBC50E7FE} = {F91DDAF0-B74F-4516-A1A9-42ED8DFCBF6A}
|
||||||
|
{608C6C67-7766-471F-BBFF-8B00086039AF} = {1B61A1B7-92DE-4C37-9151-D2928D6449AB}
|
||||||
|
{A3F601E0-B54C-4DD8-8A97-FDEF7624EE60} = {D1BF59F6-22DC-493B-BDEB-451A50DA793D}
|
||||||
|
{75AEE75A-C016-4497-960B-D767B822237D} = {D1BF59F6-22DC-493B-BDEB-451A50DA793D}
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
SolutionGuid = {C320C9F2-1A8F-41D7-B02B-6338F872BCAD}
|
SolutionGuid = {C320C9F2-1A8F-41D7-B02B-6338F872BCAD}
|
||||||
|
|||||||
+20
-36
@@ -43,7 +43,6 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
<ImportGroup Label="ExtensionSettings">
|
<ImportGroup Label="ExtensionSettings">
|
||||||
<Import Project="$(VCTargetsPath)\BuildCustomizations\masm.props" />
|
|
||||||
</ImportGroup>
|
</ImportGroup>
|
||||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
|
||||||
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
@@ -113,13 +112,14 @@
|
|||||||
<PreprocessorDefinitions>DLL_EXPORT;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>DLL_EXPORT;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||||
<EnableEnhancedInstructionSet>StreamingSIMDExtensions</EnableEnhancedInstructionSet>
|
<EnableEnhancedInstructionSet>StreamingSIMDExtensions</EnableEnhancedInstructionSet>
|
||||||
<WarningLevel>Level3</WarningLevel>
|
<WarningLevel>Level4</WarningLevel>
|
||||||
<DebugInformationFormat>OldStyle</DebugInformationFormat>
|
<DebugInformationFormat>OldStyle</DebugInformationFormat>
|
||||||
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
||||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||||
<PrecompiledHeaderFile>SDL_internal.h</PrecompiledHeaderFile>
|
<PrecompiledHeaderFile>SDL_internal.h</PrecompiledHeaderFile>
|
||||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
<DisableSpecificWarnings>4100;4127;4152;4201</DisableSpecificWarnings>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ResourceCompile>
|
<ResourceCompile>
|
||||||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
@@ -144,13 +144,14 @@
|
|||||||
<AdditionalUsingDirectories>%(AdditionalUsingDirectories)</AdditionalUsingDirectories>
|
<AdditionalUsingDirectories>%(AdditionalUsingDirectories)</AdditionalUsingDirectories>
|
||||||
<PreprocessorDefinitions>DLL_EXPORT;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>DLL_EXPORT;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||||
<WarningLevel>Level3</WarningLevel>
|
<WarningLevel>Level4</WarningLevel>
|
||||||
<DebugInformationFormat>OldStyle</DebugInformationFormat>
|
<DebugInformationFormat>OldStyle</DebugInformationFormat>
|
||||||
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
||||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||||
<PrecompiledHeaderFile>SDL_internal.h</PrecompiledHeaderFile>
|
<PrecompiledHeaderFile>SDL_internal.h</PrecompiledHeaderFile>
|
||||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||||
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
|
||||||
|
<DisableSpecificWarnings>4100;4127;4152;4201</DisableSpecificWarnings>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ResourceCompile>
|
<ResourceCompile>
|
||||||
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
@@ -179,13 +180,14 @@
|
|||||||
<PreprocessorDefinitions>DLL_EXPORT;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>DLL_EXPORT;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||||
<EnableEnhancedInstructionSet>StreamingSIMDExtensions</EnableEnhancedInstructionSet>
|
<EnableEnhancedInstructionSet>StreamingSIMDExtensions</EnableEnhancedInstructionSet>
|
||||||
<WarningLevel>Level3</WarningLevel>
|
<WarningLevel>Level4</WarningLevel>
|
||||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
||||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||||
<PrecompiledHeaderFile>SDL_internal.h</PrecompiledHeaderFile>
|
<PrecompiledHeaderFile>SDL_internal.h</PrecompiledHeaderFile>
|
||||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
<DisableSpecificWarnings>4100;4127;4152;4201</DisableSpecificWarnings>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ResourceCompile>
|
<ResourceCompile>
|
||||||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
@@ -211,13 +213,14 @@
|
|||||||
<AdditionalUsingDirectories>%(AdditionalUsingDirectories)</AdditionalUsingDirectories>
|
<AdditionalUsingDirectories>%(AdditionalUsingDirectories)</AdditionalUsingDirectories>
|
||||||
<PreprocessorDefinitions>DLL_EXPORT;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>DLL_EXPORT;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<BufferSecurityCheck>false</BufferSecurityCheck>
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||||
<WarningLevel>Level3</WarningLevel>
|
<WarningLevel>Level4</WarningLevel>
|
||||||
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
|
||||||
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
<InlineFunctionExpansion>OnlyExplicitInline</InlineFunctionExpansion>
|
||||||
<PrecompiledHeader>Use</PrecompiledHeader>
|
<PrecompiledHeader>Use</PrecompiledHeader>
|
||||||
<PrecompiledHeaderFile>SDL_internal.h</PrecompiledHeaderFile>
|
<PrecompiledHeaderFile>SDL_internal.h</PrecompiledHeaderFile>
|
||||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||||
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
|
||||||
|
<DisableSpecificWarnings>4100;4127;4152;4201</DisableSpecificWarnings>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ResourceCompile>
|
<ResourceCompile>
|
||||||
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
@@ -259,6 +262,7 @@
|
|||||||
<ClInclude Include="..\..\include\SDL3\SDL_haptic.h" />
|
<ClInclude Include="..\..\include\SDL3\SDL_haptic.h" />
|
||||||
<ClInclude Include="..\..\include\SDL3\SDL_hints.h" />
|
<ClInclude Include="..\..\include\SDL3\SDL_hints.h" />
|
||||||
<ClInclude Include="..\..\include\SDL3\SDL_hidapi.h" />
|
<ClInclude Include="..\..\include\SDL3\SDL_hidapi.h" />
|
||||||
|
<ClInclude Include="..\..\include\SDL3\SDL_asyncio.h" />
|
||||||
<ClInclude Include="..\..\include\SDL3\SDL_joystick.h" />
|
<ClInclude Include="..\..\include\SDL3\SDL_joystick.h" />
|
||||||
<ClInclude Include="..\..\include\SDL3\SDL_keyboard.h" />
|
<ClInclude Include="..\..\include\SDL3\SDL_keyboard.h" />
|
||||||
<ClInclude Include="..\..\include\SDL3\SDL_keycode.h" />
|
<ClInclude Include="..\..\include\SDL3\SDL_keycode.h" />
|
||||||
@@ -352,6 +356,8 @@
|
|||||||
<ClInclude Include="..\..\src\filesystem\SDL_sysfilesystem.h" />
|
<ClInclude Include="..\..\src\filesystem\SDL_sysfilesystem.h" />
|
||||||
<ClInclude Include="..\..\src\gpu\SDL_sysgpu.h" />
|
<ClInclude Include="..\..\src\gpu\SDL_sysgpu.h" />
|
||||||
<ClInclude Include="..\..\src\gpu\vulkan\SDL_gpu_vulkan_vkfuncs.h" />
|
<ClInclude Include="..\..\src\gpu\vulkan\SDL_gpu_vulkan_vkfuncs.h" />
|
||||||
|
<ClInclude Include="..\..\src\io\SDL_asyncio_c.h" />
|
||||||
|
<ClInclude Include="..\..\src\io\SDL_sysasyncio.h" />
|
||||||
<ClInclude Include="..\..\src\haptic\SDL_haptic_c.h" />
|
<ClInclude Include="..\..\src\haptic\SDL_haptic_c.h" />
|
||||||
<ClInclude Include="..\..\src\haptic\SDL_syshaptic.h" />
|
<ClInclude Include="..\..\src\haptic\SDL_syshaptic.h" />
|
||||||
<ClInclude Include="..\..\src\haptic\windows\SDL_dinputhaptic_c.h" />
|
<ClInclude Include="..\..\src\haptic\windows\SDL_dinputhaptic_c.h" />
|
||||||
@@ -409,13 +415,16 @@
|
|||||||
<ClCompile Include="..\..\src\camera\dummy\SDL_camera_dummy.c" />
|
<ClCompile Include="..\..\src\camera\dummy\SDL_camera_dummy.c" />
|
||||||
<ClCompile Include="..\..\src\camera\mediafoundation\SDL_camera_mediafoundation.c" />
|
<ClCompile Include="..\..\src\camera\mediafoundation\SDL_camera_mediafoundation.c" />
|
||||||
<ClCompile Include="..\..\src\camera\SDL_camera.c" />
|
<ClCompile Include="..\..\src\camera\SDL_camera.c" />
|
||||||
|
<ClCompile Include="..\..\src\dialog\SDL_dialog.c" />
|
||||||
<ClCompile Include="..\..\src\dialog\SDL_dialog_utils.c" />
|
<ClCompile Include="..\..\src\dialog\SDL_dialog_utils.c" />
|
||||||
<ClCompile Include="..\..\src\filesystem\SDL_filesystem.c" />
|
<ClCompile Include="..\..\src\filesystem\SDL_filesystem.c" />
|
||||||
<ClCompile Include="..\..\src\filesystem\windows\SDL_sysfsops.c" />
|
<ClCompile Include="..\..\src\filesystem\windows\SDL_sysfsops.c" />
|
||||||
|
<ClCompile Include="..\..\src\io\windows\SDL_asyncio_windows_ioring.c" />
|
||||||
<ClCompile Include="..\..\src\gpu\SDL_gpu.c" />
|
<ClCompile Include="..\..\src\gpu\SDL_gpu.c" />
|
||||||
<ClCompile Include="..\..\src\gpu\d3d11\SDL_gpu_d3d11.c" />
|
|
||||||
<ClCompile Include="..\..\src\gpu\d3d12\SDL_gpu_d3d12.c" />
|
<ClCompile Include="..\..\src\gpu\d3d12\SDL_gpu_d3d12.c" />
|
||||||
<ClCompile Include="..\..\src\gpu\vulkan\SDL_gpu_vulkan.c" />
|
<ClCompile Include="..\..\src\gpu\vulkan\SDL_gpu_vulkan.c" />
|
||||||
|
<ClCompile Include="..\..\src\io\generic\SDL_asyncio_generic.c" />
|
||||||
|
<ClCompile Include="..\..\src\io\SDL_asyncio.c" />
|
||||||
<ClCompile Include="..\..\src\main\generic\SDL_sysmain_callbacks.c" />
|
<ClCompile Include="..\..\src\main\generic\SDL_sysmain_callbacks.c" />
|
||||||
<ClCompile Include="..\..\src\main\SDL_main_callbacks.c" />
|
<ClCompile Include="..\..\src\main\SDL_main_callbacks.c" />
|
||||||
<ClCompile Include="..\..\src\main\SDL_runapp.c" />
|
<ClCompile Include="..\..\src\main\SDL_runapp.c" />
|
||||||
@@ -483,6 +492,7 @@
|
|||||||
<ClInclude Include="..\..\src\video\SDL_vulkan_internal.h" />
|
<ClInclude Include="..\..\src\video\SDL_vulkan_internal.h" />
|
||||||
<ClInclude Include="..\..\src\video\SDL_yuv_c.h" />
|
<ClInclude Include="..\..\src\video\SDL_yuv_c.h" />
|
||||||
<ClInclude Include="..\..\src\video\windows\SDL_msctf.h" />
|
<ClInclude Include="..\..\src\video\windows\SDL_msctf.h" />
|
||||||
|
<ClInclude Include="..\..\src\video\windows\SDL_surface_utils.h" />
|
||||||
<ClInclude Include="..\..\src\video\windows\SDL_windowsclipboard.h" />
|
<ClInclude Include="..\..\src\video\windows\SDL_windowsclipboard.h" />
|
||||||
<ClInclude Include="..\..\src\video\windows\SDL_windowsevents.h" />
|
<ClInclude Include="..\..\src\video\windows\SDL_windowsevents.h" />
|
||||||
<ClInclude Include="..\..\src\video\windows\SDL_windowsframebuffer.h" />
|
<ClInclude Include="..\..\src\video\windows\SDL_windowsframebuffer.h" />
|
||||||
@@ -522,7 +532,6 @@
|
|||||||
<ClCompile Include="..\..\src\audio\SDL_mixer.c" />
|
<ClCompile Include="..\..\src\audio\SDL_mixer.c" />
|
||||||
<ClCompile Include="..\..\src\audio\SDL_wave.c" />
|
<ClCompile Include="..\..\src\audio\SDL_wave.c" />
|
||||||
<ClCompile Include="..\..\src\audio\wasapi\SDL_wasapi.c" />
|
<ClCompile Include="..\..\src\audio\wasapi\SDL_wasapi.c" />
|
||||||
<ClCompile Include="..\..\src\audio\wasapi\SDL_wasapi_win32.c" />
|
|
||||||
<ClCompile Include="..\..\src\core\SDL_core_unsupported.c" />
|
<ClCompile Include="..\..\src\core\SDL_core_unsupported.c" />
|
||||||
<ClCompile Include="..\..\src\core\windows\SDL_hid.c" />
|
<ClCompile Include="..\..\src\core\windows\SDL_hid.c" />
|
||||||
<ClCompile Include="..\..\src\core\windows\SDL_immdevice.c" />
|
<ClCompile Include="..\..\src\core\windows\SDL_immdevice.c" />
|
||||||
@@ -548,7 +557,7 @@
|
|||||||
<ClCompile Include="..\..\src\events\SDL_quit.c" />
|
<ClCompile Include="..\..\src\events\SDL_quit.c" />
|
||||||
<ClCompile Include="..\..\src\events\SDL_touch.c" />
|
<ClCompile Include="..\..\src\events\SDL_touch.c" />
|
||||||
<ClCompile Include="..\..\src\events\SDL_windowevents.c" />
|
<ClCompile Include="..\..\src\events\SDL_windowevents.c" />
|
||||||
<ClCompile Include="..\..\src\file\SDL_iostream.c" />
|
<ClCompile Include="..\..\src\io\SDL_iostream.c" />
|
||||||
<ClCompile Include="..\..\src\filesystem\windows\SDL_sysfilesystem.c" />
|
<ClCompile Include="..\..\src\filesystem\windows\SDL_sysfilesystem.c" />
|
||||||
<ClCompile Include="..\..\src\haptic\dummy\SDL_syshaptic.c" />
|
<ClCompile Include="..\..\src\haptic\dummy\SDL_syshaptic.c" />
|
||||||
<ClCompile Include="..\..\src\haptic\SDL_haptic.c" />
|
<ClCompile Include="..\..\src\haptic\SDL_haptic.c" />
|
||||||
@@ -585,31 +594,7 @@
|
|||||||
<ClCompile Include="..\..\src\joystick\windows\SDL_windowsjoystick.c" />
|
<ClCompile Include="..\..\src\joystick\windows\SDL_windowsjoystick.c" />
|
||||||
<ClCompile Include="..\..\src\joystick\windows\SDL_windows_gaming_input.c" />
|
<ClCompile Include="..\..\src\joystick\windows\SDL_windows_gaming_input.c" />
|
||||||
<ClCompile Include="..\..\src\joystick\windows\SDL_xinputjoystick.c" />
|
<ClCompile Include="..\..\src\joystick\windows\SDL_xinputjoystick.c" />
|
||||||
<ClCompile Include="..\..\src\libm\e_atan2.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\e_exp.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\e_fmod.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\e_log.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\e_log10.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\e_pow.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\e_rem_pio2.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\e_sqrt.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\k_cos.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\k_rem_pio2.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\k_sin.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\k_tan.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\s_atan.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\s_copysign.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\s_cos.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\s_fabs.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\s_floor.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\s_isinf.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\s_isinff.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\s_isnan.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\s_isnanf.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\s_modf.c" />
|
<ClCompile Include="..\..\src\libm\s_modf.c" />
|
||||||
<ClCompile Include="..\..\src\libm\s_scalbn.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\s_sin.c" />
|
|
||||||
<ClCompile Include="..\..\src\libm\s_tan.c" />
|
|
||||||
<ClCompile Include="..\..\src\loadso\windows\SDL_sysloadso.c" />
|
<ClCompile Include="..\..\src\loadso\windows\SDL_sysloadso.c" />
|
||||||
<ClCompile Include="..\..\src\locale\SDL_locale.c" />
|
<ClCompile Include="..\..\src\locale\SDL_locale.c" />
|
||||||
<ClCompile Include="..\..\src\locale\windows\SDL_syslocale.c" />
|
<ClCompile Include="..\..\src\locale\windows\SDL_syslocale.c" />
|
||||||
@@ -665,9 +650,6 @@
|
|||||||
<ClCompile Include="..\..\src\stdlib\SDL_memmove.c" />
|
<ClCompile Include="..\..\src\stdlib\SDL_memmove.c" />
|
||||||
<ClCompile Include="..\..\src\stdlib\SDL_memset.c" />
|
<ClCompile Include="..\..\src\stdlib\SDL_memset.c" />
|
||||||
<ClCompile Include="..\..\src\stdlib\SDL_mslibc.c" />
|
<ClCompile Include="..\..\src\stdlib\SDL_mslibc.c" />
|
||||||
<MASM Condition="'$(Platform)'=='x64'" Include="..\..\src\stdlib\SDL_mslibc_x64.masm">
|
|
||||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
|
||||||
</MASM>
|
|
||||||
<ClCompile Include="..\..\src\stdlib\SDL_murmur3.c" />
|
<ClCompile Include="..\..\src\stdlib\SDL_murmur3.c" />
|
||||||
<ClCompile Include="..\..\src\stdlib\SDL_qsort.c" />
|
<ClCompile Include="..\..\src\stdlib\SDL_qsort.c" />
|
||||||
<ClCompile Include="..\..\src\stdlib\SDL_random.c" />
|
<ClCompile Include="..\..\src\stdlib\SDL_random.c" />
|
||||||
@@ -690,6 +672,8 @@
|
|||||||
<ClCompile Include="..\..\src\timer\windows\SDL_systimer.c" />
|
<ClCompile Include="..\..\src\timer\windows\SDL_systimer.c" />
|
||||||
<ClCompile Include="..\..\src\time\SDL_time.c" />
|
<ClCompile Include="..\..\src\time\SDL_time.c" />
|
||||||
<ClCompile Include="..\..\src\time\windows\SDL_systime.c" />
|
<ClCompile Include="..\..\src\time\windows\SDL_systime.c" />
|
||||||
|
<ClCompile Include="..\..\src\tray\windows\SDL_tray.c" />
|
||||||
|
<ClCompile Include="..\..\src\tray\SDL_tray_utils.c" />
|
||||||
<ClCompile Include="..\..\src\video\dummy\SDL_nullevents.c" />
|
<ClCompile Include="..\..\src\video\dummy\SDL_nullevents.c" />
|
||||||
<ClCompile Include="..\..\src\video\dummy\SDL_nullframebuffer.c" />
|
<ClCompile Include="..\..\src\video\dummy\SDL_nullframebuffer.c" />
|
||||||
<ClCompile Include="..\..\src\video\dummy\SDL_nullvideo.c" />
|
<ClCompile Include="..\..\src\video\dummy\SDL_nullvideo.c" />
|
||||||
@@ -720,6 +704,7 @@
|
|||||||
<ClCompile Include="..\..\src\video\SDL_video_unsupported.c" />
|
<ClCompile Include="..\..\src\video\SDL_video_unsupported.c" />
|
||||||
<ClCompile Include="..\..\src\video\SDL_vulkan_utils.c" />
|
<ClCompile Include="..\..\src\video\SDL_vulkan_utils.c" />
|
||||||
<ClCompile Include="..\..\src\video\SDL_yuv.c" />
|
<ClCompile Include="..\..\src\video\SDL_yuv.c" />
|
||||||
|
<ClCompile Include="..\..\src\video\windows\SDL_surface_utils.c" />
|
||||||
<ClCompile Include="..\..\src\video\windows\SDL_windowsclipboard.c" />
|
<ClCompile Include="..\..\src\video\windows\SDL_windowsclipboard.c" />
|
||||||
<ClCompile Include="..\..\src\video\windows\SDL_windowsevents.c" />
|
<ClCompile Include="..\..\src\video\windows\SDL_windowsevents.c" />
|
||||||
<ClCompile Include="..\..\src\video\windows\SDL_windowsframebuffer.c" />
|
<ClCompile Include="..\..\src\video\windows\SDL_windowsframebuffer.c" />
|
||||||
@@ -744,6 +729,5 @@
|
|||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
<ImportGroup Label="ExtensionTargets">
|
<ImportGroup Label="ExtensionTargets">
|
||||||
<Import Project="$(VCTargetsPath)\BuildCustomizations\masm.targets" />
|
|
||||||
</ImportGroup>
|
</ImportGroup>
|
||||||
</Project>
|
</Project>
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
<Filter Include="events">
|
<Filter Include="events">
|
||||||
<UniqueIdentifier>{5e27e19f-b3f8-4e2d-b323-b00b2040ec86}</UniqueIdentifier>
|
<UniqueIdentifier>{5e27e19f-b3f8-4e2d-b323-b00b2040ec86}</UniqueIdentifier>
|
||||||
</Filter>
|
</Filter>
|
||||||
<Filter Include="file">
|
<Filter Include="io">
|
||||||
<UniqueIdentifier>{a3ab9cff-8495-4a5c-8af6-27e43199a712}</UniqueIdentifier>
|
<UniqueIdentifier>{a3ab9cff-8495-4a5c-8af6-27e43199a712}</UniqueIdentifier>
|
||||||
</Filter>
|
</Filter>
|
||||||
<Filter Include="filesystem">
|
<Filter Include="filesystem">
|
||||||
@@ -211,6 +211,12 @@
|
|||||||
<Filter Include="main\windows">
|
<Filter Include="main\windows">
|
||||||
<UniqueIdentifier>{00009d5ded166cc6c6680ec771a30000}</UniqueIdentifier>
|
<UniqueIdentifier>{00009d5ded166cc6c6680ec771a30000}</UniqueIdentifier>
|
||||||
</Filter>
|
</Filter>
|
||||||
|
<Filter Include="io\generic">
|
||||||
|
<UniqueIdentifier>{00004d6806b6238cae0ed62db5440000}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
|
<Filter Include="io\windows">
|
||||||
|
<UniqueIdentifier>{000028b2ea36d7190d13777a4dc70000}</UniqueIdentifier>
|
||||||
|
</Filter>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClInclude Include="..\..\include\SDL3\SDL_begin_code.h">
|
<ClInclude Include="..\..\include\SDL3\SDL_begin_code.h">
|
||||||
@@ -279,6 +285,9 @@
|
|||||||
<ClInclude Include="..\..\include\SDL3\SDL_hidapi.h">
|
<ClInclude Include="..\..\include\SDL3\SDL_hidapi.h">
|
||||||
<Filter>API Headers</Filter>
|
<Filter>API Headers</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\..\include\SDL3\SDL_asyncio.h">
|
||||||
|
<Filter>API Headers</Filter>
|
||||||
|
</ClInclude>
|
||||||
<ClInclude Include="..\..\include\SDL3\SDL_joystick.h">
|
<ClInclude Include="..\..\include\SDL3\SDL_joystick.h">
|
||||||
<Filter>API Headers</Filter>
|
<Filter>API Headers</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
@@ -438,6 +447,12 @@
|
|||||||
<ClInclude Include="..\..\src\filesystem\SDL_sysfilesystem.h">
|
<ClInclude Include="..\..\src\filesystem\SDL_sysfilesystem.h">
|
||||||
<Filter>filesystem</Filter>
|
<Filter>filesystem</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\..\src\io\SDL_asyncio_c.h">
|
||||||
|
<Filter>io</Filter>
|
||||||
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\..\src\io\SDL_sysasyncio.h">
|
||||||
|
<Filter>io</Filter>
|
||||||
|
</ClInclude>
|
||||||
<ClInclude Include="..\..\src\main\SDL_main_callbacks.h">
|
<ClInclude Include="..\..\src\main\SDL_main_callbacks.h">
|
||||||
<Filter>main</Filter>
|
<Filter>main</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
@@ -501,9 +516,6 @@
|
|||||||
<ClInclude Include="..\..\src\dynapi\SDL_dynapi_unsupported.h">
|
<ClInclude Include="..\..\src\dynapi\SDL_dynapi_unsupported.h">
|
||||||
<Filter>dynapi</Filter>
|
<Filter>dynapi</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
<ClInclude Include="..\..\src\events\SDL_categories.h">
|
|
||||||
<Filter>events</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
<ClInclude Include="..\..\src\events\SDL_clipboardevents_c.h">
|
<ClInclude Include="..\..\src\events\SDL_clipboardevents_c.h">
|
||||||
<Filter>events</Filter>
|
<Filter>events</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
@@ -678,6 +690,9 @@
|
|||||||
<ClInclude Include="..\..\src\video\yuv2rgb\yuv_rgb_std_func.h">
|
<ClInclude Include="..\..\src\video\yuv2rgb\yuv_rgb_std_func.h">
|
||||||
<Filter>video\yuv2rgb</Filter>
|
<Filter>video\yuv2rgb</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\..\src\video\windows\SDL_surface_utils.h">
|
||||||
|
<Filter>video\windows</Filter>
|
||||||
|
</ClInclude>
|
||||||
<ClInclude Include="..\..\src\video\windows\SDL_windowsclipboard.h">
|
<ClInclude Include="..\..\src\video\windows\SDL_windowsclipboard.h">
|
||||||
<Filter>video\windows</Filter>
|
<Filter>video\windows</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
@@ -923,6 +938,9 @@
|
|||||||
<ClInclude Include="..\..\src\gpu\vulkan\SDL_gpu_vulkan_vkfuncs.h">
|
<ClInclude Include="..\..\src\gpu\vulkan\SDL_gpu_vulkan_vkfuncs.h">
|
||||||
<Filter>gpu</Filter>
|
<Filter>gpu</Filter>
|
||||||
</ClInclude>
|
</ClInclude>
|
||||||
|
<ClInclude Include="..\..\include\SDL3\SDL_storage.h" />
|
||||||
|
<ClInclude Include="..\..\include\SDL3\SDL_time.h" />
|
||||||
|
<ClInclude Include="..\..\src\events\SDL_categories_c.h" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="..\..\src\audio\wasapi\SDL_wasapi.c" />
|
<ClCompile Include="..\..\src\audio\wasapi\SDL_wasapi.c" />
|
||||||
@@ -935,6 +953,9 @@
|
|||||||
<ClCompile Include="..\..\src\camera\SDL_camera.c">
|
<ClCompile Include="..\..\src\camera\SDL_camera.c">
|
||||||
<Filter>camera</Filter>
|
<Filter>camera</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\src\dialog\SDL_dialog.c">
|
||||||
|
<Filter>dialog</Filter>
|
||||||
|
</ClCompile>
|
||||||
<ClCompile Include="..\..\src\dialog\SDL_dialog_utils.c">
|
<ClCompile Include="..\..\src\dialog\SDL_dialog_utils.c">
|
||||||
<Filter>dialog</Filter>
|
<Filter>dialog</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
@@ -944,6 +965,15 @@
|
|||||||
<ClCompile Include="..\..\src\filesystem\windows\SDL_sysfsops.c">
|
<ClCompile Include="..\..\src\filesystem\windows\SDL_sysfsops.c">
|
||||||
<Filter>filesystem\windows</Filter>
|
<Filter>filesystem\windows</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\src\io\generic\SDL_asyncio_generic.c">
|
||||||
|
<Filter>io\generic</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\src\io\SDL_asyncio.c">
|
||||||
|
<Filter>io</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\src\io\windows\SDL_asyncio_windows_ioring.c">
|
||||||
|
<Filter>io\windows</Filter>
|
||||||
|
</ClCompile>
|
||||||
<ClCompile Include="..\..\src\main\generic\SDL_sysmain_callbacks.c">
|
<ClCompile Include="..\..\src\main\generic\SDL_sysmain_callbacks.c">
|
||||||
<Filter>main\generic</Filter>
|
<Filter>main\generic</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
@@ -1055,8 +1085,8 @@
|
|||||||
<ClCompile Include="..\..\src\events\SDL_windowevents.c">
|
<ClCompile Include="..\..\src\events\SDL_windowevents.c">
|
||||||
<Filter>events</Filter>
|
<Filter>events</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="..\..\src\file\SDL_iostream.c">
|
<ClCompile Include="..\..\src\io\SDL_iostream.c">
|
||||||
<Filter>file</Filter>
|
<Filter>io</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="..\..\src\filesystem\windows\SDL_sysfilesystem.c">
|
<ClCompile Include="..\..\src\filesystem\windows\SDL_sysfilesystem.c">
|
||||||
<Filter>filesystem\windows</Filter>
|
<Filter>filesystem\windows</Filter>
|
||||||
@@ -1079,81 +1109,9 @@
|
|||||||
<ClCompile Include="..\..\src\joystick\SDL_steam_virtual_gamepad.c">
|
<ClCompile Include="..\..\src\joystick\SDL_steam_virtual_gamepad.c">
|
||||||
<Filter>joystick</Filter>
|
<Filter>joystick</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="..\..\src\libm\e_atan2.c">
|
|
||||||
<Filter>libm</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\src\libm\e_exp.c">
|
|
||||||
<Filter>libm</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\src\libm\e_fmod.c">
|
|
||||||
<Filter>libm</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\src\libm\e_log.c">
|
|
||||||
<Filter>libm</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\src\libm\e_log10.c">
|
|
||||||
<Filter>libm</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\src\libm\e_pow.c">
|
|
||||||
<Filter>libm</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\src\libm\e_sqrt.c">
|
|
||||||
<Filter>libm</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\src\libm\e_rem_pio2.c">
|
|
||||||
<Filter>libm</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\src\libm\k_cos.c">
|
|
||||||
<Filter>libm</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\src\libm\k_rem_pio2.c">
|
|
||||||
<Filter>libm</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\src\libm\k_sin.c">
|
|
||||||
<Filter>libm</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\src\libm\k_tan.c">
|
|
||||||
<Filter>libm</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\src\libm\s_atan.c">
|
|
||||||
<Filter>libm</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\src\libm\s_copysign.c">
|
|
||||||
<Filter>libm</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\src\libm\s_cos.c">
|
|
||||||
<Filter>libm</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\src\libm\s_fabs.c">
|
|
||||||
<Filter>libm</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\src\libm\s_floor.c">
|
|
||||||
<Filter>libm</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\src\libm\s_isinf.c">
|
|
||||||
<Filter>libm</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\src\libm\s_isinff.c">
|
|
||||||
<Filter>libm</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\src\libm\s_isnan.c">
|
|
||||||
<Filter>libm</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\src\libm\s_isnanf.c">
|
|
||||||
<Filter>libm</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\src\libm\s_modf.c">
|
<ClCompile Include="..\..\src\libm\s_modf.c">
|
||||||
<Filter>libm</Filter>
|
<Filter>libm</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="..\..\src\libm\s_scalbn.c">
|
|
||||||
<Filter>libm</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\src\libm\s_sin.c">
|
|
||||||
<Filter>libm</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\src\libm\s_tan.c">
|
|
||||||
<Filter>libm</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\src\loadso\windows\SDL_sysloadso.c">
|
<ClCompile Include="..\..\src\loadso\windows\SDL_sysloadso.c">
|
||||||
<Filter>loadso\windows</Filter>
|
<Filter>loadso\windows</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
@@ -1178,9 +1136,6 @@
|
|||||||
<ClCompile Include="..\..\src\audio\dummy\SDL_dummyaudio.c">
|
<ClCompile Include="..\..\src\audio\dummy\SDL_dummyaudio.c">
|
||||||
<Filter>audio\dummy</Filter>
|
<Filter>audio\dummy</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="..\..\src\audio\wasapi\SDL_wasapi_win32.c">
|
|
||||||
<Filter>audio\wasapi</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\src\audio\wasapi\SDL_wasapi.c">
|
<ClCompile Include="..\..\src\audio\wasapi\SDL_wasapi.c">
|
||||||
<Filter>audio\wasapi</Filter>
|
<Filter>audio\wasapi</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
@@ -1277,6 +1232,12 @@
|
|||||||
<ClCompile Include="..\..\src\time\windows\SDL_systime.c">
|
<ClCompile Include="..\..\src\time\windows\SDL_systime.c">
|
||||||
<Filter>time\windows</Filter>
|
<Filter>time\windows</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\src\tray\windows\SDL_tray.c">
|
||||||
|
<Filter>video</Filter>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\src\tray\SDL_tray_utils.c">
|
||||||
|
<Filter>video</Filter>
|
||||||
|
</ClCompile>
|
||||||
<ClCompile Include="..\..\src\video\SDL_RLEaccel.c">
|
<ClCompile Include="..\..\src\video\SDL_RLEaccel.c">
|
||||||
<Filter>video</Filter>
|
<Filter>video</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
@@ -1349,6 +1310,9 @@
|
|||||||
<ClCompile Include="..\..\src\video\dummy\SDL_nullvideo.c">
|
<ClCompile Include="..\..\src\video\dummy\SDL_nullvideo.c">
|
||||||
<Filter>video\dummy</Filter>
|
<Filter>video\dummy</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\src\video\windows\SDL_surface_utils.c">
|
||||||
|
<Filter>video\windows</Filter>
|
||||||
|
</ClCompile>
|
||||||
<ClCompile Include="..\..\src\video\windows\SDL_windowsclipboard.c">
|
<ClCompile Include="..\..\src\video\windows\SDL_windowsclipboard.c">
|
||||||
<Filter>video\windows</Filter>
|
<Filter>video\windows</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
@@ -1499,15 +1463,6 @@
|
|||||||
<ClCompile Include="..\..\src\render\direct3d11\SDL_shaders_d3d11.c">
|
<ClCompile Include="..\..\src\render\direct3d11\SDL_shaders_d3d11.c">
|
||||||
<Filter>render\direct3d11</Filter>
|
<Filter>render\direct3d11</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="..\..\src\render\gpu\SDL_pipeline_gpu.c">
|
|
||||||
<Filter>render\gpu</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\src\render\gpu\SDL_render_gpu.c">
|
|
||||||
<Filter>render\gpu</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\src\render\gpu\SDL_shaders_gpu.c">
|
|
||||||
<Filter>render\gpu</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\src\render\opengl\SDL_render_gl.c">
|
<ClCompile Include="..\..\src\render\opengl\SDL_render_gl.c">
|
||||||
<Filter>render\opengl</Filter>
|
<Filter>render\opengl</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
@@ -1550,12 +1505,6 @@
|
|||||||
<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\process\SDL_process.c">
|
|
||||||
<Filter>process</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\src\process\windows\SDL_windowsprocess.c">
|
|
||||||
<Filter>process\windows</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\src\SDL_log.c" />
|
<ClCompile Include="..\..\src\SDL_log.c" />
|
||||||
<ClCompile Include="..\..\src\render\direct3d12\SDL_render_d3d12.c">
|
<ClCompile Include="..\..\src\render\direct3d12\SDL_render_d3d12.c">
|
||||||
<Filter>render\direct3d12</Filter>
|
<Filter>render\direct3d12</Filter>
|
||||||
@@ -1601,15 +1550,20 @@
|
|||||||
<ClCompile Include="..\..\src\gpu\SDL_gpu.c">
|
<ClCompile Include="..\..\src\gpu\SDL_gpu.c">
|
||||||
<Filter>gpu</Filter>
|
<Filter>gpu</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="..\..\src\gpu\d3d11\SDL_gpu_d3d11.c">
|
|
||||||
<Filter>gpu</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\..\src\gpu\d3d12\SDL_gpu_d3d12.c">
|
<ClCompile Include="..\..\src\gpu\d3d12\SDL_gpu_d3d12.c">
|
||||||
<Filter>gpu</Filter>
|
<Filter>gpu</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="..\..\src\gpu\vulkan\SDL_gpu_vulkan.c">
|
<ClCompile Include="..\..\src\gpu\vulkan\SDL_gpu_vulkan.c">
|
||||||
<Filter>gpu</Filter>
|
<Filter>gpu</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
|
<ClCompile Include="..\..\src\process\SDL_process.c" />
|
||||||
|
<ClCompile Include="..\..\src\process\windows\SDL_windowsprocess.c" />
|
||||||
|
<ClCompile Include="..\..\src\render\gpu\SDL_pipeline_gpu.c" />
|
||||||
|
<ClCompile Include="..\..\src\render\gpu\SDL_render_gpu.c" />
|
||||||
|
<ClCompile Include="..\..\src\render\gpu\SDL_shaders_gpu.c" />
|
||||||
|
<ClCompile Include="..\..\src\storage\generic\SDL_genericstorage.c" />
|
||||||
|
<ClCompile Include="..\..\src\storage\steam\SDL_steamstorage.c" />
|
||||||
|
<ClCompile Include="..\..\src\storage\SDL_storage.c" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ResourceCompile Include="..\..\src\core\windows\version.rc" />
|
<ResourceCompile Include="..\..\src\core\windows\version.rc" />
|
||||||
|
|||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{D68EA64A-14ED-4DBF-B86C-9EC2DDC476FB}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="$(SolutionDir)\..\examples\audio\01-simple-playback\README.txt" />
|
||||||
|
<ClCompile Include="$(SolutionDir)\..\examples\audio\01-simple-playback\*.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
||||||
+13
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{8C80733B-1F90-4682-A999-91699127F182}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="$(SolutionDir)\..\examples\audio\02-simple-playback-callback\README.txt" />
|
||||||
|
<ClCompile Include="$(SolutionDir)\..\examples\audio\02-simple-playback-callback\*.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{E941FE4D-964C-43C6-A486-B0966633BED6}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="$(SolutionDir)\..\examples\audio\03-load-wav\README.txt" />
|
||||||
|
<ClCompile Include="$(SolutionDir)\..\examples\audio\03-load-wav\*.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{20B1B6AE-B282-4E65-863A-28301B6C5E9F}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="$(SolutionDir)\..\examples\camera\01-read-and-draw\README.txt" />
|
||||||
|
<ClCompile Include="$(SolutionDir)\..\examples\camera\01-read-and-draw\*.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{7239E6E4-3C4E-45DE-81B4-3BC7635BE63F}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="$(SolutionDir)\..\examples\demo\01-snake\README.txt" />
|
||||||
|
<ClCompile Include="$(SolutionDir)\..\examples\demo\01-snake\*.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{25BB7BA9-DCAB-4944-9F2A-E316D63AF356}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="$(SolutionDir)\..\examples\pen\01-drawing-lines\README.txt" />
|
||||||
|
<ClCompile Include="$(SolutionDir)\..\examples\pen\01-drawing-lines\*.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{541DB2BF-7BE8-402C-8D7C-4BCC5A16DCDF}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="$(SolutionDir)\..\examples\renderer\01-clear\README.txt" />
|
||||||
|
<ClCompile Include="$(SolutionDir)\..\examples\renderer\01-clear\*.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{1C512964-A1E4-4569-8EA4-1165D89A9FD9}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="$(SolutionDir)\..\examples\renderer\02-primitives\README.txt" />
|
||||||
|
<ClCompile Include="$(SolutionDir)\..\examples\renderer\02-primitives\*.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{156986DD-710A-4627-8159-19FD1CE0C243}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="$(SolutionDir)\..\examples\renderer\03-lines\README.txt" />
|
||||||
|
<ClCompile Include="$(SolutionDir)\..\examples\renderer\03-lines\*.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{3D355C93-8429-4226-82D5-F8A63BC02801}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="$(SolutionDir)\..\examples\renderer\04-points\README.txt" />
|
||||||
|
<ClCompile Include="$(SolutionDir)\..\examples\renderer\04-points\*.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{03CFCE68-B607-4781-8348-4F5F93A09A63}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="$(SolutionDir)\..\examples\renderer\05-rectangles\README.txt" />
|
||||||
|
<ClCompile Include="$(SolutionDir)\..\examples\renderer\05-rectangles\*.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{90118B89-7011-4BDA-AF6E-FAEF74BAD73C}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="$(SolutionDir)\..\examples\renderer\06-textures\README.txt" />
|
||||||
|
<ClCompile Include="$(SolutionDir)\..\examples\renderer\06-textures\*.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{2FE0342B-DB71-42D9-918D-C48099167DB9}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="$(SolutionDir)\..\examples\renderer\07-streaming-textures\README.txt" />
|
||||||
|
<ClCompile Include="$(SolutionDir)\..\examples\renderer\07-streaming-textures\*.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{E0D48833-9BD2-46EC-A1DA-BC06C521E3CB}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="$(SolutionDir)\..\examples\renderer\08-rotating-textures\README.txt" />
|
||||||
|
<ClCompile Include="$(SolutionDir)\..\examples\renderer\08-rotating-textures\*.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{76D6D01E-79C3-4599-8920-DADDD5D8F8D0}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="$(SolutionDir)\..\examples\renderer\09-scaling-textures\README.txt" />
|
||||||
|
<ClCompile Include="$(SolutionDir)\..\examples\renderer\09-scaling-textures\*.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{FA567681-211A-43AB-A9B2-6C1EC39CEBFF}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="$(SolutionDir)\..\examples\renderer\10-geometry\README.txt" />
|
||||||
|
<ClCompile Include="$(SolutionDir)\..\examples\renderer\10-geometry\*.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{6539C356-F420-4EBF-937A-E03C1EDEF8D5}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="$(SolutionDir)\..\examples\renderer\11-color-mods\README.txt" />
|
||||||
|
<ClCompile Include="$(SolutionDir)\..\examples\renderer\11-color-mods\*.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{42C0ABC6-6E99-4FE2-B4DB-8B1DFA9D2AEC}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="$(SolutionDir)\..\examples\renderer\14-viewport\README.txt" />
|
||||||
|
<ClCompile Include="$(SolutionDir)\..\examples\renderer\14-viewport\*.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{2ED69519-A202-4B6E-870E-71FD43A5B883}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="$(SolutionDir)\..\examples\renderer\15-cliprect\README.txt" />
|
||||||
|
<ClCompile Include="$(SolutionDir)\..\examples\renderer\15-cliprect\*.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{94DB4D43-D07D-4CD3-94FF-B6E96CC97C60}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="$(SolutionDir)\..\examples\renderer\17-read-pixels\README.txt" />
|
||||||
|
<ClCompile Include="$(SolutionDir)\..\examples\renderer\17-read-pixels\*.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{72F39D57-7D82-4040-AE2B-CA7C922506E3}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="$(SolutionDir)\..\examples\renderer\18-debug-text\README.txt" />
|
||||||
|
<ClCompile Include="$(SolutionDir)\..\examples\renderer\18-debug-text\*.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,177 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug|Win32">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|Win32">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug|x64">
|
||||||
|
<Configuration>Debug</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release|x64">
|
||||||
|
<Configuration>Release</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<VCProjectVersion>15.0</VCProjectVersion>
|
||||||
|
<Keyword>Win32Proj</Keyword>
|
||||||
|
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<PreferredToolArchitecture>x64</PreferredToolArchitecture>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<PlatformToolset>v143</PlatformToolset>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="Shared">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(Platform)\$(Configuration)\</IntDir>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(Platform)\$(Configuration)\</IntDir>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(Platform)\$(Configuration)\</IntDir>
|
||||||
|
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
||||||
|
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(Platform)\$(Configuration)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<SDLCheck>true</SDLCheck>
|
||||||
|
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<ConformanceMode>true</ConformanceMode>
|
||||||
|
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<SDLCheck>true</SDLCheck>
|
||||||
|
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<ConformanceMode>true</ConformanceMode>
|
||||||
|
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<SDLCheck>true</SDLCheck>
|
||||||
|
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<ConformanceMode>true</ConformanceMode>
|
||||||
|
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||||
|
<WarningLevel>Level3</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<SDLCheck>true</SDLCheck>
|
||||||
|
<PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<ConformanceMode>true</ConformanceMode>
|
||||||
|
<PrecompiledHeaderFile>pch.h</PrecompiledHeaderFile>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup>
|
||||||
|
<ClCompile>
|
||||||
|
<AdditionalIncludeDirectories>$(SolutionDir)\..\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
||||||
|
</ClCompile>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="$(SolutionDir)\SDL\SDL.vcxproj">
|
||||||
|
<Project>{81CE8DAF-EBB2-4761-8E45-B71ABCCA8C68}</Project>
|
||||||
|
<Private>false</Private>
|
||||||
|
<CopyLocalSatelliteAssemblies>false</CopyLocalSatelliteAssemblies>
|
||||||
|
<ReferenceOutputAssembly>true</ReferenceOutputAssembly>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{EB448819-74BC-40C9-A61A-4D4ECD55F9D5}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="$(SolutionDir)\..\examples\audio\01-simple-playback\README.txt" />
|
||||||
|
<ClCompile Include="$(SolutionDir)\..\examples\audio\01-simple-playback\simple-playback.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
||||||
+13
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{6B710DFF-8A4A-40A2-BF2D-88D266F3D4F0}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="$(SolutionDir)\..\examples\audio\02-simple-playback-callback\README.txt" />
|
||||||
|
<ClCompile Include="$(SolutionDir)\..\examples\audio\02-simple-playback-callback\simple-playback-callback.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{608C6C67-7766-471F-BBFF-8B00086039AF}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="$(SolutionDir)\..\examples\audio\03-load-wav\README.txt" />
|
||||||
|
<ClCompile Include="$(SolutionDir)\..\examples\audio\03-load-wav\load-wav.c" />
|
||||||
|
<Content Include="$(SolutionDir)\..\test\sample.wav" CopyToOutputDirectory="PreserveNewest" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{510ACF0C-4012-4216-98EF-E4F155DE33CE}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="$(SolutionDir)\..\examples\camera\01-read-and-draw\README.txt" />
|
||||||
|
<ClCompile Include="$(SolutionDir)\..\examples\camera\01-read-and-draw\read-and-draw.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{7820969A-5B7B-4046-BB0A-82905D457FC5}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="$(SolutionDir)\..\examples\demo\01-snake\README.txt" />
|
||||||
|
<ClCompile Include="$(SolutionDir)\..\examples\demo\01-snake\snake.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{A3F601E0-B54C-4DD8-8A97-FDEF7624EE60}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="$(SolutionDir)\..\examples\demo\02-woodeneye-008\README.txt" />
|
||||||
|
<ClCompile Include="$(SolutionDir)\..\examples\demo\02-woodeneye-008\woodeneye-008.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{75AEE75A-C016-4497-960B-D767B822237D}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="$(SolutionDir)\..\examples\demo\03-infinite-monkeys\README.txt" />
|
||||||
|
<ClCompile Include="$(SolutionDir)\..\examples\demo\03-infinite-monkeys\infinite-monkeys.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
||||||
Executable
+54
@@ -0,0 +1,54 @@
|
|||||||
|
import os
|
||||||
|
import pathlib
|
||||||
|
import uuid
|
||||||
|
|
||||||
|
REPOSITORY_ROOT = pathlib.Path(__file__).parent.parent.parent
|
||||||
|
|
||||||
|
|
||||||
|
def generate(category, example_name, c_source_file):
|
||||||
|
guid = str(uuid.uuid4()).upper()
|
||||||
|
text = f"""
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{{{guid}}}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\\Microsoft.Cpp.Default.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\\Microsoft.Cpp.props" />
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="$(SolutionDir)\\..\\examples\\{category}\\{example_name}\\README.txt" />
|
||||||
|
<ClCompile Include="$(SolutionDir)\\..\\examples\\{category}\\{example_name}\\{c_source_file}" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
||||||
|
""".strip()
|
||||||
|
|
||||||
|
project_file = REPOSITORY_ROOT / "VisualC" / "examples" / category / example_name / f"{example_name}.vcxproj"
|
||||||
|
|
||||||
|
if project_file.exists():
|
||||||
|
print("Skipping:", project_file)
|
||||||
|
return
|
||||||
|
|
||||||
|
print("Generating file:", project_file)
|
||||||
|
os.makedirs(project_file.parent, exist_ok=True)
|
||||||
|
with open(project_file, "w", encoding="utf-8") as f:
|
||||||
|
f.write(text)
|
||||||
|
|
||||||
|
|
||||||
|
def get_c_source_filename(example_dir: pathlib.Path):
|
||||||
|
"""Gets the one and only C source file name in the directory of the example."""
|
||||||
|
c_files = [f.name for f in example_dir.iterdir() if f.name.endswith(".c")]
|
||||||
|
assert len(c_files) == 1
|
||||||
|
return c_files[0]
|
||||||
|
|
||||||
|
|
||||||
|
def main():
|
||||||
|
path = REPOSITORY_ROOT / "examples"
|
||||||
|
for category in path.iterdir():
|
||||||
|
if category.is_dir():
|
||||||
|
for example in category.iterdir():
|
||||||
|
generate(category.name, example.name, get_c_source_filename(example))
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
main()
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{5EDA1ED3-8213-4C12-B0DF-B631EB611804}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="$(SolutionDir)\..\examples\pen\01-drawing-lines\README.txt" />
|
||||||
|
<ClCompile Include="$(SolutionDir)\..\examples\pen\01-drawing-lines\drawing-lines.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{896557AC-7575-480C-8FFD-AB08B5DA305D}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="$(SolutionDir)\..\examples\renderer\01-clear\README.txt" />
|
||||||
|
<ClCompile Include="$(SolutionDir)\..\examples\renderer\01-clear\clear.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{504DC7EC-D82E-448E-9C7D-3BE7981592B3}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="$(SolutionDir)\..\examples\renderer\02-primitives\README.txt" />
|
||||||
|
<ClCompile Include="$(SolutionDir)\..\examples\renderer\02-primitives\primitives.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{BDE7DBC0-DCE7-432E-8750-C4AE55463699}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="$(SolutionDir)\..\examples\renderer\03-lines\README.txt" />
|
||||||
|
<ClCompile Include="$(SolutionDir)\..\examples\renderer\03-lines\lines.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{7B250AB1-92D3-4F1A-BEB4-19605A69CEDB}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="$(SolutionDir)\..\examples\renderer\04-points\README.txt" />
|
||||||
|
<ClCompile Include="$(SolutionDir)\..\examples\renderer\04-points\points.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{4C0E3A60-24F8-4D4C-81C0-C1777F5E7B17}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="$(SolutionDir)\..\examples\renderer\05-rectangles\README.txt" />
|
||||||
|
<ClCompile Include="$(SolutionDir)\..\examples\renderer\05-rectangles\rectangles.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{B3D61611-BFA3-4B66-ADC7-A3CE578A6D36}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="$(SolutionDir)\..\examples\renderer\06-textures\README.txt" />
|
||||||
|
<ClCompile Include="$(SolutionDir)\..\examples\renderer\06-textures\textures.c" />
|
||||||
|
<Content Include="$(SolutionDir)\..\test\sample.bmp" CopyToOutputDirectory="PreserveNewest" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{540AE143-A58F-4D3B-B843-94EA8576522D}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="$(SolutionDir)\..\examples\renderer\07-streaming-textures\README.txt" />
|
||||||
|
<ClCompile Include="$(SolutionDir)\..\examples\renderer\07-streaming-textures\streaming-textures.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{7091C001-3D71-47D4-B27B-E99271E5B987}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="$(SolutionDir)\..\examples\renderer\08-rotating-textures\README.txt" />
|
||||||
|
<ClCompile Include="$(SolutionDir)\..\examples\renderer\08-rotating-textures\rotating-textures.c" />
|
||||||
|
<Content Include="$(SolutionDir)\..\test\sample.bmp" CopyToOutputDirectory="PreserveNewest" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{AF8BC84E-0268-4D1F-9503-84D9EE84C65F}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="$(SolutionDir)\..\examples\renderer\09-scaling-textures\README.txt" />
|
||||||
|
<ClCompile Include="$(SolutionDir)\..\examples\renderer\09-scaling-textures\scaling-textures.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{8B9AB23E-3F40-4145-BA1C-B2CEACFBBD72}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="$(SolutionDir)\..\examples\renderer\10-geometry\README.txt" />
|
||||||
|
<ClCompile Include="$(SolutionDir)\..\examples\renderer\10-geometry\geometry.c" />
|
||||||
|
<Content Include="$(SolutionDir)\..\test\sample.bmp" CopyToOutputDirectory="PreserveNewest" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{E9C6A7A6-22C0-42E6-AC9C-8580A396D077}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="$(SolutionDir)\..\examples\renderer\11-color-mods\README.txt" />
|
||||||
|
<ClCompile Include="$(SolutionDir)\..\examples\renderer\11-color-mods\color-mods.c" />
|
||||||
|
<Content Include="$(SolutionDir)\..\test\sample.bmp" CopyToOutputDirectory="PreserveNewest" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{B85BC466-C7F0-4C6D-8ECF-ED57E775FC73}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="$(SolutionDir)\..\examples\renderer\14-viewport\README.txt" />
|
||||||
|
<ClCompile Include="$(SolutionDir)\..\examples\renderer\14-viewport\viewport.c" />
|
||||||
|
<Content Include="$(SolutionDir)\..\test\sample.bmp" CopyToOutputDirectory="PreserveNewest" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{9DBD962F-EA4D-44E3-8E8E-31D7F060A2DC}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="$(SolutionDir)\..\examples\renderer\15-cliprect\README.txt" />
|
||||||
|
<ClCompile Include="$(SolutionDir)\..\examples\renderer\15-cliprect\cliprect.c" />
|
||||||
|
<Content Include="$(SolutionDir)\..\test\sample.bmp" CopyToOutputDirectory="PreserveNewest" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{EEF00329-4598-4E34-B969-9DD4B0815E6C}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="$(SolutionDir)\..\examples\renderer\17-read-pixels\README.txt" />
|
||||||
|
<ClCompile Include="$(SolutionDir)\..\examples\renderer\17-read-pixels\read-pixels.c" />
|
||||||
|
<Content Include="$(SolutionDir)\..\test\sample.bmp" CopyToOutputDirectory="PreserveNewest" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{CC0714AA-8A81-4E29-BEC5-2E4FBC50E7FE}</ProjectGuid>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="$(SolutionDir)\..\examples\renderer\18-debug-text\README.txt" />
|
||||||
|
<ClCompile Include="$(SolutionDir)\..\examples\renderer\18-debug-text\debug-text.c" />
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
</Project>
|
||||||
+14
-33
@@ -1,33 +1,14 @@
|
|||||||
|
|
||||||
This is a list of major changes in SDL's version history.
|
This is a list of major changes in SDL's version history.
|
||||||
|
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
3.1.0:
|
3.2.0:
|
||||||
---------------------------------------------------------------------------
|
---------------------------------------------------------------------------
|
||||||
|
|
||||||
This is a preview release of the new SDL 3.0 API.
|
Check out [migration guide](docs/README-migration.md) for details on API changes since SDL 2.0, and tips on transitioning your code from SDL2 code to SDL3.
|
||||||
|
|
||||||
The ABI hasn't been locked down yet, but it's fairly stable and feedback is welcome!
|
There have been too many changes to list them all, but here are some of the highlights:
|
||||||
|
|
||||||
Check out [migration guide](docs/README-migration.md) for details on API changes since SDL 2.0, and tips on transitioning your code from SDL2 code to SDL3.
|
https://wiki.libsdl.org/SDL3/NewFeatures
|
||||||
|
|
||||||
There have been too many changes to list them all, but here are some of the highlights:
|
Thank you to all the people who have contributed code and feedback to the SDL 3.0 release!
|
||||||
* The API has been significantly reworked to be easier to use and more consistent
|
|
||||||
* The 2D rendering API now has support for more advanced colorspaces and HDR rendering
|
|
||||||
* The 2D rendering API now has a Vulkan backend
|
|
||||||
* An example of hardware accelerated video playback using ffmpeg has been added in test/testffmpeg.c
|
|
||||||
* The shaped window API has been replaced with transparent windows
|
|
||||||
* Time and date functions have been added in SDL_time.h
|
|
||||||
* Support for webcam video recording has been added in SDL_camera.h
|
|
||||||
* Support for handling pens and tablets has been added in SDL_pen.h
|
|
||||||
* Support for file open and save dialogs has been added in SDL_dialog.h
|
|
||||||
* Cross-platform functions for working with files and directories are available in SDL_filesystem.h
|
|
||||||
* A cross-platform abstraction for working with user and game data has been added in SDL_storage.h
|
|
||||||
* Handling of main() has been moved to a header library and an optional callback-based program flow is available
|
|
||||||
* Support for simple object properties has been added in SDL_properties.h. These properties are available on many SDL objects, and can be used for more advanced functionality.
|
|
||||||
|
|
||||||
Please let us know about issues and feedback at: https://github.com/libsdl-org/SDL/issues
|
|
||||||
|
|
||||||
The development team is focused on code, moving towards the final release, and we would love volunteers to help improve the documentation. Please send e-mail to slouken@libsdl.org if you'd like to help out!
|
|
||||||
|
|
||||||
Finally, a giant thank you to all the people who have contributed code and feedback to the SDL 3.0 improvements!
|
|
||||||
@@ -19,10 +19,10 @@
|
|||||||
<key>CFBundlePackageType</key>
|
<key>CFBundlePackageType</key>
|
||||||
<string>FMWK</string>
|
<string>FMWK</string>
|
||||||
<key>CFBundleShortVersionString</key>
|
<key>CFBundleShortVersionString</key>
|
||||||
<string>3.1.3</string>
|
<string>3.2.0</string>
|
||||||
<key>CFBundleSignature</key>
|
<key>CFBundleSignature</key>
|
||||||
<string>SDLX</string>
|
<string>SDLX</string>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>3.1.3</string>
|
<string>3.2.0</string>
|
||||||
</dict>
|
</dict>
|
||||||
</plist>
|
</plist>
|
||||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,12 @@
|
|||||||
|
//
|
||||||
|
// config.xcconfig
|
||||||
|
//
|
||||||
|
|
||||||
|
// Configuration settings file format documentation can be found at:
|
||||||
|
// https://help.apple.com/xcode/#/dev745c5c974
|
||||||
|
|
||||||
|
// Include any optional config for this build
|
||||||
|
#include? "build.xcconfig"
|
||||||
|
|
||||||
|
CONFIG_PREPROCESSOR_DEFINITIONS = $(inherited) $(SDL_PREPROCESSOR_DEFINITIONS)
|
||||||
|
CONFIG_FRAMEWORK_LDFLAGS = $(inherited)
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
Title SDL 3.1.3
|
Title SDL 3.2.0
|
||||||
Version 1
|
Version 1
|
||||||
Description SDL Library for macOS (http://www.libsdl.org)
|
Description SDL Library for macOS (http://www.libsdl.org)
|
||||||
DefaultLocation /Library/Frameworks
|
DefaultLocation /Library/Frameworks
|
||||||
|
|||||||
@@ -0,0 +1,8 @@
|
|||||||
|
//
|
||||||
|
// build.xcconfig
|
||||||
|
//
|
||||||
|
|
||||||
|
// Configuration settings file format documentation can be found at:
|
||||||
|
// https://help.apple.com/xcode/#/dev745c5c974
|
||||||
|
|
||||||
|
SDL_PREPROCESSOR_DEFINITIONS = SDL_VENDOR_INFO=\"libsdl.org\"
|
||||||
@@ -0,0 +1,43 @@
|
|||||||
|
|
||||||
|
# Using this package
|
||||||
|
|
||||||
|
This package contains SDL built for Xcode, and includes support for macOS, iOS and tvOS.
|
||||||
|
|
||||||
|
To use this package in Xcode, drag `SDL3.xcframework` into your project.
|
||||||
|
|
||||||
|
To use this package in a CMake project, copy both `SDL3.xcframework` and `share` to `~/Library/Frameworks`.
|
||||||
|
|
||||||
|
# Documentation
|
||||||
|
|
||||||
|
An API reference, tutorials, and additional documentation is available at:
|
||||||
|
|
||||||
|
https://wiki.libsdl.org/SDL3
|
||||||
|
|
||||||
|
# Example code
|
||||||
|
|
||||||
|
There are simple example programs available at:
|
||||||
|
|
||||||
|
https://examples.libsdl.org/SDL3
|
||||||
|
|
||||||
|
# Discussions
|
||||||
|
|
||||||
|
## Discord
|
||||||
|
|
||||||
|
You can join the official Discord server at:
|
||||||
|
|
||||||
|
https://discord.com/invite/BwpFGBWsv8
|
||||||
|
|
||||||
|
## Forums/mailing lists
|
||||||
|
|
||||||
|
You can join SDL development discussions at:
|
||||||
|
|
||||||
|
https://discourse.libsdl.org/
|
||||||
|
|
||||||
|
Once you sign up, you can use the forum through the website or as a mailing list from your email client.
|
||||||
|
|
||||||
|
## Announcement list
|
||||||
|
|
||||||
|
You can sign up for the low traffic announcement list at:
|
||||||
|
|
||||||
|
https://www.libsdl.org/mailing-list.php
|
||||||
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
|
|
||||||
Simple DirectMedia Layer
|
|
||||||
Copyright (C) 1997-2024 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.
|
|
||||||
@@ -1,44 +0,0 @@
|
|||||||
The Simple DirectMedia Layer (SDL for short) is a cross-platform
|
|
||||||
library designed to make it easy to write multi-media software,
|
|
||||||
such as games and emulators.
|
|
||||||
|
|
||||||
The Simple DirectMedia Layer library source code is available from:
|
|
||||||
http://www.libsdl.org/
|
|
||||||
|
|
||||||
This library is distributed under the terms of the zlib license:
|
|
||||||
http://zlib.net/zlib_license.html
|
|
||||||
|
|
||||||
|
|
||||||
This packages contains the SDL framework for macOS.
|
|
||||||
Conforming with Apple guidelines, this framework
|
|
||||||
contains both the SDL runtime component and development header files.
|
|
||||||
|
|
||||||
|
|
||||||
To Install:
|
|
||||||
Copy "SDL3.xcframework" and "share" to /Library/Frameworks
|
|
||||||
|
|
||||||
You may alternatively install it in <Your home directory>/Library/Frameworks
|
|
||||||
if your access privileges are not high enough.
|
|
||||||
|
|
||||||
|
|
||||||
Use in CMake projects:
|
|
||||||
SDL3.xcframework can be used in CMake projects using the following pattern:
|
|
||||||
```cmake
|
|
||||||
find_package(SDL3 REQUIRED COMPONENTS SDL3)
|
|
||||||
add_executable(my_game ${MY_SOURCES})
|
|
||||||
target_link_libraries(my_game PRIVATE SDL3::SDL3)
|
|
||||||
```
|
|
||||||
If SDL3.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:
|
|
||||||
|
|
||||||
- Screencast tutorials for getting started with OpenSceneGraph/macOS are
|
|
||||||
available at:
|
|
||||||
http://www.openscenegraph.org/projects/osg/wiki/Support/Tutorials/MacOSXTips
|
|
||||||
Though these are OpenSceneGraph centric, the same exact concepts apply to
|
|
||||||
SDL, thus the videos are recommended for everybody getting started with
|
|
||||||
developing on macOS. (You can skim over the PlugIns stuff since SDL
|
|
||||||
doesn't have any PlugIns to worry about.)
|
|
||||||
Binary file not shown.
+1
-1
@@ -59,7 +59,7 @@ if(NOT TARGET SDL3::SDL3-shared)
|
|||||||
set_target_properties(SDL3::SDL3-shared
|
set_target_properties(SDL3::SDL3-shared
|
||||||
PROPERTIES
|
PROPERTIES
|
||||||
FRAMEWORK "TRUE"
|
FRAMEWORK "TRUE"
|
||||||
IMPORTED_LOCATION "${_sdl3_framework_path}/SDL3"
|
IMPORTED_LOCATION "${_sdl3_framework_path}"
|
||||||
INTERFACE_LINK_LIBRARIES "SDL3::Headers"
|
INTERFACE_LINK_LIBRARIES "SDL3::Headers"
|
||||||
COMPATIBLE_INTERFACE_BOOL "SDL3_SHARED"
|
COMPATIBLE_INTERFACE_BOOL "SDL3_SHARED"
|
||||||
INTERFACE_SDL3_SHARED "ON"
|
INTERFACE_SDL3_SHARED "ON"
|
||||||
File renamed without changes.
@@ -0,0 +1,41 @@
|
|||||||
|
|
||||||
|
# Using this package
|
||||||
|
|
||||||
|
This package contains SDL built for Xcode.
|
||||||
|
|
||||||
|
To use this package in Xcode, drag `SDL3.framework` into your project.
|
||||||
|
|
||||||
|
# Documentation
|
||||||
|
|
||||||
|
An API reference, tutorials, and additional documentation is available at:
|
||||||
|
|
||||||
|
https://wiki.libsdl.org/SDL3
|
||||||
|
|
||||||
|
# Example code
|
||||||
|
|
||||||
|
There are simple example programs available at:
|
||||||
|
|
||||||
|
https://examples.libsdl.org/SDL3
|
||||||
|
|
||||||
|
# Discussions
|
||||||
|
|
||||||
|
## Discord
|
||||||
|
|
||||||
|
You can join the official Discord server at:
|
||||||
|
|
||||||
|
https://discord.com/invite/BwpFGBWsv8
|
||||||
|
|
||||||
|
## Forums/mailing lists
|
||||||
|
|
||||||
|
You can join SDL development discussions at:
|
||||||
|
|
||||||
|
https://discourse.libsdl.org/
|
||||||
|
|
||||||
|
Once you sign up, you can use the forum through the website or as a mailing list from your email client.
|
||||||
|
|
||||||
|
## Announcement list
|
||||||
|
|
||||||
|
You can sign up for the low traffic announcement list at:
|
||||||
|
|
||||||
|
https://www.libsdl.org/mailing-list.php
|
||||||
|
|
||||||
+19
-7
@@ -32,14 +32,24 @@ endmacro()
|
|||||||
set(SDL3_FOUND TRUE)
|
set(SDL3_FOUND TRUE)
|
||||||
|
|
||||||
macro(_check_target_is_simulator)
|
macro(_check_target_is_simulator)
|
||||||
include(CheckCSourceCompiles)
|
set(src [===[
|
||||||
check_c_source_compiles([===[
|
|
||||||
#include <TargetConditionals.h>
|
#include <TargetConditionals.h>
|
||||||
#if defined(TARGET_OS_SIMULATOR)
|
#if defined(TARGET_OS_SIMULATOR) && TARGET_OS_SIMULATOR
|
||||||
int target_is_simulator;
|
int target_is_simulator;
|
||||||
#endif
|
#endif
|
||||||
int main(int argc, char *argv[]) { return target_is_simulator; }
|
int main(int argc, char *argv[]) { return target_is_simulator; }
|
||||||
]===] SDL_TARGET_IS_SIMULATOR)
|
]===])
|
||||||
|
if(CMAKE_C_COMPILER)
|
||||||
|
include(CheckCSourceCompiles)
|
||||||
|
check_c_source_compiles("${src}" SDL_TARGET_IS_SIMULATOR)
|
||||||
|
elseif(CMAKE_CXX_COMPILER)
|
||||||
|
include(CheckCXXSourceCompiles)
|
||||||
|
check_cxx_source_compiles("${src}" SDL_TARGET_IS_SIMULATOR)
|
||||||
|
else()
|
||||||
|
enable_language(C)
|
||||||
|
include(CheckCSourceCompiles)
|
||||||
|
check_c_source_compiles("${src}" SDL_TARGET_IS_SIMULATOR)
|
||||||
|
endif()
|
||||||
endmacro()
|
endmacro()
|
||||||
|
|
||||||
if(CMAKE_SYSTEM_NAME STREQUAL "iOS")
|
if(CMAKE_SYSTEM_NAME STREQUAL "iOS")
|
||||||
@@ -59,7 +69,7 @@ elseif(CMAKE_SYSTEM_NAME STREQUAL "tvOS")
|
|||||||
elseif(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
|
elseif(CMAKE_SYSTEM_NAME STREQUAL "Darwin")
|
||||||
set(_xcfw_target_subdir "macos-arm64_x86_64")
|
set(_xcfw_target_subdir "macos-arm64_x86_64")
|
||||||
else()
|
else()
|
||||||
message(WARNING "Unsupported Apple platform (${CMAKE_SYSTEM_NAME}) and broken sdl3-config-version.cmake")
|
message(WARNING "Unsupported Apple platform (${CMAKE_SYSTEM_NAME}) and broken SDL3ConfigVersion.cmake")
|
||||||
set(SDL3_FOUND FALSE)
|
set(SDL3_FOUND FALSE)
|
||||||
return()
|
return()
|
||||||
endif()
|
endif()
|
||||||
@@ -89,7 +99,9 @@ set(SDL3_Headers_FOUND TRUE)
|
|||||||
|
|
||||||
if(NOT TARGET SDL3::SDL3-shared)
|
if(NOT TARGET SDL3::SDL3-shared)
|
||||||
add_library(SDL3::SDL3-shared SHARED IMPORTED)
|
add_library(SDL3::SDL3-shared SHARED IMPORTED)
|
||||||
if(CMAKE_VERSION GREATER_EQUAL "3.28")
|
# CMake does not automatically add RPATHS when using xcframeworks
|
||||||
|
# https://gitlab.kitware.com/cmake/cmake/-/issues/25998
|
||||||
|
if(0) # if(CMAKE_VERSION GREATER_EQUAL "3.28")
|
||||||
set_target_properties(SDL3::SDL3-shared
|
set_target_properties(SDL3::SDL3-shared
|
||||||
PROPERTIES
|
PROPERTIES
|
||||||
FRAMEWORK "TRUE"
|
FRAMEWORK "TRUE"
|
||||||
@@ -100,7 +112,7 @@ if(NOT TARGET SDL3::SDL3-shared)
|
|||||||
set_target_properties(SDL3::SDL3-shared
|
set_target_properties(SDL3::SDL3-shared
|
||||||
PROPERTIES
|
PROPERTIES
|
||||||
FRAMEWORK "TRUE"
|
FRAMEWORK "TRUE"
|
||||||
IMPORTED_LOCATION "${_sdl3_framework_path}/SDL3"
|
IMPORTED_LOCATION "${_sdl3_framework_path}"
|
||||||
INTERFACE_LINK_LIBRARIES "SDL3::Headers"
|
INTERFACE_LINK_LIBRARIES "SDL3::Headers"
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
File renamed without changes.
@@ -3,7 +3,7 @@
|
|||||||
archiveVersion = 1;
|
archiveVersion = 1;
|
||||||
classes = {
|
classes = {
|
||||||
};
|
};
|
||||||
objectVersion = 55;
|
objectVersion = 54;
|
||||||
objects = {
|
objects = {
|
||||||
|
|
||||||
/* Begin PBXAggregateTarget section */
|
/* Begin PBXAggregateTarget section */
|
||||||
|
|||||||
@@ -6,10 +6,10 @@ def buildWithCMake = project.hasProperty('BUILD_WITH_CMAKE');
|
|||||||
|
|
||||||
android {
|
android {
|
||||||
namespace "org.libsdl.app"
|
namespace "org.libsdl.app"
|
||||||
compileSdkVersion 34
|
compileSdkVersion 35
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
minSdkVersion 19
|
minSdkVersion 21
|
||||||
targetSdkVersion 34
|
targetSdkVersion 35
|
||||||
versionCode 1
|
versionCode 1
|
||||||
versionName "1.0"
|
versionName "1.0"
|
||||||
externalNativeBuild {
|
externalNativeBuild {
|
||||||
|
|||||||
+1
@@ -36,6 +36,7 @@
|
|||||||
int messageboxShowMessageBox(int, java.lang.String, java.lang.String, int[], int[], java.lang.String[], int[]);
|
int messageboxShowMessageBox(int, java.lang.String, java.lang.String, int[], int[], java.lang.String[], int[]);
|
||||||
void minimizeWindow();
|
void minimizeWindow();
|
||||||
boolean openURL(java.lang.String);
|
boolean openURL(java.lang.String);
|
||||||
|
void onNativePen(int, int, int , float , float , float);
|
||||||
void requestPermission(java.lang.String, int);
|
void requestPermission(java.lang.String, int);
|
||||||
boolean showToast(java.lang.String, int, int, int, int);
|
boolean showToast(java.lang.String, int, int, int, int);
|
||||||
boolean sendMessage(int, int);
|
boolean sendMessage(int, int);
|
||||||
|
|||||||
@@ -1,7 +1,4 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<!-- Replace com.test.game with the identifier of your game below, e.g.
|
|
||||||
com.gamemaker.game
|
|
||||||
-->
|
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:versionCode="1"
|
android:versionCode="1"
|
||||||
android:versionName="1.0"
|
android:versionName="1.0"
|
||||||
@@ -33,6 +30,7 @@
|
|||||||
|
|
||||||
<!-- Audio recording support -->
|
<!-- Audio recording support -->
|
||||||
<!-- if you want to record audio, uncomment this. -->
|
<!-- if you want to record audio, uncomment this. -->
|
||||||
|
<!-- <uses-permission android:name="android.permission.RECORD_AUDIO" /> -->
|
||||||
<!-- <uses-feature
|
<!-- <uses-feature
|
||||||
android:name="android.hardware.microphone"
|
android:name="android.hardware.microphone"
|
||||||
android:required="false" /> -->
|
android:required="false" /> -->
|
||||||
@@ -55,8 +53,11 @@
|
|||||||
<!-- Allow access to the vibrator -->
|
<!-- Allow access to the vibrator -->
|
||||||
<uses-permission android:name="android.permission.VIBRATE" />
|
<uses-permission android:name="android.permission.VIBRATE" />
|
||||||
|
|
||||||
<!-- if you want to record audio, uncomment this. -->
|
<!-- Allow access to Internet -->
|
||||||
<!-- <uses-permission android:name="android.permission.RECORD_AUDIO" /> -->
|
<!-- if you want to connect to the network or internet, uncomment this. -->
|
||||||
|
<!--
|
||||||
|
<uses-permission android:name="android.permission.INTERNET" />
|
||||||
|
-->
|
||||||
|
|
||||||
<!-- Create a Java class extending SDLActivity and place it in a
|
<!-- Create a Java class extending SDLActivity and place it in a
|
||||||
directory under app/src/main/java matching the package, e.g. app/src/main/java/com/gamemaker/game/MyGame.java
|
directory under app/src/main/java matching the package, e.g. app/src/main/java/com/gamemaker/game/MyGame.java
|
||||||
@@ -80,7 +81,7 @@
|
|||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:alwaysRetainTaskState="true"
|
android:alwaysRetainTaskState="true"
|
||||||
android:launchMode="singleInstance"
|
android:launchMode="singleInstance"
|
||||||
android:configChanges="layoutDirection|locale|orientation|uiMode|screenLayout|screenSize|smallestScreenSize|keyboard|keyboardHidden|navigation"
|
android:configChanges="layoutDirection|locale|grammaticalGender|fontScale|fontWeightAdjustment|orientation|uiMode|screenLayout|screenSize|smallestScreenSize|keyboard|keyboardHidden|navigation"
|
||||||
android:preferMinimalPostProcessing="true"
|
android:preferMinimalPostProcessing="true"
|
||||||
android:exported="true"
|
android:exported="true"
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -470,7 +470,7 @@ class HIDDeviceBLESteamController extends BluetoothGattCallback implements HIDDe
|
|||||||
// Only register controller with the native side once it has been fully configured
|
// Only register controller with the native side once it has been fully configured
|
||||||
if (!isRegistered()) {
|
if (!isRegistered()) {
|
||||||
Log.v(TAG, "Registering Steam Controller with ID: " + getId());
|
Log.v(TAG, "Registering Steam Controller with ID: " + getId());
|
||||||
mManager.HIDDeviceConnected(getId(), getIdentifier(), getVendorId(), getProductId(), getSerialNumber(), getVersion(), getManufacturerName(), getProductName(), 0, 0, 0, 0);
|
mManager.HIDDeviceConnected(getId(), getIdentifier(), getVendorId(), getProductId(), getSerialNumber(), getVersion(), getManufacturerName(), getProductName(), 0, 0, 0, 0, true);
|
||||||
setRegistered();
|
setRegistered();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -355,7 +355,7 @@ public class HIDDeviceManager {
|
|||||||
HIDDeviceUSB device = new HIDDeviceUSB(this, usbDevice, interface_index);
|
HIDDeviceUSB device = new HIDDeviceUSB(this, usbDevice, interface_index);
|
||||||
int id = device.getId();
|
int id = device.getId();
|
||||||
mDevicesById.put(id, device);
|
mDevicesById.put(id, device);
|
||||||
HIDDeviceConnected(id, device.getIdentifier(), device.getVendorId(), device.getProductId(), device.getSerialNumber(), device.getVersion(), device.getManufacturerName(), device.getProductName(), usbInterface.getId(), usbInterface.getInterfaceClass(), usbInterface.getInterfaceSubclass(), usbInterface.getInterfaceProtocol());
|
HIDDeviceConnected(id, device.getIdentifier(), device.getVendorId(), device.getProductId(), device.getSerialNumber(), device.getVersion(), device.getManufacturerName(), device.getProductName(), usbInterface.getId(), usbInterface.getInterfaceClass(), usbInterface.getInterfaceSubclass(), usbInterface.getInterfaceProtocol(), false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -679,7 +679,7 @@ public class HIDDeviceManager {
|
|||||||
private native void HIDDeviceRegisterCallback();
|
private native void HIDDeviceRegisterCallback();
|
||||||
private native void HIDDeviceReleaseCallback();
|
private native void HIDDeviceReleaseCallback();
|
||||||
|
|
||||||
native void HIDDeviceConnected(int deviceID, String identifier, int vendorId, int productId, String serial_number, int release_number, String manufacturer_string, String product_string, int interface_number, int interface_class, int interface_subclass, int interface_protocol);
|
native void HIDDeviceConnected(int deviceID, String identifier, int vendorId, int productId, String serial_number, int release_number, String manufacturer_string, String product_string, int interface_number, int interface_class, int interface_subclass, int interface_protocol, boolean bBluetooth);
|
||||||
native void HIDDeviceOpenPending(int deviceID);
|
native void HIDDeviceOpenPending(int deviceID);
|
||||||
native void HIDDeviceOpenResult(int deviceID, boolean opened);
|
native void HIDDeviceOpenResult(int deviceID, boolean opened);
|
||||||
native void HIDDeviceDisconnected(int deviceID);
|
native void HIDDeviceDisconnected(int deviceID);
|
||||||
|
|||||||
@@ -154,6 +154,11 @@ class HIDDeviceUSB implements HIDDevice {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int writeReport(byte[] report, boolean feature) {
|
public int writeReport(byte[] report, boolean feature) {
|
||||||
|
if (mConnection == null) {
|
||||||
|
Log.w(TAG, "writeReport() called with no device connection");
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
if (feature) {
|
if (feature) {
|
||||||
int res = -1;
|
int res = -1;
|
||||||
int offset = 0;
|
int offset = 0;
|
||||||
@@ -201,6 +206,11 @@ class HIDDeviceUSB implements HIDDevice {
|
|||||||
boolean skipped_report_id = false;
|
boolean skipped_report_id = false;
|
||||||
byte report_number = report[0];
|
byte report_number = report[0];
|
||||||
|
|
||||||
|
if (mConnection == null) {
|
||||||
|
Log.w(TAG, "readReport() called with no device connection");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
if (report_number == 0x0) {
|
if (report_number == 0x0) {
|
||||||
/* Offset the return buffer by 1, so that the report ID
|
/* Offset the return buffer by 1, so that the report ID
|
||||||
will remain in byte 0. */
|
will remain in byte 0. */
|
||||||
|
|||||||
@@ -59,8 +59,8 @@ 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";
|
||||||
private static final int SDL_MAJOR_VERSION = 3;
|
private static final int SDL_MAJOR_VERSION = 3;
|
||||||
private static final int SDL_MINOR_VERSION = 1;
|
private static final int SDL_MINOR_VERSION = 2;
|
||||||
private static final int SDL_MICRO_VERSION = 3;
|
private static final int SDL_MICRO_VERSION = 0;
|
||||||
/*
|
/*
|
||||||
// Display InputType.SOURCE/CLASS of events and devices
|
// Display InputType.SOURCE/CLASS of events and devices
|
||||||
//
|
//
|
||||||
@@ -223,7 +223,7 @@ public class SDLActivity extends Activity implements View.OnSystemUiVisibilityCh
|
|||||||
protected static SDLClipboardHandler mClipboardHandler;
|
protected static SDLClipboardHandler mClipboardHandler;
|
||||||
protected static Hashtable<Integer, PointerIcon> mCursors;
|
protected static Hashtable<Integer, PointerIcon> mCursors;
|
||||||
protected static int mLastCursorID;
|
protected static int mLastCursorID;
|
||||||
protected static SDLGenericMotionListener_API12 mMotionListener;
|
protected static SDLGenericMotionListener_API14 mMotionListener;
|
||||||
protected static HIDDeviceManager mHIDDeviceManager;
|
protected static HIDDeviceManager mHIDDeviceManager;
|
||||||
|
|
||||||
// This is what SDL runs in. It invokes SDL_main(), eventually
|
// This is what SDL runs in. It invokes SDL_main(), eventually
|
||||||
@@ -231,15 +231,16 @@ public class SDLActivity extends Activity implements View.OnSystemUiVisibilityCh
|
|||||||
protected static boolean mSDLMainFinished = false;
|
protected static boolean mSDLMainFinished = false;
|
||||||
protected static boolean mActivityCreated = false;
|
protected static boolean mActivityCreated = false;
|
||||||
private static SDLFileDialogState mFileDialogState = null;
|
private static SDLFileDialogState mFileDialogState = null;
|
||||||
|
protected static boolean mDispatchingKeyEvent = false;
|
||||||
|
|
||||||
protected static SDLGenericMotionListener_API12 getMotionListener() {
|
protected static SDLGenericMotionListener_API14 getMotionListener() {
|
||||||
if (mMotionListener == null) {
|
if (mMotionListener == null) {
|
||||||
if (Build.VERSION.SDK_INT >= 26 /* Android 8.0 (O) */) {
|
if (Build.VERSION.SDK_INT >= 26 /* Android 8.0 (O) */) {
|
||||||
mMotionListener = new SDLGenericMotionListener_API26();
|
mMotionListener = new SDLGenericMotionListener_API26();
|
||||||
} else if (Build.VERSION.SDK_INT >= 24 /* Android 7.0 (N) */) {
|
} else if (Build.VERSION.SDK_INT >= 24 /* Android 7.0 (N) */) {
|
||||||
mMotionListener = new SDLGenericMotionListener_API24();
|
mMotionListener = new SDLGenericMotionListener_API24();
|
||||||
} else {
|
} else {
|
||||||
mMotionListener = new SDLGenericMotionListener_API12();
|
mMotionListener = new SDLGenericMotionListener_API14();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -807,7 +808,14 @@ public class SDLActivity extends Activity implements View.OnSystemUiVisibilityCh
|
|||||||
) {
|
) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return super.dispatchKeyEvent(event);
|
mDispatchingKeyEvent = true;
|
||||||
|
boolean result = super.dispatchKeyEvent(event);
|
||||||
|
mDispatchingKeyEvent = false;
|
||||||
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static boolean dispatchingKeyEvent() {
|
||||||
|
return mDispatchingKeyEvent;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Transition to next state */
|
/* Transition to next state */
|
||||||
@@ -928,6 +936,10 @@ public class SDLActivity extends Activity implements View.OnSystemUiVisibilityCh
|
|||||||
if (Build.VERSION.SDK_INT >= 28 /* Android 9 (Pie) */) {
|
if (Build.VERSION.SDK_INT >= 28 /* Android 9 (Pie) */) {
|
||||||
window.getAttributes().layoutInDisplayCutoutMode = WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS;
|
window.getAttributes().layoutInDisplayCutoutMode = WindowManager.LayoutParams.LAYOUT_IN_DISPLAY_CUTOUT_MODE_ALWAYS;
|
||||||
}
|
}
|
||||||
|
if (Build.VERSION.SDK_INT >= 30 /* Android 11 (R) */ &&
|
||||||
|
Build.VERSION.SDK_INT < 35 /* Android 15 */) {
|
||||||
|
SDLActivity.onNativeInsetsChanged(0, 0, 0, 0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
Log.e(TAG, "error handling message, getContext() returned no Activity");
|
Log.e(TAG, "error handling message, getContext() returned no Activity");
|
||||||
@@ -1059,6 +1071,7 @@ public class SDLActivity extends Activity implements View.OnSystemUiVisibilityCh
|
|||||||
public static native void onNativeTouch(int touchDevId, int pointerFingerId,
|
public static native void onNativeTouch(int touchDevId, int pointerFingerId,
|
||||||
int action, float x,
|
int action, float x,
|
||||||
float y, float p);
|
float y, float p);
|
||||||
|
public static native void onNativePen(int penId, int button, int action, float x, float y, float p);
|
||||||
public static native void onNativeAccel(float x, float y, float z);
|
public static native void onNativeAccel(float x, float y, float z);
|
||||||
public static native void onNativeClipboardChanged();
|
public static native void onNativeClipboardChanged();
|
||||||
public static native void onNativeSurfaceCreated();
|
public static native void onNativeSurfaceCreated();
|
||||||
@@ -1490,7 +1503,6 @@ public class SDLActivity extends Activity implements View.OnSystemUiVisibilityCh
|
|||||||
// 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)) {
|
||||||
Log.v("SDL", "keycode is back or forward");
|
|
||||||
switch (event.getAction()) {
|
switch (event.getAction()) {
|
||||||
case KeyEvent.ACTION_DOWN:
|
case KeyEvent.ACTION_DOWN:
|
||||||
case KeyEvent.ACTION_UP:
|
case KeyEvent.ACTION_UP:
|
||||||
@@ -1503,6 +1515,8 @@ public class SDLActivity extends Activity implements View.OnSystemUiVisibilityCh
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (event.getAction() == KeyEvent.ACTION_DOWN) {
|
if (event.getAction() == KeyEvent.ACTION_DOWN) {
|
||||||
|
onNativeKeyDown(keyCode);
|
||||||
|
|
||||||
if (isTextInputEvent(event)) {
|
if (isTextInputEvent(event)) {
|
||||||
if (ic != null) {
|
if (ic != null) {
|
||||||
ic.commitText(String.valueOf((char) event.getUnicodeChar()), 1);
|
ic.commitText(String.valueOf((char) event.getUnicodeChar()), 1);
|
||||||
@@ -1510,7 +1524,6 @@ public class SDLActivity extends Activity implements View.OnSystemUiVisibilityCh
|
|||||||
SDLInputConnection.nativeCommitText(String.valueOf((char) event.getUnicodeChar()), 1);
|
SDLInputConnection.nativeCommitText(String.valueOf((char) event.getUnicodeChar()), 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
onNativeKeyDown(keyCode);
|
|
||||||
return true;
|
return true;
|
||||||
} else if (event.getAction() == KeyEvent.ACTION_UP) {
|
} else if (event.getAction() == KeyEvent.ACTION_UP) {
|
||||||
onNativeKeyUp(keyCode);
|
onNativeKeyUp(keyCode);
|
||||||
|
|||||||
@@ -662,44 +662,61 @@ class SDLHapticHandler {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class SDLGenericMotionListener_API12 implements View.OnGenericMotionListener {
|
class SDLGenericMotionListener_API14 implements View.OnGenericMotionListener {
|
||||||
// Generic Motion (mouse hover, joystick...) events go here
|
// Generic Motion (mouse hover, joystick...) events go here
|
||||||
@Override
|
@Override
|
||||||
public boolean onGenericMotion(View v, MotionEvent event) {
|
public boolean onGenericMotion(View v, MotionEvent event) {
|
||||||
|
if (event.getSource() == InputDevice.SOURCE_JOYSTICK)
|
||||||
|
return SDLControllerManager.handleJoystickMotionEvent(event);
|
||||||
|
|
||||||
float x, y;
|
float x, y;
|
||||||
int action;
|
int action = event.getActionMasked();
|
||||||
|
int pointerCount = event.getPointerCount();
|
||||||
|
boolean consumed = false;
|
||||||
|
|
||||||
switch ( event.getSource() ) {
|
for (int i = 0; i < pointerCount; i++) {
|
||||||
case InputDevice.SOURCE_JOYSTICK:
|
int toolType = event.getToolType(i);
|
||||||
return SDLControllerManager.handleJoystickMotionEvent(event);
|
|
||||||
|
|
||||||
case InputDevice.SOURCE_MOUSE:
|
if (toolType == MotionEvent.TOOL_TYPE_MOUSE) {
|
||||||
action = event.getActionMasked();
|
|
||||||
switch (action) {
|
switch (action) {
|
||||||
case MotionEvent.ACTION_SCROLL:
|
case MotionEvent.ACTION_SCROLL:
|
||||||
x = event.getAxisValue(MotionEvent.AXIS_HSCROLL, 0);
|
x = event.getAxisValue(MotionEvent.AXIS_HSCROLL, i);
|
||||||
y = event.getAxisValue(MotionEvent.AXIS_VSCROLL, 0);
|
y = event.getAxisValue(MotionEvent.AXIS_VSCROLL, i);
|
||||||
SDLActivity.onNativeMouse(0, action, x, y, false);
|
SDLActivity.onNativeMouse(0, action, x, y, false);
|
||||||
return true;
|
consumed = true;
|
||||||
|
break;
|
||||||
|
|
||||||
case MotionEvent.ACTION_HOVER_MOVE:
|
case MotionEvent.ACTION_HOVER_MOVE:
|
||||||
x = event.getX(0);
|
x = getEventX(event, i);
|
||||||
y = event.getY(0);
|
y = getEventY(event, i);
|
||||||
|
|
||||||
SDLActivity.onNativeMouse(0, action, x, y, false);
|
SDLActivity.onNativeMouse(0, action, x, y, checkRelativeEvent(event));
|
||||||
return true;
|
consumed = true;
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
break;
|
} else if (toolType == MotionEvent.TOOL_TYPE_STYLUS || toolType == MotionEvent.TOOL_TYPE_ERASER) {
|
||||||
|
switch (action) {
|
||||||
|
case MotionEvent.ACTION_HOVER_ENTER:
|
||||||
|
case MotionEvent.ACTION_HOVER_MOVE:
|
||||||
|
case MotionEvent.ACTION_HOVER_EXIT:
|
||||||
|
x = event.getX(i);
|
||||||
|
y = event.getY(i);
|
||||||
|
float p = event.getPressure(i);
|
||||||
|
|
||||||
default:
|
// BUTTON_STYLUS_PRIMARY is 2^5, so shift by 4
|
||||||
break;
|
int buttons = event.getButtonState() >> 4;
|
||||||
|
|
||||||
|
SDLActivity.onNativePen(event.getPointerId(i), buttons, action, x, y, p);
|
||||||
|
consumed = true;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Event was not managed
|
return consumed;
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public boolean supportsRelativeMouse() {
|
public boolean supportsRelativeMouse() {
|
||||||
@@ -714,46 +731,29 @@ class SDLGenericMotionListener_API12 implements View.OnGenericMotionListener {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public void reclaimRelativeMouseModeIfNeeded()
|
public void reclaimRelativeMouseModeIfNeeded() {
|
||||||
{
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public float getEventX(MotionEvent event) {
|
public boolean checkRelativeEvent(MotionEvent event) {
|
||||||
return event.getX(0);
|
return inRelativeMode();
|
||||||
}
|
}
|
||||||
|
|
||||||
public float getEventY(MotionEvent event) {
|
public float getEventX(MotionEvent event, int pointerIndex) {
|
||||||
return event.getY(0);
|
return event.getX(pointerIndex);
|
||||||
|
}
|
||||||
|
|
||||||
|
public float getEventY(MotionEvent event, int pointerIndex) {
|
||||||
|
return event.getY(pointerIndex);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class SDLGenericMotionListener_API24 extends SDLGenericMotionListener_API12 {
|
class SDLGenericMotionListener_API24 extends SDLGenericMotionListener_API14 {
|
||||||
// Generic Motion (mouse hover, joystick...) events go here
|
// Generic Motion (mouse hover, joystick...) events go here
|
||||||
|
|
||||||
private boolean mRelativeModeEnabled;
|
private boolean mRelativeModeEnabled;
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean onGenericMotion(View v, MotionEvent event) {
|
|
||||||
|
|
||||||
// Handle relative mouse mode
|
|
||||||
if (mRelativeModeEnabled) {
|
|
||||||
if (event.getSource() == InputDevice.SOURCE_MOUSE) {
|
|
||||||
int action = event.getActionMasked();
|
|
||||||
if (action == MotionEvent.ACTION_HOVER_MOVE) {
|
|
||||||
float x = event.getAxisValue(MotionEvent.AXIS_RELATIVE_X);
|
|
||||||
float y = event.getAxisValue(MotionEvent.AXIS_RELATIVE_Y);
|
|
||||||
SDLActivity.onNativeMouse(0, action, x, y, true);
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Event was not managed, call SDLGenericMotionListener_API12 method
|
|
||||||
return super.onGenericMotion(v, event);
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean supportsRelativeMouse() {
|
public boolean supportsRelativeMouse() {
|
||||||
return true;
|
return true;
|
||||||
@@ -771,20 +771,20 @@ class SDLGenericMotionListener_API24 extends SDLGenericMotionListener_API12 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public float getEventX(MotionEvent event) {
|
public float getEventX(MotionEvent event, int pointerIndex) {
|
||||||
if (mRelativeModeEnabled) {
|
if (mRelativeModeEnabled && event.getToolType(pointerIndex) == MotionEvent.TOOL_TYPE_MOUSE) {
|
||||||
return event.getAxisValue(MotionEvent.AXIS_RELATIVE_X);
|
return event.getAxisValue(MotionEvent.AXIS_RELATIVE_X, pointerIndex);
|
||||||
} else {
|
} else {
|
||||||
return event.getX(0);
|
return event.getX(pointerIndex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public float getEventY(MotionEvent event) {
|
public float getEventY(MotionEvent event, int pointerIndex) {
|
||||||
if (mRelativeModeEnabled) {
|
if (mRelativeModeEnabled && event.getToolType(pointerIndex) == MotionEvent.TOOL_TYPE_MOUSE) {
|
||||||
return event.getAxisValue(MotionEvent.AXIS_RELATIVE_Y);
|
return event.getAxisValue(MotionEvent.AXIS_RELATIVE_Y, pointerIndex);
|
||||||
} else {
|
} else {
|
||||||
return event.getY(0);
|
return event.getY(pointerIndex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -793,65 +793,6 @@ class SDLGenericMotionListener_API26 extends SDLGenericMotionListener_API24 {
|
|||||||
// Generic Motion (mouse hover, joystick...) events go here
|
// Generic Motion (mouse hover, joystick...) events go here
|
||||||
private boolean mRelativeModeEnabled;
|
private boolean mRelativeModeEnabled;
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean onGenericMotion(View v, MotionEvent event) {
|
|
||||||
float x, y;
|
|
||||||
int action;
|
|
||||||
|
|
||||||
switch ( event.getSource() ) {
|
|
||||||
case InputDevice.SOURCE_JOYSTICK:
|
|
||||||
return SDLControllerManager.handleJoystickMotionEvent(event);
|
|
||||||
|
|
||||||
case InputDevice.SOURCE_MOUSE:
|
|
||||||
// DeX desktop mouse cursor is a separate non-standard input type.
|
|
||||||
case InputDevice.SOURCE_MOUSE | InputDevice.SOURCE_TOUCHSCREEN:
|
|
||||||
action = event.getActionMasked();
|
|
||||||
switch (action) {
|
|
||||||
case MotionEvent.ACTION_SCROLL:
|
|
||||||
x = event.getAxisValue(MotionEvent.AXIS_HSCROLL, 0);
|
|
||||||
y = event.getAxisValue(MotionEvent.AXIS_VSCROLL, 0);
|
|
||||||
SDLActivity.onNativeMouse(0, action, x, y, false);
|
|
||||||
return true;
|
|
||||||
|
|
||||||
case MotionEvent.ACTION_HOVER_MOVE:
|
|
||||||
x = event.getX(0);
|
|
||||||
y = event.getY(0);
|
|
||||||
SDLActivity.onNativeMouse(0, action, x, y, false);
|
|
||||||
return true;
|
|
||||||
|
|
||||||
default:
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
|
|
||||||
case InputDevice.SOURCE_MOUSE_RELATIVE:
|
|
||||||
action = event.getActionMasked();
|
|
||||||
switch (action) {
|
|
||||||
case MotionEvent.ACTION_SCROLL:
|
|
||||||
x = event.getAxisValue(MotionEvent.AXIS_HSCROLL, 0);
|
|
||||||
y = event.getAxisValue(MotionEvent.AXIS_VSCROLL, 0);
|
|
||||||
SDLActivity.onNativeMouse(0, action, x, y, false);
|
|
||||||
return true;
|
|
||||||
|
|
||||||
case MotionEvent.ACTION_HOVER_MOVE:
|
|
||||||
x = event.getX(0);
|
|
||||||
y = event.getY(0);
|
|
||||||
SDLActivity.onNativeMouse(0, action, x, y, true);
|
|
||||||
return true;
|
|
||||||
|
|
||||||
default:
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
|
|
||||||
default:
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Event was not managed
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean supportsRelativeMouse() {
|
public boolean supportsRelativeMouse() {
|
||||||
return (!SDLActivity.isDeXMode() || Build.VERSION.SDK_INT >= 27 /* Android 8.1 (O_MR1) */);
|
return (!SDLActivity.isDeXMode() || Build.VERSION.SDK_INT >= 27 /* Android 8.1 (O_MR1) */);
|
||||||
@@ -878,22 +819,26 @@ class SDLGenericMotionListener_API26 extends SDLGenericMotionListener_API24 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void reclaimRelativeMouseModeIfNeeded()
|
public void reclaimRelativeMouseModeIfNeeded() {
|
||||||
{
|
|
||||||
if (mRelativeModeEnabled && !SDLActivity.isDeXMode()) {
|
if (mRelativeModeEnabled && !SDLActivity.isDeXMode()) {
|
||||||
SDLActivity.getContentView().requestPointerCapture();
|
SDLActivity.getContentView().requestPointerCapture();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public float getEventX(MotionEvent event) {
|
public boolean checkRelativeEvent(MotionEvent event) {
|
||||||
// Relative mouse in capture mode will only have relative for X/Y
|
return event.getSource() == InputDevice.SOURCE_MOUSE_RELATIVE;
|
||||||
return event.getX(0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public float getEventY(MotionEvent event) {
|
public float getEventX(MotionEvent event, int pointerIndex) {
|
||||||
// Relative mouse in capture mode will only have relative for X/Y
|
// Relative mouse in capture mode will only have relative for X/Y
|
||||||
return event.getY(0);
|
return event.getX(pointerIndex);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public float getEventY(MotionEvent event, int pointerIndex) {
|
||||||
|
// Relative mouse in capture mode will only have relative for X/Y
|
||||||
|
return event.getY(pointerIndex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -111,18 +111,20 @@ public class SDLInputConnection extends BaseInputConnection
|
|||||||
|
|
||||||
if (matchLength < text.length()) {
|
if (matchLength < text.length()) {
|
||||||
String pendingText = text.subSequence(matchLength, text.length()).toString();
|
String pendingText = text.subSequence(matchLength, text.length()).toString();
|
||||||
for (offset = 0; offset < pendingText.length(); ) {
|
if (!SDLActivity.dispatchingKeyEvent()) {
|
||||||
int codePoint = pendingText.codePointAt(offset);
|
for (offset = 0; offset < pendingText.length(); ) {
|
||||||
if (codePoint == '\n') {
|
int codePoint = pendingText.codePointAt(offset);
|
||||||
if (SDLActivity.onNativeSoftReturnKey()) {
|
if (codePoint == '\n') {
|
||||||
return;
|
if (SDLActivity.onNativeSoftReturnKey()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
/* Higher code points don't generate simulated scancodes */
|
||||||
|
if (codePoint > 0 && codePoint < 128) {
|
||||||
|
nativeGenerateScancodeForUnichar((char)codePoint);
|
||||||
|
}
|
||||||
|
offset += Character.charCount(codePoint);
|
||||||
}
|
}
|
||||||
/* Higher code points don't generate simulated scancodes */
|
|
||||||
if (codePoint < 128) {
|
|
||||||
nativeGenerateScancodeForUnichar((char)codePoint);
|
|
||||||
}
|
|
||||||
offset += Character.charCount(codePoint);
|
|
||||||
}
|
}
|
||||||
SDLInputConnection.nativeCommitText(pendingText, 0);
|
SDLInputConnection.nativeCommitText(pendingText, 0);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -239,93 +239,64 @@ public class SDLSurface extends SurfaceView implements SurfaceHolder.Callback,
|
|||||||
int touchDevId = event.getDeviceId();
|
int touchDevId = event.getDeviceId();
|
||||||
final int pointerCount = event.getPointerCount();
|
final int pointerCount = event.getPointerCount();
|
||||||
int action = event.getActionMasked();
|
int action = event.getActionMasked();
|
||||||
int pointerFingerId;
|
int pointerId;
|
||||||
int i = -1;
|
int i = 0;
|
||||||
float x,y,p;
|
float x,y,p;
|
||||||
|
|
||||||
// 12290 = Samsung DeX mode desktop mouse
|
if (action == MotionEvent.ACTION_POINTER_UP || action == MotionEvent.ACTION_POINTER_DOWN)
|
||||||
// 12290 = 0x3002 = 0x2002 | 0x1002 = SOURCE_MOUSE | SOURCE_TOUCHSCREEN
|
i = event.getActionIndex();
|
||||||
// 0x2 = SOURCE_CLASS_POINTER
|
|
||||||
if (event.getSource() == InputDevice.SOURCE_MOUSE || event.getSource() == (InputDevice.SOURCE_MOUSE | InputDevice.SOURCE_TOUCHSCREEN)) {
|
do {
|
||||||
int mouseButton = 1;
|
int toolType = event.getToolType(i);
|
||||||
try {
|
|
||||||
Object object = event.getClass().getMethod("getButtonState").invoke(event);
|
if (toolType == MotionEvent.TOOL_TYPE_MOUSE) {
|
||||||
if (object != null) {
|
int buttonState = event.getButtonState();
|
||||||
mouseButton = (Integer) object;
|
boolean relative = false;
|
||||||
|
|
||||||
|
// We need to check if we're in relative mouse mode and get the axis offset rather than the x/y values
|
||||||
|
// if we are. We'll leverage our existing mouse motion listener
|
||||||
|
SDLGenericMotionListener_API14 motionListener = SDLActivity.getMotionListener();
|
||||||
|
x = motionListener.getEventX(event, i);
|
||||||
|
y = motionListener.getEventY(event, i);
|
||||||
|
relative = motionListener.inRelativeMode();
|
||||||
|
|
||||||
|
SDLActivity.onNativeMouse(buttonState, action, x, y, relative);
|
||||||
|
} else if (toolType == MotionEvent.TOOL_TYPE_STYLUS || toolType == MotionEvent.TOOL_TYPE_ERASER) {
|
||||||
|
pointerId = event.getPointerId(i);
|
||||||
|
x = event.getX(i);
|
||||||
|
y = event.getY(i);
|
||||||
|
p = event.getPressure(i);
|
||||||
|
if (p > 1.0f) {
|
||||||
|
// may be larger than 1.0f on some devices
|
||||||
|
// see the documentation of getPressure(i)
|
||||||
|
p = 1.0f;
|
||||||
}
|
}
|
||||||
} catch(Exception ignored) {
|
|
||||||
|
// BUTTON_STYLUS_PRIMARY is 2^5, so shift by 4, and apply SDL_PEN_INPUT_DOWN/SDL_PEN_INPUT_ERASER_TIP
|
||||||
|
int buttonState = (event.getButtonState() >> 4) | (1 << (toolType == MotionEvent.TOOL_TYPE_STYLUS ? 0 : 30));
|
||||||
|
|
||||||
|
SDLActivity.onNativePen(pointerId, buttonState, action, x, y, p);
|
||||||
|
} else if (toolType == MotionEvent.TOOL_TYPE_FINGER) {
|
||||||
|
pointerId = event.getPointerId(i);
|
||||||
|
x = getNormalizedX(event.getX(i));
|
||||||
|
y = getNormalizedY(event.getY(i));
|
||||||
|
p = event.getPressure(i);
|
||||||
|
if (p > 1.0f) {
|
||||||
|
// may be larger than 1.0f on some devices
|
||||||
|
// see the documentation of getPressure(i)
|
||||||
|
p = 1.0f;
|
||||||
|
}
|
||||||
|
|
||||||
|
SDLActivity.onNativeTouch(touchDevId, pointerId, action, x, y, p);
|
||||||
}
|
}
|
||||||
|
|
||||||
// We need to check if we're in relative mouse mode and get the axis offset rather than the x/y values
|
// Non-primary up/down
|
||||||
// if we are. We'll leverage our existing mouse motion listener
|
if (action == MotionEvent.ACTION_POINTER_UP || action == MotionEvent.ACTION_POINTER_DOWN)
|
||||||
SDLGenericMotionListener_API12 motionListener = SDLActivity.getMotionListener();
|
break;
|
||||||
x = motionListener.getEventX(event);
|
} while (++i < pointerCount);
|
||||||
y = motionListener.getEventY(event);
|
|
||||||
|
|
||||||
SDLActivity.onNativeMouse(mouseButton, action, x, y, motionListener.inRelativeMode());
|
|
||||||
} else {
|
|
||||||
switch(action) {
|
|
||||||
case MotionEvent.ACTION_MOVE:
|
|
||||||
for (i = 0; i < pointerCount; i++) {
|
|
||||||
pointerFingerId = event.getPointerId(i);
|
|
||||||
x = getNormalizedX(event.getX(i));
|
|
||||||
y = getNormalizedY(event.getY(i));
|
|
||||||
p = event.getPressure(i);
|
|
||||||
if (p > 1.0f) {
|
|
||||||
// may be larger than 1.0f on some devices
|
|
||||||
// see the documentation of getPressure(i)
|
|
||||||
p = 1.0f;
|
|
||||||
}
|
|
||||||
SDLActivity.onNativeTouch(touchDevId, pointerFingerId, action, x, y, p);
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
|
|
||||||
case MotionEvent.ACTION_UP:
|
|
||||||
case MotionEvent.ACTION_DOWN:
|
|
||||||
// Primary pointer up/down, the index is always zero
|
|
||||||
i = 0;
|
|
||||||
/* fallthrough */
|
|
||||||
case MotionEvent.ACTION_POINTER_UP:
|
|
||||||
case MotionEvent.ACTION_POINTER_DOWN:
|
|
||||||
// Non primary pointer up/down
|
|
||||||
if (i == -1) {
|
|
||||||
i = event.getActionIndex();
|
|
||||||
}
|
|
||||||
|
|
||||||
pointerFingerId = event.getPointerId(i);
|
|
||||||
x = getNormalizedX(event.getX(i));
|
|
||||||
y = getNormalizedY(event.getY(i));
|
|
||||||
p = event.getPressure(i);
|
|
||||||
if (p > 1.0f) {
|
|
||||||
// may be larger than 1.0f on some devices
|
|
||||||
// see the documentation of getPressure(i)
|
|
||||||
p = 1.0f;
|
|
||||||
}
|
|
||||||
SDLActivity.onNativeTouch(touchDevId, pointerFingerId, action, x, y, p);
|
|
||||||
break;
|
|
||||||
|
|
||||||
case MotionEvent.ACTION_CANCEL:
|
|
||||||
for (i = 0; i < pointerCount; i++) {
|
|
||||||
pointerFingerId = event.getPointerId(i);
|
|
||||||
x = getNormalizedX(event.getX(i));
|
|
||||||
y = getNormalizedY(event.getY(i));
|
|
||||||
p = event.getPressure(i);
|
|
||||||
if (p > 1.0f) {
|
|
||||||
// may be larger than 1.0f on some devices
|
|
||||||
// see the documentation of getPressure(i)
|
|
||||||
p = 1.0f;
|
|
||||||
}
|
|
||||||
SDLActivity.onNativeTouch(touchDevId, pointerFingerId, MotionEvent.ACTION_UP, x, y, p);
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
|
|
||||||
default:
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Sensor events
|
// Sensor events
|
||||||
public void enableSensor(int sensortype, boolean enabled) {
|
public void enableSensor(int sensortype, boolean enabled) {
|
||||||
@@ -395,39 +366,42 @@ public class SDLSurface extends SurfaceView implements SurfaceHolder.Callback,
|
|||||||
public boolean onCapturedPointerEvent(MotionEvent event)
|
public boolean onCapturedPointerEvent(MotionEvent event)
|
||||||
{
|
{
|
||||||
int action = event.getActionMasked();
|
int action = event.getActionMasked();
|
||||||
|
int pointerCount = event.getPointerCount();
|
||||||
|
|
||||||
float x, y;
|
for (int i = 0; i < pointerCount; i++) {
|
||||||
switch (action) {
|
float x, y;
|
||||||
case MotionEvent.ACTION_SCROLL:
|
switch (action) {
|
||||||
x = event.getAxisValue(MotionEvent.AXIS_HSCROLL, 0);
|
case MotionEvent.ACTION_SCROLL:
|
||||||
y = event.getAxisValue(MotionEvent.AXIS_VSCROLL, 0);
|
x = event.getAxisValue(MotionEvent.AXIS_HSCROLL, i);
|
||||||
SDLActivity.onNativeMouse(0, action, x, y, false);
|
y = event.getAxisValue(MotionEvent.AXIS_VSCROLL, i);
|
||||||
return true;
|
SDLActivity.onNativeMouse(0, action, x, y, false);
|
||||||
|
return true;
|
||||||
|
|
||||||
case MotionEvent.ACTION_HOVER_MOVE:
|
case MotionEvent.ACTION_HOVER_MOVE:
|
||||||
case MotionEvent.ACTION_MOVE:
|
case MotionEvent.ACTION_MOVE:
|
||||||
x = event.getX(0);
|
x = event.getX(i);
|
||||||
y = event.getY(0);
|
y = event.getY(i);
|
||||||
SDLActivity.onNativeMouse(0, action, x, y, true);
|
SDLActivity.onNativeMouse(0, action, x, y, true);
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
case MotionEvent.ACTION_BUTTON_PRESS:
|
case MotionEvent.ACTION_BUTTON_PRESS:
|
||||||
case MotionEvent.ACTION_BUTTON_RELEASE:
|
case MotionEvent.ACTION_BUTTON_RELEASE:
|
||||||
|
|
||||||
// Change our action value to what SDL's code expects.
|
// Change our action value to what SDL's code expects.
|
||||||
if (action == MotionEvent.ACTION_BUTTON_PRESS) {
|
if (action == MotionEvent.ACTION_BUTTON_PRESS) {
|
||||||
action = MotionEvent.ACTION_DOWN;
|
action = MotionEvent.ACTION_DOWN;
|
||||||
} else { /* MotionEvent.ACTION_BUTTON_RELEASE */
|
} else { /* MotionEvent.ACTION_BUTTON_RELEASE */
|
||||||
action = MotionEvent.ACTION_UP;
|
action = MotionEvent.ACTION_UP;
|
||||||
}
|
}
|
||||||
|
|
||||||
x = event.getX(0);
|
x = event.getX(i);
|
||||||
y = event.getY(0);
|
y = event.getY(i);
|
||||||
int button = event.getButtonState();
|
int button = event.getButtonState();
|
||||||
|
|
||||||
SDLActivity.onNativeMouse(button, action, x, y, true);
|
SDLActivity.onNativeMouse(button, action, x, y, true);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ buildscript {
|
|||||||
google()
|
google()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:8.1.1'
|
classpath 'com.android.tools.build:gradle:8.7.3'
|
||||||
|
|
||||||
// NOTE: Do not place your application dependencies here; they belong
|
// NOTE: Do not place your application dependencies here; they belong
|
||||||
// in the individual module build.gradle files
|
// in the individual module build.gradle files
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
#Thu Nov 11 18:20:34 PST 2021
|
#Thu Nov 11 18:20:34 PST 2021
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
@@ -65,7 +65,7 @@ SDL_OpenAudioDevice(...)
|
|||||||
expression e;
|
expression e;
|
||||||
@@
|
@@
|
||||||
- SDL_PauseAudio(e)
|
- SDL_PauseAudio(e)
|
||||||
+ e == SDL_TRUE ? SDL_PauseAudioDevice(g_audio_id) : SDL_PlayAudioDevice(g_audio_id)
|
+ e ? SDL_PauseAudioDevice(g_audio_id) : SDL_PlayAudioDevice(g_audio_id)
|
||||||
|
|
||||||
@@
|
@@
|
||||||
@@
|
@@
|
||||||
@@ -92,13 +92,13 @@ expression e1;
|
|||||||
@@
|
@@
|
||||||
(
|
(
|
||||||
- SDL_EventState(e1, SDL_IGNORE)
|
- SDL_EventState(e1, SDL_IGNORE)
|
||||||
+ SDL_SetEventEnabled(e1, SDL_FALSE)
|
+ SDL_SetEventEnabled(e1, false)
|
||||||
|
|
|
|
||||||
- SDL_EventState(e1, SDL_DISABLE)
|
- SDL_EventState(e1, SDL_DISABLE)
|
||||||
+ SDL_SetEventEnabled(e1, SDL_FALSE)
|
+ SDL_SetEventEnabled(e1, false)
|
||||||
|
|
|
|
||||||
- SDL_EventState(e1, SDL_ENABLE)
|
- SDL_EventState(e1, SDL_ENABLE)
|
||||||
+ SDL_SetEventEnabled(e1, SDL_TRUE)
|
+ SDL_SetEventEnabled(e1, true)
|
||||||
|
|
|
|
||||||
- SDL_EventState(e1, SDL_QUERY)
|
- SDL_EventState(e1, SDL_QUERY)
|
||||||
+ SDL_EventEnabled(e1)
|
+ SDL_EventEnabled(e1)
|
||||||
@@ -1081,7 +1081,7 @@ typedef SDL_GameControllerButton, SDL_GamepadButton;
|
|||||||
@@
|
@@
|
||||||
@@
|
@@
|
||||||
- SDL_GameControllerFromInstanceID
|
- SDL_GameControllerFromInstanceID
|
||||||
+ SDL_GetGamepadFromInstanceID
|
+ SDL_GetGamepadFromID
|
||||||
(...)
|
(...)
|
||||||
@@
|
@@
|
||||||
@@
|
@@
|
||||||
@@ -1318,7 +1318,7 @@ typedef SDL_GameControllerButton, SDL_GamepadButton;
|
|||||||
@@
|
@@
|
||||||
@@
|
@@
|
||||||
- SDL_JoystickFromInstanceID
|
- SDL_JoystickFromInstanceID
|
||||||
+ SDL_GetJoystickFromInstanceID
|
+ SDL_GetJoystickFromID
|
||||||
(...)
|
(...)
|
||||||
@@
|
@@
|
||||||
@@
|
@@
|
||||||
@@ -1398,7 +1398,7 @@ typedef SDL_GameControllerButton, SDL_GamepadButton;
|
|||||||
@@
|
@@
|
||||||
@@
|
@@
|
||||||
- SDL_JoystickInstanceID
|
- SDL_JoystickInstanceID
|
||||||
+ SDL_GetJoystickInstanceID
|
+ SDL_GetJoystickID
|
||||||
(...)
|
(...)
|
||||||
@@
|
@@
|
||||||
@@
|
@@
|
||||||
@@ -1807,7 +1807,7 @@ expression e2;
|
|||||||
@@
|
@@
|
||||||
@@
|
@@
|
||||||
- SDL_SensorFromInstanceID
|
- SDL_SensorFromInstanceID
|
||||||
+ SDL_GetSensorFromInstanceID
|
+ SDL_GetSensorFromID
|
||||||
(...)
|
(...)
|
||||||
@@
|
@@
|
||||||
@@
|
@@
|
||||||
@@ -1817,7 +1817,7 @@ expression e2;
|
|||||||
@@
|
@@
|
||||||
@@
|
@@
|
||||||
- SDL_SensorGetInstanceID
|
- SDL_SensorGetInstanceID
|
||||||
+ SDL_GetSensorInstanceID
|
+ SDL_GetSensorID
|
||||||
(...)
|
(...)
|
||||||
@@
|
@@
|
||||||
@@
|
@@
|
||||||
@@ -2062,7 +2062,7 @@ expression e;
|
|||||||
@@
|
@@
|
||||||
@@
|
@@
|
||||||
- SDL_WINDOWEVENT_TAKE_FOCUS
|
- SDL_WINDOWEVENT_TAKE_FOCUS
|
||||||
+ SDL_EVENT_WINDOW_TAKE_FOCUS
|
+ /* FIXME MIGRATION: SDL_WINDOWEVENT_TAKE_FOCUS has been removed; there is no replacement. */ 0
|
||||||
@@
|
@@
|
||||||
@@
|
@@
|
||||||
- SDL_WINDOWEVENT_HIT_TEST
|
- SDL_WINDOWEVENT_HIT_TEST
|
||||||
@@ -3633,11 +3633,11 @@ typedef SDL_JoystickGUID, SDL_GUID;
|
|||||||
@@
|
@@
|
||||||
@@
|
@@
|
||||||
- SDL_PRESSED
|
- SDL_PRESSED
|
||||||
+ SDL_TRUE
|
+ true
|
||||||
@@
|
@@
|
||||||
@@
|
@@
|
||||||
- SDL_RELEASED
|
- SDL_RELEASED
|
||||||
+ SDL_FALSE
|
+ false
|
||||||
|
|
||||||
// This should be the last rule in the file, since it works on SDL3 functions and previous rules may have renamed old functions.
|
// This should be the last rule in the file, since it works on SDL3 functions and previous rules may have renamed old functions.
|
||||||
@ bool_return_type @
|
@ bool_return_type @
|
||||||
@@ -3689,6 +3689,7 @@ identifier func =~ "^(SDL_AddEventWatch|SDL_AddHintCallback|SDL_AddSurfaceAltern
|
|||||||
+ SDL_GetNumLogicalCPUCores
|
+ SDL_GetNumLogicalCPUCores
|
||||||
(...)
|
(...)
|
||||||
@@
|
@@
|
||||||
|
typedef SDL_bool, bool;
|
||||||
@@
|
@@
|
||||||
- SDL_bool
|
- SDL_bool
|
||||||
+ bool
|
+ bool
|
||||||
@@ -3714,3 +3715,27 @@ identifier func =~ "^(SDL_AddEventWatch|SDL_AddHintCallback|SDL_AddSurfaceAltern
|
|||||||
@@
|
@@
|
||||||
- SDL_BUTTON
|
- SDL_BUTTON
|
||||||
+ SDL_BUTTON_MASK
|
+ SDL_BUTTON_MASK
|
||||||
|
@@
|
||||||
|
@@
|
||||||
|
- SDL_GLprofile
|
||||||
|
+ SDL_GLProfile
|
||||||
|
@@
|
||||||
|
@@
|
||||||
|
- SDL_GLcontextFlag
|
||||||
|
+ SDL_GLContextFlag
|
||||||
|
@@
|
||||||
|
@@
|
||||||
|
- SDL_GLcontextReleaseFlag
|
||||||
|
+ SDL_GLContextReleaseFlag
|
||||||
|
@@
|
||||||
|
@@
|
||||||
|
- SDL_GLattr
|
||||||
|
+ SDL_GLAttr
|
||||||
|
@@
|
||||||
|
@@
|
||||||
|
- SDL_HINT_JOYSTICK_HIDAPI_PS4_RUMBLE
|
||||||
|
+ SDL_HINT_JOYSTICK_ENHANCED_REPORTS
|
||||||
|
@@
|
||||||
|
@@
|
||||||
|
- SDL_HINT_JOYSTICK_HIDAPI_PS5_RUMBLE
|
||||||
|
+ SDL_HINT_JOYSTICK_ENHANCED_REPORTS
|
||||||
@@ -25,7 +25,7 @@ cd $srcdir
|
|||||||
|
|
||||||
build=build
|
build=build
|
||||||
buildandroid=$build/android
|
buildandroid=$build/android
|
||||||
platform=android-16
|
platform=android-21
|
||||||
abi="arm64-v8a" # "armeabi-v7a arm64-v8a x86 x86_64"
|
abi="arm64-v8a" # "armeabi-v7a arm64-v8a x86 x86_64"
|
||||||
obj=
|
obj=
|
||||||
lib=
|
lib=
|
||||||
|
|||||||
+1207
-544
File diff suppressed because it is too large.
Load diff
@@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/perl -w
|
#!/usr/bin/perl -w
|
||||||
|
|
||||||
# Simple DirectMedia Layer
|
# Simple DirectMedia Layer
|
||||||
# Copyright (C) 1997-2024 Sam Lantinga <slouken@libsdl.org>
|
# Copyright (C) 1997-2025 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
|
||||||
@@ -71,6 +71,62 @@ sub build_latest {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sub get_category_description {
|
||||||
|
my $category = shift;
|
||||||
|
my $retval = ucfirst($category);
|
||||||
|
|
||||||
|
if (open(my $fh, '<', "$examples_dir/$category/description.txt")) {
|
||||||
|
$retval = <$fh>;
|
||||||
|
chomp($retval);
|
||||||
|
close($fh);
|
||||||
|
}
|
||||||
|
|
||||||
|
return $retval;
|
||||||
|
}
|
||||||
|
|
||||||
|
sub get_categories {
|
||||||
|
my @categories = ();
|
||||||
|
|
||||||
|
if (open(my $fh, '<', "$examples_dir/categories.txt")) {
|
||||||
|
while (<$fh>) {
|
||||||
|
chomp;
|
||||||
|
s/\A\s+//;
|
||||||
|
s/\s+\Z//;
|
||||||
|
next if $_ eq '';
|
||||||
|
next if /\A\#/;
|
||||||
|
push @categories, $_;
|
||||||
|
}
|
||||||
|
close($fh);
|
||||||
|
} else {
|
||||||
|
opendir(my $dh, $examples_dir) or die("Couldn't opendir '$examples_dir': $!\n");
|
||||||
|
foreach my $dir (sort readdir $dh) {
|
||||||
|
next if ($dir eq '.') || ($dir eq '..'); # obviously skip current and parent entries.
|
||||||
|
next if not -d "$examples_dir/$dir"; # only care about subdirectories.
|
||||||
|
push @categories, $dir;
|
||||||
|
}
|
||||||
|
closedir($dh);
|
||||||
|
}
|
||||||
|
|
||||||
|
return @categories;
|
||||||
|
}
|
||||||
|
|
||||||
|
sub get_examples_for_category {
|
||||||
|
my $category = shift;
|
||||||
|
|
||||||
|
my @examples = ();
|
||||||
|
|
||||||
|
opendir(my $dh, "$examples_dir/$category") or die("Couldn't opendir '$examples_dir/$category': $!\n");
|
||||||
|
foreach my $dir (sort readdir $dh) {
|
||||||
|
next if ($dir eq '.') || ($dir eq '..'); # obviously skip current and parent entries.
|
||||||
|
next if not -d "$examples_dir/$category/$dir"; # only care about subdirectories.
|
||||||
|
|
||||||
|
push @examples, $dir;
|
||||||
|
}
|
||||||
|
closedir($dh);
|
||||||
|
|
||||||
|
return @examples;
|
||||||
|
}
|
||||||
|
|
||||||
sub handle_example_dir {
|
sub handle_example_dir {
|
||||||
my $category = shift;
|
my $category = shift;
|
||||||
my $example = shift;
|
my $example = shift;
|
||||||
@@ -99,25 +155,43 @@ sub handle_example_dir {
|
|||||||
$basefname = "$category-$basefname";
|
$basefname = "$category-$basefname";
|
||||||
my $jsfname = "$basefname.js";
|
my $jsfname = "$basefname.js";
|
||||||
my $wasmfname = "$basefname.wasm";
|
my $wasmfname = "$basefname.wasm";
|
||||||
|
my $thumbnailfname = 'thumbnail.png';
|
||||||
|
my $onmouseoverfname = 'onmouseover.webp';
|
||||||
my $jssrc = "$compile_dir/examples/$jsfname";
|
my $jssrc = "$compile_dir/examples/$jsfname";
|
||||||
my $wasmsrc = "$compile_dir/examples/$wasmfname";
|
my $wasmsrc = "$compile_dir/examples/$wasmfname";
|
||||||
|
my $thumbnailsrc = "$examples_dir/$category/$example/$thumbnailfname";
|
||||||
|
my $onmouseoversrc = "$examples_dir/$category/$example/$onmouseoverfname";
|
||||||
my $jsdst = "$dst/$jsfname";
|
my $jsdst = "$dst/$jsfname";
|
||||||
my $wasmdst = "$dst/$wasmfname";
|
my $wasmdst = "$dst/$wasmfname";
|
||||||
|
my $thumbnaildst = "$dst/$thumbnailfname";
|
||||||
|
my $onmouseoverdst = "$dst/$onmouseoverfname";
|
||||||
|
|
||||||
my $description = '';
|
my $description = '';
|
||||||
|
my $has_paragraph = 0;
|
||||||
if (open(my $readmetxth, '<', "$examples_dir/$category/$example/README.txt")) {
|
if (open(my $readmetxth, '<', "$examples_dir/$category/$example/README.txt")) {
|
||||||
while (<$readmetxth>) {
|
while (<$readmetxth>) {
|
||||||
chomp;
|
chomp;
|
||||||
s/\A\s+//;
|
s/\A\s+//;
|
||||||
s/\s+\Z//;
|
s/\s+\Z//;
|
||||||
$description .= "$_<br/>";
|
if (($_ eq '') && ($description ne '')) {
|
||||||
|
$has_paragraph = 1;
|
||||||
|
} else {
|
||||||
|
if ($has_paragraph) {
|
||||||
|
$description .= "\n<br/>\n<br/>\n";
|
||||||
|
$has_paragraph = 0;
|
||||||
|
}
|
||||||
|
$description .= "$_ ";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
close($readmetxth);
|
close($readmetxth);
|
||||||
|
$description =~ s/\s+\Z//;
|
||||||
}
|
}
|
||||||
|
|
||||||
do_mkdir($dst);
|
do_mkdir($dst);
|
||||||
do_copy($jssrc, $jsdst);
|
do_copy($jssrc, $jsdst);
|
||||||
do_copy($wasmsrc, $wasmdst);
|
do_copy($wasmsrc, $wasmdst);
|
||||||
|
do_copy($thumbnailsrc, $thumbnaildst) if ( -f $thumbnailsrc );
|
||||||
|
do_copy($onmouseoversrc, $onmouseoverdst) if ( -f $onmouseoversrc );
|
||||||
|
|
||||||
my $highlight_cmd = "highlight '--outdir=$dst' --style-outfile=highlight.css --fragment --enclose-pre --stdout --syntax=c '--plug-in=$examples_dir/highlight-plugin.lua'";
|
my $highlight_cmd = "highlight '--outdir=$dst' --style-outfile=highlight.css --fragment --enclose-pre --stdout --syntax=c '--plug-in=$examples_dir/highlight-plugin.lua'";
|
||||||
print("$highlight_cmd\n");
|
print("$highlight_cmd\n");
|
||||||
@@ -146,16 +220,27 @@ sub handle_example_dir {
|
|||||||
|
|
||||||
waitpid($pid, 0);
|
waitpid($pid, 0);
|
||||||
|
|
||||||
|
my $other_examples_html = "<ul>";
|
||||||
|
foreach my $example (get_examples_for_category($category)) {
|
||||||
|
$other_examples_html .= "<li><a href='/$project/$category/$example'>$category/$example</a></li>";
|
||||||
|
}
|
||||||
|
$other_examples_html .= "</ul>";
|
||||||
|
|
||||||
|
my $category_description = get_category_description($category);
|
||||||
|
my $preview_image = get_example_thumbnail($project, $category, $example);
|
||||||
|
|
||||||
my $html = '';
|
my $html = '';
|
||||||
open my $htmltemplate, '<', "$examples_dir/template.html" or die("Couldn't open '$examples_dir/template.html': $!\n");
|
open my $htmltemplate, '<', "$examples_dir/template.html" or die("Couldn't open '$examples_dir/template.html': $!\n");
|
||||||
while (<$htmltemplate>) {
|
while (<$htmltemplate>) {
|
||||||
s/\@project_name\@/$project/g;
|
s/\@project_name\@/$project/g;
|
||||||
s/\@category_name\@/$category/g;
|
s/\@category_name\@/$category/g;
|
||||||
|
s/\@category_description\@/$category_description/g;
|
||||||
s/\@example_name\@/$example/g;
|
s/\@example_name\@/$example/g;
|
||||||
s/\@javascript_file\@/$jsfname/g;
|
s/\@javascript_file\@/$jsfname/g;
|
||||||
s/\@htmlified_source_code\@/$htmlified_source_code/g;
|
s/\@htmlified_source_code\@/$htmlified_source_code/g;
|
||||||
s/\@description\@/$description/g;
|
s/\@description\@/$description/g;
|
||||||
|
s/\@preview_image\@/$preview_image/g;
|
||||||
|
s/\@other_examples_html\@/$other_examples_html/g;
|
||||||
$html .= $_;
|
$html .= $_;
|
||||||
}
|
}
|
||||||
close($htmltemplate);
|
close($htmltemplate);
|
||||||
@@ -165,11 +250,61 @@ sub handle_example_dir {
|
|||||||
close($htmloutput);
|
close($htmloutput);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sub get_example_thumbnail {
|
||||||
|
my $project = shift;
|
||||||
|
my $category = shift;
|
||||||
|
my $example = shift;
|
||||||
|
|
||||||
|
if ( -f "$examples_dir/$category/$example/thumbnail.png" ) {
|
||||||
|
return "/$project/$category/$example/thumbnail.png";
|
||||||
|
} elsif ( -f "$examples_dir/$category/thumbnail.png" ) {
|
||||||
|
return "/$project/$category/thumbnail.png";
|
||||||
|
}
|
||||||
|
|
||||||
|
return "/$project/thumbnail.png";
|
||||||
|
}
|
||||||
|
|
||||||
|
sub generate_example_thumbnail {
|
||||||
|
my $project = shift;
|
||||||
|
my $category = shift;
|
||||||
|
my $example = shift;
|
||||||
|
|
||||||
|
my $example_no_num = "$example";
|
||||||
|
$example_no_num =~ s/\A\d+\-//;
|
||||||
|
|
||||||
|
my $example_image_url = get_example_thumbnail($project, $category, $example);
|
||||||
|
|
||||||
|
my $example_mouseover_html = '';
|
||||||
|
if ( -f "$examples_dir/$category/$example/onmouseover.webp" ) {
|
||||||
|
$example_mouseover_html = "onmouseover=\"this.src='/$project/$category/$example/onmouseover.webp'\" onmouseout=\"this.src='$example_image_url';\"";
|
||||||
|
} elsif ( -f "$examples_dir/$category/onmouseover.webp" ) {
|
||||||
|
$example_mouseover_html = "onmouseover=\"this.src='/$project/$category/onmouseover.webp'\" onmouseout=\"this.src='$example_image_url';\"";
|
||||||
|
}
|
||||||
|
|
||||||
|
return "
|
||||||
|
<a href='/$project/$category/$example'>
|
||||||
|
<div>
|
||||||
|
<img src='$example_image_url' $example_mouseover_html />
|
||||||
|
<div>$example_no_num</div>
|
||||||
|
</div>
|
||||||
|
</a>"
|
||||||
|
;
|
||||||
|
}
|
||||||
|
|
||||||
|
sub generate_example_thumbnails_for_category {
|
||||||
|
my $project = shift;
|
||||||
|
my $category = shift;
|
||||||
|
my @examples = get_examples_for_category($category);
|
||||||
|
my $retval = '';
|
||||||
|
foreach my $example (@examples) {
|
||||||
|
$retval .= generate_example_thumbnail($project, $category, $example);
|
||||||
|
}
|
||||||
|
return $retval;
|
||||||
|
}
|
||||||
|
|
||||||
sub handle_category_dir {
|
sub handle_category_dir {
|
||||||
my $category = shift;
|
my $category = shift;
|
||||||
|
|
||||||
# !!! FIXME: this needs to generate a preview page for all the examples things in the category.
|
|
||||||
|
|
||||||
print("Category $category ...\n");
|
print("Category $category ...\n");
|
||||||
|
|
||||||
do_mkdir("$output_dir/$category");
|
do_mkdir("$output_dir/$category");
|
||||||
@@ -183,6 +318,36 @@ sub handle_category_dir {
|
|||||||
}
|
}
|
||||||
|
|
||||||
closedir($dh);
|
closedir($dh);
|
||||||
|
|
||||||
|
my $examples_list_html = generate_example_thumbnails_for_category($project, $category);
|
||||||
|
|
||||||
|
my $dst = "$output_dir/$category";
|
||||||
|
|
||||||
|
do_copy("$examples_dir/$category/thumbnail.png", "$dst/thumbnail.png") if ( -f "$examples_dir/$category/thumbnail.png" );
|
||||||
|
do_copy("$examples_dir/$category/onmouseover.webp", "$dst/onmouseover.webp") if ( -f "$examples_dir/$category/onmouseover.webp" );
|
||||||
|
|
||||||
|
my $category_description = get_category_description($category);
|
||||||
|
my $preview_image = "/$project/thumbnail.png";
|
||||||
|
if ( -f "$examples_dir/$category/thumbnail.png" ) {
|
||||||
|
$preview_image = "/$project/$category/thumbnail.png";
|
||||||
|
}
|
||||||
|
|
||||||
|
# write category page
|
||||||
|
my $html = '';
|
||||||
|
open my $htmltemplate, '<', "$examples_dir/template-category.html" or die("Couldn't open '$examples_dir/template-category.html': $!\n");
|
||||||
|
while (<$htmltemplate>) {
|
||||||
|
s/\@project_name\@/$project/g;
|
||||||
|
s/\@category_name\@/$category/g;
|
||||||
|
s/\@category_description\@/$category_description/g;
|
||||||
|
s/\@examples_list_html\@/$examples_list_html/g;
|
||||||
|
s/\@preview_image\@/$preview_image/g;
|
||||||
|
$html .= $_;
|
||||||
|
}
|
||||||
|
close($htmltemplate);
|
||||||
|
|
||||||
|
open my $htmloutput, '>', "$dst/index.html" or die("Couldn't open '$dst/index.html': $!\n");
|
||||||
|
print $htmloutput $html;
|
||||||
|
close($htmloutput);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -210,6 +375,9 @@ do_mkdir($output_dir);
|
|||||||
|
|
||||||
build_latest();
|
build_latest();
|
||||||
|
|
||||||
|
do_copy("$examples_dir/template.css", "$output_dir/examples.css");
|
||||||
|
do_copy("$examples_dir/template-placeholder.png", "$output_dir/thumbnail.png");
|
||||||
|
|
||||||
opendir(my $dh, $examples_dir) or die("Couldn't opendir '$examples_dir': $!\n");
|
opendir(my $dh, $examples_dir) or die("Couldn't opendir '$examples_dir': $!\n");
|
||||||
|
|
||||||
while (readdir($dh)) {
|
while (readdir($dh)) {
|
||||||
@@ -221,6 +389,32 @@ while (readdir($dh)) {
|
|||||||
|
|
||||||
closedir($dh);
|
closedir($dh);
|
||||||
|
|
||||||
|
# write homepage
|
||||||
|
my $homepage_list_html = "";
|
||||||
|
foreach my $category (get_categories()) {
|
||||||
|
my $category_description = get_category_description($category);
|
||||||
|
$homepage_list_html .= "<h2>$category_description</h2>";
|
||||||
|
$homepage_list_html .= "<div class='list'>";
|
||||||
|
$homepage_list_html .= generate_example_thumbnails_for_category($project, $category);
|
||||||
|
$homepage_list_html .= "</div>";
|
||||||
|
}
|
||||||
|
|
||||||
|
my $preview_image = "/$project/thumbnail.png";
|
||||||
|
|
||||||
|
my $dst = "$output_dir/";
|
||||||
|
my $html = '';
|
||||||
|
open my $htmltemplate, '<', "$examples_dir/template-homepage.html" or die("Couldn't open '$examples_dir/template-category.html': $!\n");
|
||||||
|
while (<$htmltemplate>) {
|
||||||
|
s/\@project_name\@/$project/g;
|
||||||
|
s/\@homepage_list_html\@/$homepage_list_html/g;
|
||||||
|
s/\@preview_image\@/$preview_image/g;
|
||||||
|
$html .= $_;
|
||||||
|
}
|
||||||
|
close($htmltemplate);
|
||||||
|
|
||||||
|
open my $htmloutput, '>', "$dst/index.html" or die("Couldn't open '$dst/index.html': $!\n");
|
||||||
|
print $htmloutput $html;
|
||||||
|
close($htmloutput);
|
||||||
|
|
||||||
print("All examples built successfully!\n");
|
print("All examples built successfully!\n");
|
||||||
exit(0); # success!
|
exit(0); # success!
|
||||||
|
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
#
|
#
|
||||||
# Simple DirectMedia Layer
|
# Simple DirectMedia Layer
|
||||||
# Copyright (C) 1997-2024 Sam Lantinga <slouken@libsdl.org>
|
# Copyright (C) 1997-2025 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
|
||||||
|
|||||||
Loaded 100 of 1432 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user