mirror of
https://github.com/AxioDL/tinyxml2.git
synced 2025-12-10 14:07:43 +00:00
Compare commits
649 Commits
format_cha
...
c1f1de724f
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c1f1de724f | ||
|
|
5d1aec10fa | ||
|
|
37bc3aca42 | ||
|
|
8c9e3133c4 | ||
|
|
563ee82093 | ||
|
|
4ee9ebdfd2 | ||
|
|
a4f48c1167 | ||
|
|
9832a5f05d | ||
|
|
48d45b29a9 | ||
|
|
5381145957 | ||
|
|
a5ab98a582 | ||
|
|
369f306b37 | ||
|
|
8bba8b41d6 | ||
|
|
3f169ac424 | ||
|
|
86be0cdfe5 | ||
|
|
aea64c4b75 | ||
|
|
dfcf5488ea | ||
|
|
9201bb96d3 | ||
|
|
3f63f21cf5 | ||
|
|
9e2d29b373 | ||
|
|
82bb074b49 | ||
|
|
224ef775c6 | ||
|
|
8a763619ac | ||
|
|
bc527554e8 | ||
|
|
5cfb946953 | ||
|
|
275067a91f | ||
|
|
ed78570c66 | ||
|
|
c2f677b05e | ||
|
|
1346a174ae | ||
|
|
1bbc66b193 | ||
|
|
e84f68a68a | ||
|
|
b754ddf0fb | ||
|
|
7ce75bc2bb | ||
|
|
816d3fa0cd | ||
|
|
53858b4490 | ||
|
|
ced18c05b9 | ||
|
|
a30f8bd136 | ||
|
|
b29f556ab0 | ||
|
|
7085f00e40 | ||
|
|
f66441e3e7 | ||
|
|
33a1f8bd6c | ||
|
|
7538286750 | ||
|
|
243ddf5304 | ||
|
|
105f32f64d | ||
|
|
174a5df3a3 | ||
|
|
9333cfd394 | ||
|
|
7b40ce1942 | ||
|
|
b840b7e673 | ||
|
|
10b8ecc99b | ||
|
|
2b0453f43e | ||
|
|
e503563f47 | ||
|
|
fc05f63575 | ||
|
|
ba68a3aea6 | ||
|
|
395ea09f83 | ||
|
|
71e2c08a7e | ||
|
|
7221b49fea | ||
|
|
ae8a82a734 | ||
|
|
92c0ef327f | ||
|
|
2aebfb7123 | ||
|
|
1e0b4e6b8a | ||
|
|
7f2ce0dc0e | ||
|
|
6bf64fb149 | ||
|
|
47c7d70064 | ||
|
|
b37cb42b78 | ||
|
|
0f42e24c47 | ||
|
|
969b8c2234 | ||
|
|
5277134efa | ||
|
|
4a07484e47 | ||
|
|
962732fd3e | ||
|
|
d120d64b86 | ||
|
|
1f5ab7cd0b | ||
|
|
f89bd3ef68 | ||
|
|
c5c99c2ba0 | ||
|
|
f458d265c1 | ||
|
|
ce667c9233 | ||
|
|
5b733ff481 | ||
|
|
c3a19156ff | ||
|
|
e90e901041 | ||
|
|
002713856b | ||
|
|
855a66c0ff | ||
|
|
ef7fe0fd98 | ||
|
|
34a3f8e34d | ||
|
|
19d8ea836f | ||
|
|
e353181a46 | ||
|
|
e3d44159e3 | ||
|
|
4f756161d0 | ||
|
|
2489afcc61 | ||
|
|
a43ff7210e | ||
|
|
ec6941503c | ||
|
|
156bc1b99f | ||
|
|
5bbb6fb052 | ||
|
|
5a70071241 | ||
|
|
0d2cef0cba | ||
|
|
a60caa28cc | ||
|
|
f80d78d938 | ||
|
|
ebb1660c2f | ||
|
|
7de0b6dd8c | ||
|
|
d04f21cab8 | ||
|
|
446c3bcae3 | ||
|
|
cd47f8e0d3 | ||
|
|
4336431272 | ||
|
|
13cbc9a708 | ||
|
|
c9a6102bf1 | ||
|
|
6bbcda0215 | ||
|
|
15ad07170d | ||
|
|
ed2627e5a7 | ||
|
|
c5f1e7ce6e | ||
|
|
3c21d6fbb7 | ||
|
|
f6106bec9a | ||
|
|
ecb9b07476 | ||
|
|
edb3261c51 | ||
|
|
01f6cca9e1 | ||
|
|
513e69ba68 | ||
|
|
cf3dd09b08 | ||
|
|
e8157ff9ae | ||
|
|
b2f4dc2a7b | ||
|
|
0d3de1edbe | ||
|
|
318252a973 | ||
|
|
3c97724d0e | ||
|
|
21f996960d | ||
|
|
f00c179eba | ||
|
|
7fcf31b2c3 | ||
|
|
6f1ad6153e | ||
|
|
aad61870a9 | ||
|
|
3b9cf99916 | ||
|
|
e9b547a9ee | ||
|
|
3a621f5b6e | ||
|
|
fed511276f | ||
|
|
584af57086 | ||
|
|
2e14517c89 | ||
|
|
24694e9519 | ||
|
|
0d667f8fef | ||
|
|
3161a33c86 | ||
|
|
2449582eaf | ||
|
|
6fc38ec7cc | ||
|
|
f9f3c3e85c | ||
|
|
4fe8c102da | ||
|
|
a369d4b614 | ||
|
|
1f212f3ab0 | ||
|
|
de45d04711 | ||
|
|
9cb4eca596 | ||
|
|
0bb5901961 | ||
|
|
9faf14df53 | ||
|
|
cb6461ca9c | ||
|
|
c7805c541c | ||
|
|
caa72a641e | ||
|
|
4de7abb573 | ||
|
|
8170bdc693 | ||
|
|
a8e7ea7fb0 | ||
|
|
88145b8ae6 | ||
|
|
75c8f40640 | ||
|
|
1043f6feed | ||
|
|
db02b21bc5 | ||
|
|
e1a82c1a50 | ||
|
|
74d44acb17 | ||
|
|
c9445466de | ||
|
|
5bf60e9dc6 | ||
|
|
6ba2a077ed | ||
|
|
af9bce1762 | ||
|
|
536a4cde37 | ||
|
|
098bd1f17a | ||
|
|
53b0727037 | ||
|
|
0f45b2422f | ||
|
|
d7e5f47524 | ||
|
|
2818e67f31 | ||
|
|
2fe47ead77 | ||
|
|
04639a59a5 | ||
|
|
1889c3e679 | ||
|
|
51c1271797 | ||
|
|
a572db13cf | ||
|
|
8553625730 | ||
|
|
df4ffc00d6 | ||
|
|
41599e2583 | ||
|
|
ceb646812a | ||
|
|
d3f5c318ae | ||
|
|
48daa2dd81 | ||
|
|
31d6c877bd | ||
|
|
1f16f9ddf5 | ||
|
|
47f9931130 | ||
|
|
bb4d246f7b | ||
|
|
97837e77f4 | ||
|
|
3d60e25c4a | ||
|
|
0aeac18ad3 | ||
|
|
67abee5610 | ||
|
|
fe5dbdb817 | ||
|
|
d175e9de0b | ||
|
|
ff714133bc | ||
|
|
6bf8a07587 | ||
|
|
c8dad95d44 | ||
|
|
96b110d25e | ||
|
|
9ff6654174 | ||
|
|
81abfd6d4c | ||
|
|
9c8582c7c3 | ||
|
|
0515fa9d27 | ||
|
|
f47b20f114 | ||
|
|
dffea5747b | ||
|
|
fe5b7a5cac | ||
|
|
9e9c85b3ae | ||
|
|
7bc9201322 | ||
|
|
598a88d9fd | ||
|
|
e4c0738318 | ||
|
|
f2c6b118da | ||
|
|
a58de11b42 | ||
|
|
87a8e71c20 | ||
|
|
e4f8ba89d0 | ||
|
|
a589da416c | ||
|
|
60af433d31 | ||
|
|
901fed5f19 | ||
|
|
2aee5e1b37 | ||
|
|
27eb078329 | ||
|
|
d7f2cce11f | ||
|
|
8ac308d433 | ||
|
|
871d72f3a8 | ||
|
|
b5d51e8f90 | ||
|
|
f6002e6a99 | ||
|
|
cac75789ba | ||
|
|
2beb560a3e | ||
|
|
96f38cca95 | ||
|
|
bb8fd3c29c | ||
|
|
7ae888a601 | ||
|
|
d101a9b1a6 | ||
|
|
14d5490618 | ||
|
|
358202c77a | ||
|
|
1d32e586d5 | ||
|
|
78fca3db83 | ||
|
|
fd6ad7e3a7 | ||
|
|
886ad9787c | ||
|
|
e7fa0e159e | ||
|
|
eb89ef6f0d | ||
|
|
66487eb8f9 | ||
|
|
400e5b2d60 | ||
|
|
8dd493b268 | ||
|
|
4824e95bc0 | ||
|
|
70fd52a574 | ||
|
|
1ca593c4ca | ||
|
|
aebaeea687 | ||
|
|
73f08a3185 | ||
|
|
aa8566b137 | ||
|
|
7865aad09b | ||
|
|
2f5a103992 | ||
|
|
53db4a6cf4 | ||
|
|
1527cf4b2f | ||
|
|
2b2649e1e4 | ||
|
|
687bf8211f | ||
|
|
39c399a0f2 | ||
|
|
91f2dcfb5c | ||
|
|
32de9f02f5 | ||
|
|
a1beddf486 | ||
|
|
962083b9d1 | ||
|
|
735ce51124 | ||
|
|
ca86a0fa2a | ||
|
|
c879a4d48c | ||
|
|
949ae37e0a | ||
|
|
03d0f4ea25 | ||
|
|
8549202800 | ||
|
|
c52aa55a86 | ||
|
|
7a93b33160 | ||
|
|
2ecc203835 | ||
|
|
5420e547d3 | ||
|
|
764545e02a | ||
|
|
3df007ef9d | ||
|
|
96b4346660 | ||
|
|
d608c561e0 | ||
|
|
ff53d7172c | ||
|
|
1bf04fd755 | ||
|
|
9afd1d0ceb | ||
|
|
9c3122b89b | ||
|
|
13b2d73427 | ||
|
|
a7edb883f0 | ||
|
|
39a77dd825 | ||
|
|
8e85afa406 | ||
|
|
2f0d173f94 | ||
|
|
a0f499dda1 | ||
|
|
2bb6bb5bee | ||
|
|
67c429e4b4 | ||
|
|
e5e5541af6 | ||
|
|
72801b8b20 | ||
|
|
89df56c046 | ||
|
|
2a8b1f5789 | ||
|
|
882e89e601 | ||
|
|
a295da4302 | ||
|
|
69d521d354 | ||
|
|
2ad4320339 | ||
|
|
4f0c2ffcab | ||
|
|
70f2c740c0 | ||
|
|
ccd267a782 | ||
|
|
9f24acd369 | ||
|
|
e3932d6b7f | ||
|
|
5ea4f3cb77 | ||
|
|
2d39158eaa | ||
|
|
5daa54cf2b | ||
|
|
e76b8519d1 | ||
|
|
9614f8ff74 | ||
|
|
4a0392dd9d | ||
|
|
0aa957a352 | ||
|
|
400f1199ea | ||
|
|
32533ca9c2 | ||
|
|
a1a4a13825 | ||
|
|
4034395d1a | ||
|
|
2a2ed16ce1 | ||
|
|
1881344cb6 | ||
|
|
48b5df0b9b | ||
|
|
040092215d | ||
|
|
2667aab551 | ||
|
|
9b0f17753d | ||
|
|
51b33321be | ||
|
|
8c067ab730 | ||
|
|
fb33e99a77 | ||
|
|
6a79c17c87 | ||
|
|
8d4e0ec528 | ||
|
|
c505e136da | ||
|
|
d95172ba47 | ||
|
|
28c7c8c14f | ||
|
|
55c7879352 | ||
|
|
f657783cf2 | ||
|
|
d9852a53af | ||
|
|
ea21390f28 | ||
|
|
3ccb1cec29 | ||
|
|
189198f19c | ||
|
|
148cc1a0a5 | ||
|
|
7e744771ad | ||
|
|
32cca51ac5 | ||
|
|
01969dcde2 | ||
|
|
1977a7258c | ||
|
|
2b1e18185c | ||
|
|
5ea1cf33f3 | ||
|
|
4633c3aa27 | ||
|
|
2f465c412a | ||
|
|
3dc797b2a4 | ||
|
|
b53aaa885d | ||
|
|
245bee08d6 | ||
|
|
80647bde2e | ||
|
|
7265b763fc | ||
|
|
ed9aa5a48e | ||
|
|
33bb764d12 | ||
|
|
bab9b6d59c | ||
|
|
6f51c803a1 | ||
|
|
0f922e7c9a | ||
|
|
9fcb876d3b | ||
|
|
f12ece06fa | ||
|
|
023846628d | ||
|
|
1354ffabb6 | ||
|
|
aaa4ceab5e | ||
|
|
03824c305d | ||
|
|
6acc9a5469 | ||
|
|
b733c26bfe | ||
|
|
2875d842de | ||
|
|
e94bde04d2 | ||
|
|
ed7a7dc985 | ||
|
|
30bdc9735b | ||
|
|
9a5a48dbd2 | ||
|
|
38b49ae042 | ||
|
|
d95716bd79 | ||
|
|
22f34982dc | ||
|
|
74fb870c36 | ||
|
|
7e67bc89de | ||
|
|
ba7d9df976 | ||
|
|
bbaf1e1498 | ||
|
|
9f56e12c16 | ||
|
|
778b391286 | ||
|
|
d15686653a | ||
|
|
f802660f7d | ||
|
|
e4fe285427 | ||
|
|
b389252931 | ||
|
|
e53740ec6a | ||
|
|
257e11b25b | ||
|
|
3ae4f3eb3c | ||
|
|
3e0af3793e | ||
|
|
f547a99619 | ||
|
|
e28be7530c | ||
|
|
3cebdc4fac | ||
|
|
75b4e23957 | ||
|
|
6e504e9baf | ||
|
|
59946f6f1a | ||
|
|
625402a01f | ||
|
|
56223ddaea | ||
|
|
deccff765f | ||
|
|
7a7e5dc525 | ||
|
|
5ffa73e979 | ||
|
|
ea617f9380 | ||
|
|
74e394023a | ||
|
|
97476b7b9e | ||
|
|
b4e81b014e | ||
|
|
6d12b7bc3d | ||
|
|
5f06297230 | ||
|
|
9af6ccb3da | ||
|
|
78120c2a1e | ||
|
|
ac503ea88a | ||
|
|
20806ce4e4 | ||
|
|
e4bf6e360d | ||
|
|
4bcbf142a8 | ||
|
|
588bb8de49 | ||
|
|
ee525dba4d | ||
|
|
bb836dce57 | ||
|
|
69242c4b9b | ||
|
|
ffee345723 | ||
|
|
a092bc1f5a | ||
|
|
5b4a5169e3 | ||
|
|
eaddfd8768 | ||
|
|
4e5900c5e8 | ||
|
|
0b4bdd2a47 | ||
|
|
9fae869124 | ||
|
|
8b67d741d4 | ||
|
|
ebb0c8f904 | ||
|
|
7334f9efab | ||
|
|
cd011bc1b7 | ||
|
|
dbfdd8fdd5 | ||
|
|
ee2c46928e | ||
|
|
ed2a407a88 | ||
|
|
b38d29a8c5 | ||
|
|
e6a95ce50e | ||
|
|
f0e8fac4ee | ||
|
|
489e5f30a2 | ||
|
|
abb2d046d0 | ||
|
|
9bcd9c7674 | ||
|
|
e6328b81f7 | ||
|
|
a317bd66a6 | ||
|
|
5c5307013a | ||
|
|
1227d51ed0 | ||
|
|
7254cf7e57 | ||
|
|
ab37df8d67 | ||
|
|
2114e47453 | ||
|
|
18f5d7f133 | ||
|
|
2965880447 | ||
|
|
8a0006ceda | ||
|
|
f59e2d6a89 | ||
|
|
f5d1d9ead2 | ||
|
|
b2ec17dd5f | ||
|
|
a94fc98396 | ||
|
|
c82446c81e | ||
|
|
03494b189c | ||
|
|
575f190412 | ||
|
|
327d5c142e | ||
|
|
92e521b431 | ||
|
|
0b2c22bd46 | ||
|
|
c8ec6fcab4 | ||
|
|
08b40dd8a5 | ||
|
|
1cd7e7422c | ||
|
|
66d2a84715 | ||
|
|
97cfa03865 | ||
|
|
fa20b227a3 | ||
|
|
0826e9632f | ||
|
|
78eee7299f | ||
|
|
4de01a9489 | ||
|
|
f07b952296 | ||
|
|
99916599da | ||
|
|
d211bb1351 | ||
|
|
d048f1e8e3 | ||
|
|
0895e78549 | ||
|
|
097339a099 | ||
|
|
f2496f5824 | ||
|
|
853de8169b | ||
|
|
869f1487e2 | ||
|
|
6d202ff20e | ||
|
|
72bb0ecc39 | ||
|
|
9de541f465 | ||
|
|
b0776aeead | ||
|
|
9fb2b0f42c | ||
|
|
5321a0e21f | ||
|
|
c755667aa0 | ||
|
|
331596e83c | ||
|
|
cd8550c29c | ||
|
|
9f52ad5289 | ||
|
|
003368429f | ||
|
|
8f5d3f8e80 | ||
|
|
bb5ffac22d | ||
|
|
fb732f97d4 | ||
|
|
3659fe1d33 | ||
|
|
cf6d886903 | ||
|
|
e3225b1c64 | ||
|
|
30152836da | ||
|
|
83a6d8c373 | ||
|
|
d526944e3c | ||
|
|
b6b4e82626 | ||
|
|
59b9aaea43 | ||
|
|
ec19a0e513 | ||
|
|
b6ea923f0f | ||
|
|
63f3de1a3c | ||
|
|
dc50a31758 | ||
|
|
67a5bb0ac1 | ||
|
|
0b26702ac9 | ||
|
|
01578db56b | ||
|
|
2af5679b26 | ||
|
|
5657176b61 | ||
|
|
73c822c201 | ||
|
|
acb9c9c260 | ||
|
|
fca00d0ebc | ||
|
|
08e7f7be59 | ||
|
|
84bd9624c6 | ||
|
|
91d34a0989 | ||
|
|
cf33e37d25 | ||
|
|
d740b64044 | ||
|
|
500fb6aa21 | ||
|
|
ca5d684a2b | ||
|
|
6ee53e7d49 | ||
|
|
256adb6371 | ||
|
|
98112fcdba | ||
|
|
433f1272d4 | ||
|
|
b59ac45131 | ||
|
|
a0744c8dca | ||
|
|
8f7b87b323 | ||
|
|
686ef404b8 | ||
|
|
e7eb7d3327 | ||
|
|
5938e6f8a4 | ||
|
|
268c683fbd | ||
|
|
85afe9c5c7 | ||
|
|
6324acd9f9 | ||
|
|
f4a8fbbdf7 | ||
|
|
e693488742 | ||
|
|
613410095c | ||
|
|
5f88e72691 | ||
|
|
7de26f7dc7 | ||
|
|
82d3200571 | ||
|
|
c18eb23326 | ||
|
|
5d1d27e88b | ||
|
|
07ac762b80 | ||
|
|
b85b4e0a60 | ||
|
|
ca412e87f2 | ||
|
|
15354f88c3 | ||
|
|
d5c9e8b81d | ||
|
|
593a33d061 | ||
|
|
53fe47c74e | ||
|
|
35ce309f73 | ||
|
|
2861a7e63a | ||
|
|
5bb2d8079b | ||
|
|
9c0678a01d | ||
|
|
321072ee0b | ||
|
|
664d05662e | ||
|
|
4cd1f269c2 | ||
|
|
ff8e2041dd | ||
|
|
4af5573f42 | ||
|
|
c1c20bb196 | ||
|
|
7411c08e90 | ||
|
|
dcefa0e43f | ||
|
|
869bb599c1 | ||
|
|
85fff5e50a | ||
|
|
8fe342a872 | ||
|
|
44ce7930b7 | ||
|
|
c3708ccf08 | ||
|
|
2ece2f1690 | ||
|
|
ba4b328b3d | ||
|
|
343a5ff3bd | ||
|
|
3dacebf8ee | ||
|
|
61871d60a6 | ||
|
|
ce0510ba2d | ||
|
|
3bc3d4e24c | ||
|
|
4e74b13e7a | ||
|
|
370761b179 | ||
|
|
690ba07bda | ||
|
|
e1979a883b | ||
|
|
5613cb9237 | ||
|
|
3b7927efb5 | ||
|
|
68a1c93e2e | ||
|
|
ed52328ced | ||
|
|
ab42b16bac | ||
|
|
2162688ad3 | ||
|
|
927fe73c5b | ||
|
|
d31021392a | ||
|
|
bc785155f2 | ||
|
|
9460e5093c | ||
|
|
44ba601c5f | ||
|
|
59c75d3322 | ||
|
|
74a81cf1d9 | ||
|
|
1f83145cb4 | ||
|
|
1688114e55 | ||
|
|
03238517b3 | ||
|
|
1bfb95488f | ||
|
|
db304256bb | ||
|
|
70d343f513 | ||
|
|
8b482728ef | ||
|
|
9c1ef1d4a3 | ||
|
|
032aa1b96c | ||
|
|
721b42da8e | ||
|
|
95060350bd | ||
|
|
0c55c70b11 | ||
|
|
16ed47dc14 | ||
|
|
1c9250cab5 | ||
|
|
1c5f99e37c | ||
|
|
632c57217c | ||
|
|
392bcd2485 | ||
|
|
9a975b7bdb | ||
|
|
def0d2131a | ||
|
|
6db1321100 | ||
|
|
d60fe35073 | ||
|
|
6189231187 | ||
|
|
d6bd7360b8 | ||
|
|
f76fe94012 | ||
|
|
6a0db4f7e6 | ||
|
|
576003627c | ||
|
|
a5221869c2 | ||
|
|
36307f86da | ||
|
|
1470edc595 | ||
|
|
a8ae1f6a4d | ||
|
|
d0a38c3a20 | ||
|
|
1377fe7ec0 | ||
|
|
761c4c2ed5 | ||
|
|
6faf169695 | ||
|
|
43229f91d4 | ||
|
|
1cfafd0d24 | ||
|
|
c510a8c76e | ||
|
|
4dd59bcdf4 | ||
|
|
e77e19553d | ||
|
|
5a695f0e0c | ||
|
|
0fd8746f64 | ||
|
|
374c25e2a6 | ||
|
|
5efaa5f6bb | ||
|
|
61cea67517 | ||
|
|
ac83b4e278 | ||
|
|
c97ded4872 | ||
|
|
53ab79afad | ||
|
|
a9d42b0dd3 | ||
|
|
8afdb09aa4 | ||
|
|
8e66b77c91 | ||
|
|
86ca9dc1ee | ||
|
|
63339bcd7d | ||
|
|
0aecb5c770 | ||
|
|
95b3e6543b | ||
|
|
c6d02f48d5 | ||
|
|
23e7ae6085 | ||
|
|
178e4ccd5b | ||
|
|
980e535aae | ||
|
|
c9c8b77d87 | ||
|
|
bbad12a922 | ||
|
|
4504aab21d | ||
|
|
dfc494ffc5 | ||
|
|
267d4d8f8e | ||
|
|
39ddc268cb | ||
|
|
3acf157857 | ||
|
|
9352408301 | ||
|
|
4ee49f1690 | ||
|
|
f563fa1a29 | ||
|
|
273f7b4cf8 | ||
|
|
15408a952d | ||
|
|
ec3454bafc | ||
|
|
242c3eaa33 | ||
|
|
a6412ac2d5 | ||
|
|
5b0a677712 | ||
|
|
998116e587 | ||
|
|
685b895172 | ||
|
|
8950b37aa0 | ||
|
|
248e523dad | ||
|
|
2fa8172236 | ||
|
|
04c22d250a | ||
|
|
67abded7f7 | ||
|
|
687f90e843 | ||
|
|
ae9ab0741e | ||
|
|
7921df1b47 | ||
|
|
856da21652 | ||
|
|
7fbefab95d |
9
.gitignore
vendored
9
.gitignore
vendored
@@ -3,7 +3,16 @@ Win32/
|
|||||||
x64/
|
x64/
|
||||||
ipch/
|
ipch/
|
||||||
resources/out/
|
resources/out/
|
||||||
|
tinyxml2/tinyxml2-cbp/bin/
|
||||||
|
tinyxml2/tinyxml2-cbp/obj/
|
||||||
|
tinyxml2/bin/
|
||||||
|
tinyxml2/temp/
|
||||||
*.sdf
|
*.sdf
|
||||||
*.suo
|
*.suo
|
||||||
*.opensdf
|
*.opensdf
|
||||||
*.user
|
*.user
|
||||||
|
*.depend
|
||||||
|
*.layout
|
||||||
|
*.o
|
||||||
|
*.vc.db
|
||||||
|
*.vc.opendb
|
||||||
15
.travis.yml
Normal file
15
.travis.yml
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
language: cpp
|
||||||
|
|
||||||
|
os:
|
||||||
|
- linux
|
||||||
|
- osx
|
||||||
|
|
||||||
|
compiler:
|
||||||
|
- g++
|
||||||
|
- clang
|
||||||
|
|
||||||
|
before_script: cmake .
|
||||||
|
|
||||||
|
script:
|
||||||
|
- make -j3
|
||||||
|
- make test
|
||||||
182
CMakeLists.txt
182
CMakeLists.txt
@@ -1,8 +1,19 @@
|
|||||||
|
IF(BIICODE)
|
||||||
|
ADD_BIICODE_TARGETS()
|
||||||
|
if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/resources)
|
||||||
|
file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/resources DESTINATION ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
|
||||||
|
ENDIF()
|
||||||
|
RETURN()
|
||||||
|
ENDIF(BIICODE)
|
||||||
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
|
cmake_minimum_required(VERSION 2.6 FATAL_ERROR)
|
||||||
cmake_policy(VERSION 2.6)
|
cmake_policy(VERSION 2.6)
|
||||||
|
if(POLICY CMP0063)
|
||||||
|
cmake_policy(SET CMP0063 OLD)
|
||||||
|
endif()
|
||||||
|
|
||||||
project(tinyxml2)
|
project(tinyxml2)
|
||||||
include(GNUInstallDirs)
|
include(GNUInstallDirs)
|
||||||
|
include(CTest)
|
||||||
#enable_testing()
|
#enable_testing()
|
||||||
|
|
||||||
#CMAKE_BUILD_TOOL
|
#CMAKE_BUILD_TOOL
|
||||||
@@ -10,65 +21,126 @@ include(GNUInstallDirs)
|
|||||||
################################
|
################################
|
||||||
# set lib version here
|
# set lib version here
|
||||||
|
|
||||||
set(GENERIC_LIB_VERSION "1.0.8")
|
set(GENERIC_LIB_VERSION "5.0.1")
|
||||||
set(GENERIC_LIB_SOVERSION "1")
|
set(GENERIC_LIB_SOVERSION "5")
|
||||||
|
|
||||||
|
|
||||||
################################
|
|
||||||
# Add common source
|
|
||||||
|
|
||||||
include_directories("${CMAKE_CURRENT_SOURCE_DIR}/.")
|
|
||||||
|
|
||||||
################################
|
|
||||||
# Add custom target to copy all data
|
|
||||||
|
|
||||||
set(TARGET_DATA_COPY DATA_COPY)
|
|
||||||
if(${CMAKE_CURRENT_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_BINARY_DIR})
|
|
||||||
add_custom_target(
|
|
||||||
${TARGET_DATA_COPY}
|
|
||||||
COMMAND ${CMAKE_COMMAND} -E echo "In source build")
|
|
||||||
else(${CMAKE_CURRENT_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_BINARY_DIR})
|
|
||||||
make_directory(${CMAKE_CURRENT_BINARY_DIR}/resources/)
|
|
||||||
add_custom_target(
|
|
||||||
${TARGET_DATA_COPY}
|
|
||||||
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/resources/dream.xml ${CMAKE_CURRENT_BINARY_DIR}/resources/
|
|
||||||
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/resources/utf8test.xml ${CMAKE_CURRENT_BINARY_DIR}/resources/
|
|
||||||
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/resources/utf8testverify.xml ${CMAKE_CURRENT_BINARY_DIR}/resources/)
|
|
||||||
endif(${CMAKE_CURRENT_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_BINARY_DIR})
|
|
||||||
|
|
||||||
################################
|
################################
|
||||||
# Add definitions
|
# Add definitions
|
||||||
|
|
||||||
if(MSVC)
|
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DDEBUG")
|
||||||
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
|
|
||||||
endif(MSVC)
|
|
||||||
|
|
||||||
################################
|
################################
|
||||||
# Add targets
|
# Add targets
|
||||||
set(BUILD_STATIC_LIBS ON CACHE BOOL "Set to ON to build static libraries")
|
# By Default shared libray is being built
|
||||||
if(BUILD_STATIC_LIBS)
|
# To build static libs also - Do cmake . -DBUILD_STATIC_LIBS:BOOL=ON
|
||||||
add_library(tinyxml2static STATIC tinyxml2.cpp tinyxml2.h)
|
# User can choose not to build shared library by using cmake -DBUILD_SHARED_LIBS:BOOL=OFF
|
||||||
set_target_properties(tinyxml2static PROPERTIES OUTPUT_NAME tinyxml2)
|
# To build only static libs use cmake . -DBUILD_SHARED_LIBS:BOOL=OFF -DBUILD_STATIC_LIBS:BOOL=ON
|
||||||
endif(BUILD_STATIC_LIBS)
|
# To build the tests, use cmake . -DBUILD_TESTS:BOOL=ON
|
||||||
|
# To disable the building of the tests, use cmake . -DBUILD_TESTS:BOOL=OFF
|
||||||
|
|
||||||
|
option(BUILD_SHARED_LIBS "build as shared library" ON)
|
||||||
|
option(BUILD_STATIC_LIBS "build as static library" OFF)
|
||||||
|
option(BUILD_TESTS "build xmltest (deprecated: Use BUILD_TESTING)" ON)
|
||||||
|
|
||||||
|
set(CMAKE_CXX_VISIBILITY_PRESET hidden)
|
||||||
|
set(CMAKE_VISIBILITY_INLINES_HIDDEN 1)
|
||||||
|
|
||||||
|
# to distinguish between debug and release lib
|
||||||
|
set(CMAKE_DEBUG_POSTFIX "d")
|
||||||
|
|
||||||
|
if(BUILD_SHARED_LIBS)
|
||||||
add_library(tinyxml2 SHARED tinyxml2.cpp tinyxml2.h)
|
add_library(tinyxml2 SHARED tinyxml2.cpp tinyxml2.h)
|
||||||
|
|
||||||
set_target_properties(tinyxml2 PROPERTIES
|
set_target_properties(tinyxml2 PROPERTIES
|
||||||
|
COMPILE_DEFINITIONS "TINYXML2_EXPORT"
|
||||||
VERSION "${GENERIC_LIB_VERSION}"
|
VERSION "${GENERIC_LIB_VERSION}"
|
||||||
SOVERSION "${GENERIC_LIB_SOVERSION}")
|
SOVERSION "${GENERIC_LIB_SOVERSION}")
|
||||||
|
|
||||||
add_executable(test xmltest.cpp)
|
|
||||||
add_dependencies(test tinyxml2)
|
|
||||||
add_dependencies(test ${TARGET_DATA_COPY})
|
|
||||||
target_link_libraries(test tinyxml2)
|
|
||||||
|
|
||||||
|
if(DEFINED CMAKE_VERSION AND NOT "${CMAKE_VERSION}" VERSION_LESS "2.8.11")
|
||||||
|
target_include_directories(tinyxml2 PUBLIC
|
||||||
|
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}>
|
||||||
|
$<INSTALL_INTERFACE:${CMAKE_INSTALL_PREFIX}/include>)
|
||||||
|
|
||||||
|
if(MSVC)
|
||||||
|
target_compile_definitions(tinyxml2 PUBLIC -D_CRT_SECURE_NO_WARNINGS)
|
||||||
|
endif(MSVC)
|
||||||
|
else()
|
||||||
|
include_directories(${PROJECT_SOURCE_DIR})
|
||||||
|
|
||||||
|
if(MSVC)
|
||||||
|
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
|
||||||
|
endif(MSVC)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# export targets for find_package config mode
|
||||||
|
export(TARGETS tinyxml2
|
||||||
|
FILE ${CMAKE_BINARY_DIR}/${CMAKE_PROJECT_NAME}Targets.cmake)
|
||||||
|
|
||||||
|
install(TARGETS tinyxml2
|
||||||
|
EXPORT ${CMAKE_PROJECT_NAME}Targets
|
||||||
|
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||||
|
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||||
|
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||||
|
endif()
|
||||||
|
|
||||||
if(BUILD_STATIC_LIBS)
|
if(BUILD_STATIC_LIBS)
|
||||||
install(TARGETS tinyxml2 tinyxml2static
|
add_library(tinyxml2_static STATIC tinyxml2.cpp tinyxml2.h)
|
||||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
set_target_properties(tinyxml2_static PROPERTIES
|
||||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
COMPILE_DEFINITONS "TINYXML2_EXPORT"
|
||||||
else(BUILD_STATIC_LIBS)
|
VERSION "${GENERIC_LIB_VERSION}"
|
||||||
install(TARGETS tinyxml2
|
SOVERSION "${GENERIC_LIB_SOVERSION}")
|
||||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
set_target_properties( tinyxml2_static PROPERTIES OUTPUT_NAME tinyxml2 )
|
||||||
endif(BUILD_STATIC_LIBS)
|
|
||||||
|
target_compile_definitions(tinyxml2_static PUBLIC -D_CRT_SECURE_NO_WARNINGS)
|
||||||
|
|
||||||
|
if(DEFINED CMAKE_VERSION AND NOT "${CMAKE_VERSION}" VERSION_LESS "2.8.11")
|
||||||
|
target_include_directories(tinyxml2_static PUBLIC
|
||||||
|
$<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}>
|
||||||
|
$<INSTALL_INTERFACE:${CMAKE_INSTALL_PREFIX}/include>)
|
||||||
|
|
||||||
|
if(MSVC)
|
||||||
|
target_compile_definitions(tinyxml2_static PUBLIC -D_CRT_SECURE_NO_WARNINGS)
|
||||||
|
endif(MSVC)
|
||||||
|
else()
|
||||||
|
include_directories(${PROJECT_SOURCE_DIR})
|
||||||
|
|
||||||
|
if(MSVC)
|
||||||
|
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
|
||||||
|
endif(MSVC)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# export targets for find_package config mode
|
||||||
|
export(TARGETS tinyxml2_static
|
||||||
|
FILE ${CMAKE_BINARY_DIR}/${CMAKE_PROJECT_NAME}Targets.cmake)
|
||||||
|
|
||||||
|
install(TARGETS tinyxml2_static
|
||||||
|
EXPORT ${CMAKE_PROJECT_NAME}Targets
|
||||||
|
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||||
|
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||||
|
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
|
||||||
|
endif()
|
||||||
|
|
||||||
|
if(BUILD_TESTING AND BUILD_TESTS)
|
||||||
|
add_executable(xmltest xmltest.cpp)
|
||||||
|
if(BUILD_SHARED_LIBS)
|
||||||
|
add_dependencies(xmltest tinyxml2)
|
||||||
|
target_link_libraries(xmltest tinyxml2)
|
||||||
|
else(BUILD_STATIC_LIBS)
|
||||||
|
add_dependencies(xmltest tinyxml2_static)
|
||||||
|
target_link_libraries(xmltest tinyxml2_static)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
# Copy test resources and create test output directory
|
||||||
|
add_custom_command(TARGET xmltest POST_BUILD
|
||||||
|
COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_SOURCE_DIR}/resources $<TARGET_FILE_DIR:xmltest>/resources
|
||||||
|
COMMAND ${CMAKE_COMMAND} -E make_directory $<TARGET_FILE_DIR:xmltest>/resources/out
|
||||||
|
COMMENT "Configuring xmltest resources directory: ${CMAKE_BINARY_DIR}/resources"
|
||||||
|
)
|
||||||
|
|
||||||
|
add_test(NAME xmltest COMMAND xmltest)
|
||||||
|
endif()
|
||||||
|
|
||||||
install(FILES tinyxml2.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
|
install(FILES tinyxml2.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
|
||||||
|
|
||||||
foreach(p LIB INCLUDE)
|
foreach(p LIB INCLUDE)
|
||||||
@@ -81,4 +153,24 @@ endforeach()
|
|||||||
configure_file(tinyxml2.pc.in tinyxml2.pc @ONLY)
|
configure_file(tinyxml2.pc.in tinyxml2.pc @ONLY)
|
||||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/tinyxml2.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/tinyxml2.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
|
||||||
|
|
||||||
#add_test(test ${SAMPLE_NAME} COMMAND $<TARGET_FILE:${SAMPLE_NAME}>)
|
# uninstall target
|
||||||
|
if(NOT TARGET uninstall)
|
||||||
|
configure_file(
|
||||||
|
"${CMAKE_CURRENT_SOURCE_DIR}/cmake_uninstall.cmake.in"
|
||||||
|
"${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
|
||||||
|
IMMEDIATE @ONLY)
|
||||||
|
|
||||||
|
add_custom_target(uninstall
|
||||||
|
COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
file(WRITE
|
||||||
|
${CMAKE_BINARY_DIR}/${CMAKE_PROJECT_NAME}Config.cmake
|
||||||
|
"include(\${CMAKE_CURRENT_LIST_DIR}/${CMAKE_PROJECT_NAME}Targets.cmake)\n")
|
||||||
|
|
||||||
|
install(FILES
|
||||||
|
${CMAKE_BINARY_DIR}/${CMAKE_PROJECT_NAME}Config.cmake
|
||||||
|
DESTINATION lib/cmake/${CMAKE_PROJECT_NAME})
|
||||||
|
|
||||||
|
install(EXPORT ${CMAKE_PROJECT_NAME}Targets
|
||||||
|
DESTINATION lib/cmake/${CMAKE_PROJECT_NAME})
|
||||||
|
|||||||
21
Makefile
21
Makefile
@@ -1,4 +1,19 @@
|
|||||||
all: xmltest
|
all: xmltest staticlib
|
||||||
xmltest: xmltest.cpp tinyxml2.cpp tinyxml2.h
|
|
||||||
|
rebuild: clean all
|
||||||
|
|
||||||
|
xmltest: xmltest.cpp libtinyxml2.a
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f *.o xmltest
|
$(RM) *.o xmltest libtinyxml2.a
|
||||||
|
|
||||||
|
test: clean xmltest
|
||||||
|
./xmltest
|
||||||
|
|
||||||
|
staticlib: libtinyxml2.a
|
||||||
|
|
||||||
|
libtinyxml2.a: tinyxml2.o
|
||||||
|
$(AR) $(ARFLAGS)s $@ $^
|
||||||
|
|
||||||
|
tinyxml2.o: tinyxml2.cpp tinyxml2.h
|
||||||
|
|
||||||
|
|||||||
BIN
TinyXML2_small.png
Normal file
BIN
TinyXML2_small.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 210 KiB |
7
appveyor.yml
Normal file
7
appveyor.yml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
before_build:
|
||||||
|
- cmake .
|
||||||
|
|
||||||
|
build_script:
|
||||||
|
- msbuild tinyxml2.sln /m /p:Configuration=Release /t:ALL_BUILD
|
||||||
|
- cd Release
|
||||||
|
- xmltest.exe
|
||||||
7
biicode.conf
Normal file
7
biicode.conf
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
# Biicode configuration file
|
||||||
|
|
||||||
|
[paths]
|
||||||
|
/
|
||||||
|
|
||||||
|
[dependencies]
|
||||||
|
xmltest.cpp + resources/*.xml
|
||||||
21
cmake_uninstall.cmake.in
Normal file
21
cmake_uninstall.cmake.in
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
if(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
|
||||||
|
message(FATAL_ERROR "Cannot find install manifest: @CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
|
||||||
|
endif(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
|
||||||
|
|
||||||
|
file(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files)
|
||||||
|
string(REGEX REPLACE "\n" ";" files "${files}")
|
||||||
|
foreach(file ${files})
|
||||||
|
message(STATUS "Uninstalling $ENV{DESTDIR}${file}")
|
||||||
|
if(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}")
|
||||||
|
exec_program(
|
||||||
|
"@CMAKE_COMMAND@" ARGS "-E remove \"$ENV{DESTDIR}${file}\""
|
||||||
|
OUTPUT_VARIABLE rm_out
|
||||||
|
RETURN_VALUE rm_retval
|
||||||
|
)
|
||||||
|
if(NOT "${rm_retval}" STREQUAL 0)
|
||||||
|
message(FATAL_ERROR "Problem when removing $ENV{DESTDIR}${file}")
|
||||||
|
endif(NOT "${rm_retval}" STREQUAL 0)
|
||||||
|
else(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}")
|
||||||
|
message(STATUS "File $ENV{DESTDIR}${file} does not exist.")
|
||||||
|
endif(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}")
|
||||||
|
endforeach(file)
|
||||||
108
contrib/html5-printer.cpp
Normal file
108
contrib/html5-printer.cpp
Normal file
@@ -0,0 +1,108 @@
|
|||||||
|
// g++ -Wall -O2 contrib/html5-printer.cpp -o html5-printer -ltinyxml2
|
||||||
|
|
||||||
|
// This program demonstrates how to use "tinyxml2" to generate conformant HTML5
|
||||||
|
// by deriving from the "tinyxml2::XMLPrinter" class.
|
||||||
|
|
||||||
|
// http://dev.w3.org/html5/markup/syntax.html
|
||||||
|
|
||||||
|
// In HTML5, there are 16 so-called "void" elements. "void elements" NEVER have
|
||||||
|
// inner content (but they MAY have attributes), and are assumed to be self-closing.
|
||||||
|
// An example of a self-closig HTML5 element is "<br/>" (line break)
|
||||||
|
// All other elements are called "non-void" and MUST never self-close.
|
||||||
|
// Examples: "<div class='lolcats'></div>".
|
||||||
|
|
||||||
|
// tinyxml2::XMLPrinter will emit _ALL_ XML elements with no inner content as
|
||||||
|
// self-closing. This behavior produces space-effeceint XML, but incorrect HTML5.
|
||||||
|
|
||||||
|
// Author: Dennis Jenkins, dennis (dot) jenkins (dot) 75 (at) gmail (dot) com.
|
||||||
|
// License: Same as tinyxml2 (zlib, see below)
|
||||||
|
// This example is a small contribution to the world! Enjoy it!
|
||||||
|
|
||||||
|
/*
|
||||||
|
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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
#include <tinyxml2.h>
|
||||||
|
#include <iostream>
|
||||||
|
|
||||||
|
#if defined (_MSC_VER)
|
||||||
|
#define strcasecmp stricmp
|
||||||
|
#endif
|
||||||
|
|
||||||
|
using namespace tinyxml2;
|
||||||
|
|
||||||
|
// Contrived input containing a mix of void and non-void HTML5 elements.
|
||||||
|
// When printed via XMLPrinter, some non-void elements will self-close (not valid HTML5).
|
||||||
|
static const char input[] =
|
||||||
|
"<html><body><p style='a'></p><br/>©<col a='1' b='2'/><div a='1'></div></body></html>";
|
||||||
|
|
||||||
|
// XMLPrinterHTML5 is small enough, just put the entire implementation inline.
|
||||||
|
class XMLPrinterHTML5 : public XMLPrinter
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
XMLPrinterHTML5 (FILE* file=0, bool compact = false, int depth = 0) :
|
||||||
|
XMLPrinter (file, compact, depth)
|
||||||
|
{}
|
||||||
|
|
||||||
|
protected:
|
||||||
|
virtual void CloseElement () {
|
||||||
|
if (_elementJustOpened && !isVoidElement (_stack.PeekTop())) {
|
||||||
|
SealElementIfJustOpened();
|
||||||
|
}
|
||||||
|
XMLPrinter::CloseElement();
|
||||||
|
}
|
||||||
|
|
||||||
|
virtual bool isVoidElement (const char *name) {
|
||||||
|
// Complete list of all HTML5 "void elements",
|
||||||
|
// http://dev.w3.org/html5/markup/syntax.html
|
||||||
|
static const char *list[] = {
|
||||||
|
"area", "base", "br", "col", "command", "embed", "hr", "img",
|
||||||
|
"input", "keygen", "link", "meta", "param", "source", "track", "wbr",
|
||||||
|
NULL
|
||||||
|
};
|
||||||
|
|
||||||
|
// I could use 'bsearch', but I don't have MSVC to test on (it would work with gcc/libc).
|
||||||
|
for (const char **p = list; *p; ++p) {
|
||||||
|
if (!strcasecmp (name, *p)) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
int main (void) {
|
||||||
|
XMLDocument doc (false);
|
||||||
|
doc.Parse (input);
|
||||||
|
|
||||||
|
std::cout << "INPUT:\n" << input << "\n\n";
|
||||||
|
|
||||||
|
XMLPrinter prn (NULL, true);
|
||||||
|
doc.Print (&prn);
|
||||||
|
std::cout << "XMLPrinter (not valid HTML5):\n" << prn.CStr() << "\n\n";
|
||||||
|
|
||||||
|
XMLPrinterHTML5 html5 (NULL, true);
|
||||||
|
doc.Print (&html5);
|
||||||
|
std::cout << "XMLPrinterHTML5:\n" << html5.CStr() << "\n";
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
68
readme.md
68
readme.md
@@ -1,7 +1,8 @@
|
|||||||
TinyXML-2
|
TinyXML-2 [](https://travis-ci.org/leethomason/tinyxml2) [](https://ci.appveyor.com/project/leethomason/tinyxml2)
|
||||||
=========
|
=========
|
||||||
|

|
||||||
|
|
||||||
TinyXML is a simple, small, efficient, C++ XML parser that can be
|
TinyXML-2 is a simple, small, efficient, C++ XML parser that can be
|
||||||
easily integrated into other programs.
|
easily integrated into other programs.
|
||||||
|
|
||||||
The master is hosted on github:
|
The master is hosted on github:
|
||||||
@@ -15,7 +16,7 @@ Examples are in the "related pages" tab of the HTML docs.
|
|||||||
What it does.
|
What it does.
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
In brief, TinyXML parses an XML document, and builds from that a
|
In brief, TinyXML-2 parses an XML document, and builds from that a
|
||||||
Document Object Model (DOM) that can be read, modified, and saved.
|
Document Object Model (DOM) that can be read, modified, and saved.
|
||||||
|
|
||||||
XML stands for "eXtensible Markup Language." It is a general purpose
|
XML stands for "eXtensible Markup Language." It is a general purpose
|
||||||
@@ -45,24 +46,26 @@ TinyXML-2 attempts to be a flexible parser, but with truly correct and
|
|||||||
compliant XML output. TinyXML-2 should compile on any reasonably C++
|
compliant XML output. TinyXML-2 should compile on any reasonably C++
|
||||||
compliant system. It does not rely on exceptions, RTTI, or the STL.
|
compliant system. It does not rely on exceptions, RTTI, or the STL.
|
||||||
|
|
||||||
What it doesn<EFBFBD>t do.
|
What it doesn't do.
|
||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
TinyXML-2 doesn't parse or use DTDs (Document Type Definitions) or XSLs
|
TinyXML-2 doesn't parse or use DTDs (Document Type Definitions) or XSLs
|
||||||
(eXtensible Stylesheet Language.) There are other parsers out there
|
(eXtensible Stylesheet Language.) There are other parsers out there
|
||||||
that are much more fully
|
that are much more fully featured. But they are also much bigger,
|
||||||
featured. But they are also much bigger, take longer to set up in
|
take longer to set up in your project, have a higher learning curve,
|
||||||
your project, have a higher learning curve, and often have a more
|
and often have a more restrictive license. If you are working with
|
||||||
restrictive license. If you are working with browsers or have more
|
browsers or have more complete XML needs, TinyXML-2 is not the parser for you.
|
||||||
complete XML needs, TinyXML-2 is not the parser for you.
|
|
||||||
|
|
||||||
TinyXML-1 vs. TinyXML-2
|
TinyXML-1 vs. TinyXML-2
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
Which should you use? TinyXML-2 uses a similar API to TinyXML-1 and the same
|
TinyXML-2 is now the focus of all development, well tested, and your
|
||||||
|
best choice unless you have a requirement to maintain TinyXML-1 code.
|
||||||
|
|
||||||
|
TinyXML-2 uses a similar API to TinyXML-1 and the same
|
||||||
rich test cases. But the implementation of the parser is completely re-written
|
rich test cases. But the implementation of the parser is completely re-written
|
||||||
to make it more appropriate for use in a game. It uses less memory, is faster,
|
to make it more appropriate for use in a game. It uses less memory, is faster,
|
||||||
and uses far few memory allocations.
|
and uses far fewer memory allocations.
|
||||||
|
|
||||||
TinyXML-2 has no requirement for STL, but has also dropped all STL support. All
|
TinyXML-2 has no requirement for STL, but has also dropped all STL support. All
|
||||||
strings are query and set as 'const char*'. This allows the use of internal
|
strings are query and set as 'const char*'. This allows the use of internal
|
||||||
@@ -85,9 +88,8 @@ Advantages of TinyXML-2
|
|||||||
|
|
||||||
Advantages of TinyXML-1
|
Advantages of TinyXML-1
|
||||||
|
|
||||||
1. Can report the location of parsing errors.
|
1. Support for some C++ STL conventions: streams and strings
|
||||||
2. Support for some C++ STL conventions: streams and strings
|
2. Very mature and well debugged code base.
|
||||||
3. Very mature and well debugged code base.
|
|
||||||
|
|
||||||
Features
|
Features
|
||||||
--------
|
--------
|
||||||
@@ -108,7 +110,7 @@ by the Document. When the Document is deleted, so are all the nodes it contains.
|
|||||||
|
|
||||||
Microsoft has an excellent article on white space: http://msdn.microsoft.com/en-us/library/ms256097.aspx
|
Microsoft has an excellent article on white space: http://msdn.microsoft.com/en-us/library/ms256097.aspx
|
||||||
|
|
||||||
By default, TinyXML-2 preserves white space in a (hopefully) sane way that is almost complient with the
|
By default, TinyXML-2 preserves white space in a (hopefully) sane way that is almost compliant with the
|
||||||
spec. (TinyXML-1 used a completely different model, much more similar to 'collapse', below.)
|
spec. (TinyXML-1 used a completely different model, much more similar to 'collapse', below.)
|
||||||
|
|
||||||
As a first step, all newlines / carriage-returns / line-feeds are normalized to a
|
As a first step, all newlines / carriage-returns / line-feeds are normalized to a
|
||||||
@@ -154,6 +156,15 @@ However, you may also use COLLAPSE_WHITESPACE, which will:
|
|||||||
Note that (currently) there is a performance impact for using COLLAPSE_WHITESPACE.
|
Note that (currently) there is a performance impact for using COLLAPSE_WHITESPACE.
|
||||||
It essentially causes the XML to be parsed twice.
|
It essentially causes the XML to be parsed twice.
|
||||||
|
|
||||||
|
#### Error Reporting
|
||||||
|
|
||||||
|
TinyXML-2 reports the line number of any errors in an XML document that
|
||||||
|
cannot be parsed correctly. In addition, all nodes (elements, declarations,
|
||||||
|
text, comments etc.) and attributes have a line number recorded as they are parsed.
|
||||||
|
This allows an application that performs additional validation of the parsed
|
||||||
|
XML document (e.g. application-implemented DTD validation) to report
|
||||||
|
line number information in it's errors.
|
||||||
|
|
||||||
### Entities
|
### Entities
|
||||||
|
|
||||||
TinyXML-2 recognizes the pre-defined "character entities", meaning special
|
TinyXML-2 recognizes the pre-defined "character entities", meaning special
|
||||||
@@ -165,7 +176,7 @@ characters. Namely:
|
|||||||
" "
|
" "
|
||||||
' '
|
' '
|
||||||
|
|
||||||
These are recognized when the XML document is read, and translated to there
|
These are recognized when the XML document is read, and translated to their
|
||||||
UTF-8 equivalents. For instance, text with the XML of:
|
UTF-8 equivalents. For instance, text with the XML of:
|
||||||
|
|
||||||
Far & Away
|
Far & Away
|
||||||
@@ -174,7 +185,7 @@ will have the Value() of "Far & Away" when queried from the XMLText object,
|
|||||||
and will be written back to the XML stream/file as an ampersand.
|
and will be written back to the XML stream/file as an ampersand.
|
||||||
|
|
||||||
Additionally, any character can be specified by its Unicode code point:
|
Additionally, any character can be specified by its Unicode code point:
|
||||||
The syntax " " or " " are both to the non-breaking space characher.
|
The syntax ` ` or ` ` are both to the non-breaking space character.
|
||||||
This is called a 'numeric character reference'. Any numeric character reference
|
This is called a 'numeric character reference'. Any numeric character reference
|
||||||
that isn't one of the special entities above, will be read, but written as a
|
that isn't one of the special entities above, will be read, but written as a
|
||||||
regular code point. The output is correct, but the entity syntax isn't preserved.
|
regular code point. The output is correct, but the entity syntax isn't preserved.
|
||||||
@@ -197,7 +208,7 @@ Or the XMLPrinter class:
|
|||||||
Printing to memory is supported by the XMLPrinter.
|
Printing to memory is supported by the XMLPrinter.
|
||||||
|
|
||||||
XMLPrinter printer;
|
XMLPrinter printer;
|
||||||
doc->Print( &printer );
|
doc.Print( &printer );
|
||||||
// printer.CStr() has a const char* to the XML
|
// printer.CStr() has a const char* to the XML
|
||||||
|
|
||||||
#### Print without an XMLDocument
|
#### Print without an XMLDocument
|
||||||
@@ -261,9 +272,18 @@ There are 2 files in TinyXML-2:
|
|||||||
And additionally a test file:
|
And additionally a test file:
|
||||||
* xmltest.cpp
|
* xmltest.cpp
|
||||||
|
|
||||||
Simply compile and run. There is a visual studio 2010 project included, a simple Makefile,
|
Simply compile and run. There is a visual studio 2015 project included, a simple Makefile,
|
||||||
an XCode project, and a cmake CMakeLists.txt included to help you. The top of tinyxml.h
|
an Xcode project, a Code::Blocks project, and a cmake CMakeLists.txt included to help you.
|
||||||
even has a simple g++ command line if you are are *nix and don't want to use a build system.
|
The top of tinyxml.h even has a simple g++ command line if you are are *nix and don't want
|
||||||
|
to use a build system.
|
||||||
|
|
||||||
|
Versioning
|
||||||
|
----------
|
||||||
|
|
||||||
|
TinyXML-2 uses semantic versioning. http://semver.org/ Releases are now tagged in github.
|
||||||
|
|
||||||
|
Note that the major version will (probably) change fairly rapidly. API changes are fairly
|
||||||
|
common.
|
||||||
|
|
||||||
Documentation
|
Documentation
|
||||||
-------------
|
-------------
|
||||||
@@ -304,5 +324,9 @@ in shaping what is a very successful library. Extra thanks to Yves
|
|||||||
Berquin and Andrew Ellerton who were key contributors.
|
Berquin and Andrew Ellerton who were key contributors.
|
||||||
|
|
||||||
TinyXML-2 grew from that effort. Lee Thomason is the original author
|
TinyXML-2 grew from that effort. Lee Thomason is the original author
|
||||||
of TinyXML-2 (and TinyXML-1) but hopefully TinyXML-2 will be improved
|
of TinyXML-2 (and TinyXML-1) but TinyXML-2 has been and is being improved
|
||||||
by many contributors.
|
by many contributors.
|
||||||
|
|
||||||
|
Thanks to John Mackay at http://john.mackay.rosalilastudio.com for the TinyXML-2 logo!
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
0
resources/empty.xml
Normal file
0
resources/empty.xml
Normal file
@@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
import re
|
import re
|
||||||
import sys
|
import sys
|
||||||
|
import optparse
|
||||||
|
|
||||||
def fileProcess( name, lineFunction ):
|
def fileProcess( name, lineFunction ):
|
||||||
filestream = open( name, 'r' )
|
filestream = open( name, 'r' )
|
||||||
@@ -25,16 +26,21 @@ def fileProcess( name, lineFunction ):
|
|||||||
filestream.write( output );
|
filestream.write( output );
|
||||||
filestream.close()
|
filestream.close()
|
||||||
|
|
||||||
|
|
||||||
def echoInput( line ):
|
def echoInput( line ):
|
||||||
return line
|
return line
|
||||||
|
|
||||||
major = input( "Major: " )
|
parser = optparse.OptionParser( "usage: %prog major minor build" )
|
||||||
minor = input( "Minor: " )
|
(options, args) = parser.parse_args()
|
||||||
build = input( "Build: " )
|
if len(args) != 3:
|
||||||
|
parser.error( "incorrect number of arguments" );
|
||||||
|
|
||||||
print "Setting dox,tinyxml2.h"
|
major = args[0]
|
||||||
print "Version: " + `major` + "." + `minor` + "." + `build`
|
minor = args[1]
|
||||||
|
build = args[2]
|
||||||
|
versionStr = major + "." + minor + "." + build
|
||||||
|
|
||||||
|
print ("Setting dox,tinyxml2.h")
|
||||||
|
print ("Version: " + major + "." + minor + "." + build)
|
||||||
|
|
||||||
#### Write the tinyxml.h ####
|
#### Write the tinyxml.h ####
|
||||||
|
|
||||||
@@ -45,16 +51,16 @@ def engineRule( line ):
|
|||||||
matchBuild = "static const int TIXML2_PATCH_VERSION"
|
matchBuild = "static const int TIXML2_PATCH_VERSION"
|
||||||
|
|
||||||
if line[0:len(matchMajor)] == matchMajor:
|
if line[0:len(matchMajor)] == matchMajor:
|
||||||
print "1)tinyxml2.h Major found"
|
print( "1)tinyxml2.h Major found" )
|
||||||
return matchMajor + " = " + `major` + ";\n"
|
return matchMajor + " = " + major + ";\n"
|
||||||
|
|
||||||
elif line[0:len(matchMinor)] == matchMinor:
|
elif line[0:len(matchMinor)] == matchMinor:
|
||||||
print "2)tinyxml2.h Minor found"
|
print( "2)tinyxml2.h Minor found" )
|
||||||
return matchMinor + " = " + `minor` + ";\n"
|
return matchMinor + " = " + minor + ";\n"
|
||||||
|
|
||||||
elif line[0:len(matchBuild)] == matchBuild:
|
elif line[0:len(matchBuild)] == matchBuild:
|
||||||
print "3)tinyxml2.h Build found"
|
print( "3)tinyxml2.h Build found" )
|
||||||
return matchBuild + " = " + `build` + ";\n"
|
return matchBuild + " = " + build + ";\n"
|
||||||
|
|
||||||
else:
|
else:
|
||||||
return line;
|
return line;
|
||||||
@@ -69,8 +75,8 @@ def doxRule( line ):
|
|||||||
match = "PROJECT_NUMBER"
|
match = "PROJECT_NUMBER"
|
||||||
|
|
||||||
if line[0:len( match )] == match:
|
if line[0:len( match )] == match:
|
||||||
print "dox project found"
|
print( "dox project found" )
|
||||||
return "PROJECT_NUMBER = " + `major` + "." + `minor` + "." + `build` + "\n"
|
return "PROJECT_NUMBER = " + major + "." + minor + "." + build + "\n"
|
||||||
|
|
||||||
else:
|
else:
|
||||||
return line;
|
return line;
|
||||||
@@ -85,8 +91,8 @@ def cmakeRule1( line ):
|
|||||||
matchVersion = "set(GENERIC_LIB_VERSION"
|
matchVersion = "set(GENERIC_LIB_VERSION"
|
||||||
|
|
||||||
if line[0:len(matchVersion)] == matchVersion:
|
if line[0:len(matchVersion)] == matchVersion:
|
||||||
print "1)tinyxml2.h Major found"
|
print( "1)tinyxml2.h Major found" )
|
||||||
return matchVersion + " \"" + `major` + "." + `minor` + "." + `build` + "\")" + "\n"
|
return matchVersion + " \"" + major + "." + minor + "." + build + "\")" + "\n"
|
||||||
|
|
||||||
else:
|
else:
|
||||||
return line;
|
return line;
|
||||||
@@ -98,10 +104,20 @@ def cmakeRule2( line ):
|
|||||||
matchSoversion = "set(GENERIC_LIB_SOVERSION"
|
matchSoversion = "set(GENERIC_LIB_SOVERSION"
|
||||||
|
|
||||||
if line[0:len(matchSoversion)] == matchSoversion:
|
if line[0:len(matchSoversion)] == matchSoversion:
|
||||||
print "1)tinyxml2.h Major found"
|
print( "1)tinyxml2.h Major found" )
|
||||||
return matchSoversion + " \"" + `major` + "\")" + "\n"
|
return matchSoversion + " \"" + major + "\")" + "\n"
|
||||||
|
|
||||||
else:
|
else:
|
||||||
return line;
|
return line;
|
||||||
|
|
||||||
fileProcess( "CMakeLists.txt", cmakeRule2 )
|
fileProcess( "CMakeLists.txt", cmakeRule2 )
|
||||||
|
|
||||||
|
print( "Release note:" )
|
||||||
|
print( '1. Build. g++ -Wall -DDEBUG tinyxml2.cpp xmltest.cpp -o gccxmltest.exe' )
|
||||||
|
print( '2. Commit. git commit -am"setting the version to ' + versionStr + '"' )
|
||||||
|
print( '3. Tag. git tag ' + versionStr )
|
||||||
|
print( ' OR git tag -a ' + versionStr + ' -m [tag message]' )
|
||||||
|
print( 'Remember to "git push" both code and tag. For the tag:' )
|
||||||
|
print( 'git push origin [tagname]')
|
||||||
|
|
||||||
|
|
||||||
1526
tinyxml2.cpp
1526
tinyxml2.cpp
File diff suppressed because it is too large
Load Diff
1080
tinyxml2.h
1080
tinyxml2.h
File diff suppressed because it is too large
Load Diff
26
tinyxml2.sln
26
tinyxml2.sln
@@ -1,26 +0,0 @@
|
|||||||
|
|
||||||
Microsoft Visual Studio Solution File, Format Version 11.00
|
|
||||||
# Visual C++ Express 2010
|
|
||||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinyxml2", "tinyxml2\tinyxml2.vcxproj", "{16A1D446-5415-444E-A7B4-F35B7DA7EE8C}"
|
|
||||||
EndProject
|
|
||||||
Global
|
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
|
||||||
Debug|Win32 = Debug|Win32
|
|
||||||
Debug|x64 = Debug|x64
|
|
||||||
Release|Win32 = Release|Win32
|
|
||||||
Release|x64 = Release|x64
|
|
||||||
EndGlobalSection
|
|
||||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
|
||||||
{16A1D446-5415-444E-A7B4-F35B7DA7EE8C}.Debug|Win32.ActiveCfg = Debug|Win32
|
|
||||||
{16A1D446-5415-444E-A7B4-F35B7DA7EE8C}.Debug|Win32.Build.0 = Debug|Win32
|
|
||||||
{16A1D446-5415-444E-A7B4-F35B7DA7EE8C}.Debug|x64.ActiveCfg = Debug|x64
|
|
||||||
{16A1D446-5415-444E-A7B4-F35B7DA7EE8C}.Debug|x64.Build.0 = Debug|x64
|
|
||||||
{16A1D446-5415-444E-A7B4-F35B7DA7EE8C}.Release|Win32.ActiveCfg = Release|Win32
|
|
||||||
{16A1D446-5415-444E-A7B4-F35B7DA7EE8C}.Release|Win32.Build.0 = Release|Win32
|
|
||||||
{16A1D446-5415-444E-A7B4-F35B7DA7EE8C}.Release|x64.ActiveCfg = Release|x64
|
|
||||||
{16A1D446-5415-444E-A7B4-F35B7DA7EE8C}.Release|x64.Build.0 = Release|x64
|
|
||||||
EndGlobalSection
|
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
|
||||||
HideSolutionNode = FALSE
|
|
||||||
EndGlobalSection
|
|
||||||
EndGlobal
|
|
||||||
352
tinyxml2/test.vcxproj
Normal file
352
tinyxml2/test.vcxproj
Normal file
@@ -0,0 +1,352 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
|
<ProjectConfiguration Include="Debug-Dll|Win32">
|
||||||
|
<Configuration>Debug-Dll</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug-Dll|x64">
|
||||||
|
<Configuration>Debug-Dll</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug-Lib|Win32">
|
||||||
|
<Configuration>Debug-Lib</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Debug-Lib|x64">
|
||||||
|
<Configuration>Debug-Lib</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release-Dll|Win32">
|
||||||
|
<Configuration>Release-Dll</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release-Dll|x64">
|
||||||
|
<Configuration>Release-Dll</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release-Lib|Win32">
|
||||||
|
<Configuration>Release-Lib</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release-Lib|x64">
|
||||||
|
<Configuration>Release-Lib</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
</ItemGroup>
|
||||||
|
<PropertyGroup Label="Globals">
|
||||||
|
<ProjectGuid>{E8FB2712-8666-4662-A5B8-2B5B0FB1A260}</ProjectGuid>
|
||||||
|
<RootNamespace>test</RootNamespace>
|
||||||
|
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Lib|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v140</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Lib|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v140</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Dll|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v140</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Dll|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v140</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-Lib|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v140</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-Lib|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v140</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-Dll|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v140</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-Dll|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>Application</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v140</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
</PropertyGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
|
<ImportGroup Label="ExtensionSettings">
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug-Lib|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Lib|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Dll|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Dll|x64'" Label="PropertySheets">
|
||||||
|
<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-Lib|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release-Lib|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release-Dll|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release-Dll|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<PropertyGroup Label="UserMacros" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Dll|Win32'" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Dll|Win32'">
|
||||||
|
<IntDir>$(SolutionDir)temp\$(ProjectName)\$(Platform)-$(Configuration)\</IntDir>
|
||||||
|
<OutDir>$(SolutionDir)$(Configuration)\</OutDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Lib|Win32'" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Lib|Win32'">
|
||||||
|
<IntDir>$(SolutionDir)temp\$(ProjectName)\$(Platform)-$(Configuration)\</IntDir>
|
||||||
|
<OutDir>$(SolutionDir)$(Configuration)\</OutDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-Dll|Win32'" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-Dll|Win32'">
|
||||||
|
<IntDir>$(SolutionDir)temp\$(ProjectName)\$(Platform)-$(Configuration)\</IntDir>
|
||||||
|
<OutDir>$(SolutionDir)$(Configuration)\</OutDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-Lib|Win32'" />
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-Lib|Win32'">
|
||||||
|
<IntDir>$(SolutionDir)temp\$(ProjectName)\$(Platform)-$(Configuration)\</IntDir>
|
||||||
|
<OutDir>$(SolutionDir)$(Configuration)\</OutDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Dll|x64'">
|
||||||
|
<OutDir>$(SolutionDir)bin\$(ProjectName)\$(Platform)-$(Configuration)\</OutDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Dll|x64'">
|
||||||
|
<IntDir>$(SolutionDir)temp\$(ProjectName)\$(Platform)-$(Configuration)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Lib|x64'">
|
||||||
|
<OutDir>$(SolutionDir)bin\$(ProjectName)\$(Platform)-$(Configuration)\</OutDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Lib|x64'">
|
||||||
|
<IntDir>$(SolutionDir)temp\$(ProjectName)\$(Platform)-$(Configuration)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-Dll|x64'">
|
||||||
|
<OutDir>$(SolutionDir)bin\$(ProjectName)\$(Platform)-$(Configuration)\</OutDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-Dll|x64'">
|
||||||
|
<IntDir>$(SolutionDir)temp\$(ProjectName)\$(Platform)-$(Configuration)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-Lib|x64'">
|
||||||
|
<OutDir>$(SolutionDir)bin\$(ProjectName)\$(Platform)-$(Configuration)\</OutDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-Lib|x64'">
|
||||||
|
<IntDir>$(SolutionDir)temp\$(ProjectName)\$(Platform)-$(Configuration)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Lib|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Lib|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Dll|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>TINYXML2_IMPORT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Dll|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>TINYXML2_IMPORT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-Lib|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-Lib|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-Dll|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
|
||||||
|
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
||||||
|
<OmitFramePointers>true</OmitFramePointers>
|
||||||
|
<EnableFiberSafeOptimizations>true</EnableFiberSafeOptimizations>
|
||||||
|
<StringPooling>true</StringPooling>
|
||||||
|
<PreprocessorDefinitions>TINYXML2_IMPORT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<GenerateDebugInformation>false</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<SetChecksum>true</SetChecksum>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-Dll|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
|
||||||
|
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
||||||
|
<OmitFramePointers>true</OmitFramePointers>
|
||||||
|
<EnableFiberSafeOptimizations>true</EnableFiberSafeOptimizations>
|
||||||
|
<StringPooling>true</StringPooling>
|
||||||
|
<PreprocessorDefinitions>TINYXML2_IMPORT;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<GenerateDebugInformation>false</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<SetChecksum>true</SetChecksum>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
|
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
||||||
|
<OmitFramePointers>true</OmitFramePointers>
|
||||||
|
<EnableFiberSafeOptimizations>true</EnableFiberSafeOptimizations>
|
||||||
|
<StringPooling>true</StringPooling>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<GenerateDebugInformation>false</GenerateDebugInformation>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<SetChecksum>true</SetChecksum>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
|
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
||||||
|
<OmitFramePointers>true</OmitFramePointers>
|
||||||
|
<EnableFiberSafeOptimizations>true</EnableFiberSafeOptimizations>
|
||||||
|
<StringPooling>true</StringPooling>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<GenerateDebugInformation>false</GenerateDebugInformation>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<SetChecksum>true</SetChecksum>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\xmltest.cpp" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="tinyxml2.vcxproj">
|
||||||
|
<Project>{d1c528b6-aa02-4d29-9d61-dc08e317a70d}</Project>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
|
<ImportGroup Label="ExtensionTargets">
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
6
tinyxml2/test.vcxproj.filters
Normal file
6
tinyxml2/test.vcxproj.filters
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ItemGroup>
|
||||||
|
<ClCompile Include="..\xmltest.cpp" />
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
3
tinyxml2/tinyxml2-cbp/README
Normal file
3
tinyxml2/tinyxml2-cbp/README
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
The (default) Release configuration of this project builds a ready to use static library.
|
||||||
|
The Debug configuration of this project builds an executable console application that
|
||||||
|
executes all tests provided for tinyxml2 in the xmltest.cpp file.
|
||||||
49
tinyxml2/tinyxml2-cbp/tinyxml2-cbp.cbp
Normal file
49
tinyxml2/tinyxml2-cbp/tinyxml2-cbp.cbp
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
|
||||||
|
<CodeBlocks_project_file>
|
||||||
|
<FileVersion major="1" minor="6" />
|
||||||
|
<Project>
|
||||||
|
<Option title="tinyxml2-cbp" />
|
||||||
|
<Option execution_dir="../" />
|
||||||
|
<Option pch_mode="2" />
|
||||||
|
<Option compiler="gcc" />
|
||||||
|
<Build>
|
||||||
|
<Target title="Release">
|
||||||
|
<Option output="bin/Release/tinyxml2" prefix_auto="1" extension_auto="1" />
|
||||||
|
<Option working_dir="" />
|
||||||
|
<Option object_output="obj/Release/" />
|
||||||
|
<Option type="2" />
|
||||||
|
<Option compiler="gcc" />
|
||||||
|
<Compiler>
|
||||||
|
<Add option="-O2" />
|
||||||
|
</Compiler>
|
||||||
|
<Linker>
|
||||||
|
<Add option="-s" />
|
||||||
|
</Linker>
|
||||||
|
</Target>
|
||||||
|
<Target title="Debug">
|
||||||
|
<Option output="bin/Debug/tinyxml2-cbp" prefix_auto="1" extension_auto="1" />
|
||||||
|
<Option working_dir="../../" />
|
||||||
|
<Option object_output="obj/Debug/" />
|
||||||
|
<Option type="1" />
|
||||||
|
<Option compiler="gcc" />
|
||||||
|
<Compiler>
|
||||||
|
<Add option="-g" />
|
||||||
|
</Compiler>
|
||||||
|
</Target>
|
||||||
|
</Build>
|
||||||
|
<Compiler>
|
||||||
|
<Add option="-Wall" />
|
||||||
|
</Compiler>
|
||||||
|
<Unit filename="../../tinyxml2.cpp" />
|
||||||
|
<Unit filename="../../tinyxml2.h" />
|
||||||
|
<Unit filename="../../xmltest.cpp">
|
||||||
|
<Option target="Debug" />
|
||||||
|
</Unit>
|
||||||
|
<Extensions>
|
||||||
|
<code_completion />
|
||||||
|
<envvars />
|
||||||
|
<debugger />
|
||||||
|
<lib_finder disable_auto="1" />
|
||||||
|
</Extensions>
|
||||||
|
</Project>
|
||||||
|
</CodeBlocks_project_file>
|
||||||
56
tinyxml2/tinyxml2.sln
Executable file
56
tinyxml2/tinyxml2.sln
Executable file
@@ -0,0 +1,56 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 11.00
|
||||||
|
# Visual Studio 2010
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "tinyxml2", "tinyxml2.vcxproj", "{D1C528B6-AA02-4D29-9D61-DC08E317A70D}"
|
||||||
|
EndProject
|
||||||
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "test", "test.vcxproj", "{E8FB2712-8666-4662-A5B8-2B5B0FB1A260}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug-Dll|Win32 = Debug-Dll|Win32
|
||||||
|
Debug-Dll|x64 = Debug-Dll|x64
|
||||||
|
Debug-Lib|Win32 = Debug-Lib|Win32
|
||||||
|
Debug-Lib|x64 = Debug-Lib|x64
|
||||||
|
Release-Dll|Win32 = Release-Dll|Win32
|
||||||
|
Release-Dll|x64 = Release-Dll|x64
|
||||||
|
Release-Lib|Win32 = Release-Lib|Win32
|
||||||
|
Release-Lib|x64 = Release-Lib|x64
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{D1C528B6-AA02-4D29-9D61-DC08E317A70D}.Debug-Dll|Win32.ActiveCfg = Debug-Dll|Win32
|
||||||
|
{D1C528B6-AA02-4D29-9D61-DC08E317A70D}.Debug-Dll|Win32.Build.0 = Debug-Dll|Win32
|
||||||
|
{D1C528B6-AA02-4D29-9D61-DC08E317A70D}.Debug-Dll|x64.ActiveCfg = Debug-Dll|x64
|
||||||
|
{D1C528B6-AA02-4D29-9D61-DC08E317A70D}.Debug-Dll|x64.Build.0 = Debug-Dll|x64
|
||||||
|
{D1C528B6-AA02-4D29-9D61-DC08E317A70D}.Debug-Lib|Win32.ActiveCfg = Debug-Lib|Win32
|
||||||
|
{D1C528B6-AA02-4D29-9D61-DC08E317A70D}.Debug-Lib|Win32.Build.0 = Debug-Lib|Win32
|
||||||
|
{D1C528B6-AA02-4D29-9D61-DC08E317A70D}.Debug-Lib|x64.ActiveCfg = Debug-Lib|x64
|
||||||
|
{D1C528B6-AA02-4D29-9D61-DC08E317A70D}.Debug-Lib|x64.Build.0 = Debug-Lib|x64
|
||||||
|
{D1C528B6-AA02-4D29-9D61-DC08E317A70D}.Release-Dll|Win32.ActiveCfg = Release-Dll|Win32
|
||||||
|
{D1C528B6-AA02-4D29-9D61-DC08E317A70D}.Release-Dll|Win32.Build.0 = Release-Dll|Win32
|
||||||
|
{D1C528B6-AA02-4D29-9D61-DC08E317A70D}.Release-Dll|x64.ActiveCfg = Release-Dll|x64
|
||||||
|
{D1C528B6-AA02-4D29-9D61-DC08E317A70D}.Release-Dll|x64.Build.0 = Release-Dll|x64
|
||||||
|
{D1C528B6-AA02-4D29-9D61-DC08E317A70D}.Release-Lib|Win32.ActiveCfg = Release-Lib|Win32
|
||||||
|
{D1C528B6-AA02-4D29-9D61-DC08E317A70D}.Release-Lib|Win32.Build.0 = Release-Lib|Win32
|
||||||
|
{D1C528B6-AA02-4D29-9D61-DC08E317A70D}.Release-Lib|x64.ActiveCfg = Release-Lib|x64
|
||||||
|
{D1C528B6-AA02-4D29-9D61-DC08E317A70D}.Release-Lib|x64.Build.0 = Release-Lib|x64
|
||||||
|
{E8FB2712-8666-4662-A5B8-2B5B0FB1A260}.Debug-Dll|Win32.ActiveCfg = Debug-Dll|Win32
|
||||||
|
{E8FB2712-8666-4662-A5B8-2B5B0FB1A260}.Debug-Dll|Win32.Build.0 = Debug-Dll|Win32
|
||||||
|
{E8FB2712-8666-4662-A5B8-2B5B0FB1A260}.Debug-Dll|x64.ActiveCfg = Debug-Dll|x64
|
||||||
|
{E8FB2712-8666-4662-A5B8-2B5B0FB1A260}.Debug-Dll|x64.Build.0 = Debug-Dll|x64
|
||||||
|
{E8FB2712-8666-4662-A5B8-2B5B0FB1A260}.Debug-Lib|Win32.ActiveCfg = Debug-Lib|Win32
|
||||||
|
{E8FB2712-8666-4662-A5B8-2B5B0FB1A260}.Debug-Lib|Win32.Build.0 = Debug-Lib|Win32
|
||||||
|
{E8FB2712-8666-4662-A5B8-2B5B0FB1A260}.Debug-Lib|x64.ActiveCfg = Debug-Lib|x64
|
||||||
|
{E8FB2712-8666-4662-A5B8-2B5B0FB1A260}.Debug-Lib|x64.Build.0 = Debug-Lib|x64
|
||||||
|
{E8FB2712-8666-4662-A5B8-2B5B0FB1A260}.Release-Dll|Win32.ActiveCfg = Release-Dll|Win32
|
||||||
|
{E8FB2712-8666-4662-A5B8-2B5B0FB1A260}.Release-Dll|Win32.Build.0 = Release-Dll|Win32
|
||||||
|
{E8FB2712-8666-4662-A5B8-2B5B0FB1A260}.Release-Dll|x64.ActiveCfg = Release-Dll|x64
|
||||||
|
{E8FB2712-8666-4662-A5B8-2B5B0FB1A260}.Release-Dll|x64.Build.0 = Release-Dll|x64
|
||||||
|
{E8FB2712-8666-4662-A5B8-2B5B0FB1A260}.Release-Lib|Win32.ActiveCfg = Release-Lib|Win32
|
||||||
|
{E8FB2712-8666-4662-A5B8-2B5B0FB1A260}.Release-Lib|Win32.Build.0 = Release-Lib|Win32
|
||||||
|
{E8FB2712-8666-4662-A5B8-2B5B0FB1A260}.Release-Lib|x64.ActiveCfg = Release-Lib|x64
|
||||||
|
{E8FB2712-8666-4662-A5B8-2B5B0FB1A260}.Release-Lib|x64.Build.0 = Release-Lib|x64
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
||||||
360
tinyxml2/tinyxml2.vcxproj
Normal file → Executable file
360
tinyxml2/tinyxml2.vcxproj
Normal file → Executable file
@@ -1,160 +1,392 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<ItemGroup Label="ProjectConfigurations">
|
<ItemGroup Label="ProjectConfigurations">
|
||||||
<ProjectConfiguration Include="Debug|Win32">
|
<ProjectConfiguration Include="Debug-Dll|Win32">
|
||||||
<Configuration>Debug</Configuration>
|
<Configuration>Debug-Dll</Configuration>
|
||||||
<Platform>Win32</Platform>
|
<Platform>Win32</Platform>
|
||||||
</ProjectConfiguration>
|
</ProjectConfiguration>
|
||||||
<ProjectConfiguration Include="Debug|x64">
|
<ProjectConfiguration Include="Debug-Dll|x64">
|
||||||
<Configuration>Debug</Configuration>
|
<Configuration>Debug-Dll</Configuration>
|
||||||
<Platform>x64</Platform>
|
<Platform>x64</Platform>
|
||||||
</ProjectConfiguration>
|
</ProjectConfiguration>
|
||||||
<ProjectConfiguration Include="Release|Win32">
|
<ProjectConfiguration Include="Debug-Lib|Win32">
|
||||||
<Configuration>Release</Configuration>
|
<Configuration>Debug-Lib</Configuration>
|
||||||
<Platform>Win32</Platform>
|
<Platform>Win32</Platform>
|
||||||
</ProjectConfiguration>
|
</ProjectConfiguration>
|
||||||
<ProjectConfiguration Include="Release|x64">
|
<ProjectConfiguration Include="Debug-Lib|x64">
|
||||||
<Configuration>Release</Configuration>
|
<Configuration>Debug-Lib</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release-Dll|Win32">
|
||||||
|
<Configuration>Release-Dll</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release-Dll|x64">
|
||||||
|
<Configuration>Release-Dll</Configuration>
|
||||||
|
<Platform>x64</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release-Lib|Win32">
|
||||||
|
<Configuration>Release-Lib</Configuration>
|
||||||
|
<Platform>Win32</Platform>
|
||||||
|
</ProjectConfiguration>
|
||||||
|
<ProjectConfiguration Include="Release-Lib|x64">
|
||||||
|
<Configuration>Release-Lib</Configuration>
|
||||||
<Platform>x64</Platform>
|
<Platform>x64</Platform>
|
||||||
</ProjectConfiguration>
|
</ProjectConfiguration>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<PropertyGroup Label="Globals">
|
<PropertyGroup Label="Globals">
|
||||||
<ProjectGuid>{16A1D446-5415-444E-A7B4-F35B7DA7EE8C}</ProjectGuid>
|
<ProjectGuid>{D1C528B6-AA02-4D29-9D61-DC08E317A70D}</ProjectGuid>
|
||||||
<Keyword>Win32Proj</Keyword>
|
<Keyword>Win32Proj</Keyword>
|
||||||
<RootNamespace>tinyxml2</RootNamespace>
|
<RootNamespace>tinyxml2</RootNamespace>
|
||||||
<VCTargetsPath Condition="'$(VCTargetsPath11)' != '' and '$(VSVersion)' == '' and $(VisualStudioVersion) == ''">$(VCTargetsPath11)</VCTargetsPath>
|
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Lib|Win32'" Label="Configuration">
|
||||||
<ConfigurationType>Application</ConfigurationType>
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
<UseDebugLibraries>true</UseDebugLibraries>
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
<CharacterSet>Unicode</CharacterSet>
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v140</PlatformToolset>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Dll|Win32'" Label="Configuration">
|
||||||
<ConfigurationType>Application</ConfigurationType>
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
<UseDebugLibraries>true</UseDebugLibraries>
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
<CharacterSet>Unicode</CharacterSet>
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v140</PlatformToolset>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Lib|x64'" Label="Configuration">
|
||||||
<ConfigurationType>Application</ConfigurationType>
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v140</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Dll|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
|
<UseDebugLibraries>true</UseDebugLibraries>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v140</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-Lib|Win32'" Label="Configuration">
|
||||||
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
<UseDebugLibraries>false</UseDebugLibraries>
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
<CharacterSet>Unicode</CharacterSet>
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v140</PlatformToolset>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-Dll|Win32'" Label="Configuration">
|
||||||
<ConfigurationType>Application</ConfigurationType>
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
<UseDebugLibraries>false</UseDebugLibraries>
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
<CharacterSet>Unicode</CharacterSet>
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v140</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-Lib|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v140</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-Dll|x64'" Label="Configuration">
|
||||||
|
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
||||||
|
<UseDebugLibraries>false</UseDebugLibraries>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
<PlatformToolset>v140</PlatformToolset>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<ConfigurationType>StaticLibrary</ConfigurationType>
|
||||||
|
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||||
|
<CharacterSet>Unicode</CharacterSet>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
||||||
<ImportGroup Label="ExtensionSettings">
|
<ImportGroup Label="ExtensionSettings">
|
||||||
</ImportGroup>
|
</ImportGroup>
|
||||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug-Lib|Win32'">
|
||||||
<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" />
|
||||||
</ImportGroup>
|
</ImportGroup>
|
||||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Dll|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" />
|
||||||
</ImportGroup>
|
</ImportGroup>
|
||||||
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Lib|x64'" 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" />
|
||||||
</ImportGroup>
|
</ImportGroup>
|
||||||
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Dll|x64'" Label="PropertySheets">
|
||||||
|
<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-Lib|Win32'">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release-Dll|Win32'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release-Lib|x64'" Label="PropertySheets">
|
||||||
|
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
||||||
|
</ImportGroup>
|
||||||
|
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release-Dll|x64'" 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" />
|
||||||
</ImportGroup>
|
</ImportGroup>
|
||||||
<PropertyGroup Label="UserMacros" />
|
<PropertyGroup Label="UserMacros" />
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Lib|Win32'">
|
||||||
<LinkIncremental>true</LinkIncremental>
|
<LinkIncremental>true</LinkIncremental>
|
||||||
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
<OutDir>$(SolutionDir)$(Configuration)\</OutDir>
|
||||||
<IntDir>$(Platform)\$(Configuration)\</IntDir>
|
<IntDir>$(SolutionDir)temp\$(ProjectName)\$(Platform)-$(Configuration)\</IntDir>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Dll|Win32'">
|
||||||
<LinkIncremental>true</LinkIncremental>
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<OutDir>$(SolutionDir)$(Configuration)\</OutDir>
|
||||||
|
<IntDir>$(SolutionDir)temp\$(ProjectName)\$(Platform)-$(Configuration)\</IntDir>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Lib|x64'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<OutDir>$(SolutionDir)bin\$(ProjectName)\$(Platform)-$(Configuration)\</OutDir>
|
||||||
|
<IntDir>$(SolutionDir)temp\$(ProjectName)\$(Platform)-$(Configuration)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Dll|x64'">
|
||||||
|
<LinkIncremental>true</LinkIncremental>
|
||||||
|
<OutDir>$(SolutionDir)bin\$(ProjectName)\$(Platform)-$(Configuration)\</OutDir>
|
||||||
|
<IntDir>$(SolutionDir)temp\$(ProjectName)\$(Platform)-$(Configuration)\</IntDir>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-Lib|Win32'">
|
||||||
<LinkIncremental>false</LinkIncremental>
|
<LinkIncremental>false</LinkIncremental>
|
||||||
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
|
<OutDir>$(SolutionDir)$(Configuration)\</OutDir>
|
||||||
<IntDir>$(Platform)\$(Configuration)\</IntDir>
|
<IntDir>$(SolutionDir)temp\$(ProjectName)\$(Platform)-$(Configuration)\</IntDir>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-Dll|Win32'">
|
||||||
<LinkIncremental>false</LinkIncremental>
|
<LinkIncremental>false</LinkIncremental>
|
||||||
|
<OutDir>$(SolutionDir)$(Configuration)\</OutDir>
|
||||||
|
<IntDir>$(SolutionDir)temp\$(ProjectName)\$(Platform)-$(Configuration)\</IntDir>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-Lib|x64'">
|
||||||
<ClCompile>
|
<LinkIncremental>false</LinkIncremental>
|
||||||
<PrecompiledHeader>
|
<OutDir>$(SolutionDir)bin\$(ProjectName)\$(Platform)-$(Configuration)\</OutDir>
|
||||||
</PrecompiledHeader>
|
<IntDir>$(SolutionDir)temp\$(ProjectName)\$(Platform)-$(Configuration)\</IntDir>
|
||||||
<WarningLevel>Level4</WarningLevel>
|
</PropertyGroup>
|
||||||
<Optimization>Disabled</Optimization>
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-Dll|x64'">
|
||||||
<PreprocessorDefinitions>;_CONSOLE;WIN32;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<LinkIncremental>false</LinkIncremental>
|
||||||
<ExceptionHandling>false</ExceptionHandling>
|
<OutDir>$(SolutionDir)bin\$(ProjectName)\$(Platform)-$(Configuration)\</OutDir>
|
||||||
</ClCompile>
|
<IntDir>$(SolutionDir)temp\$(ProjectName)\$(Platform)-$(Configuration)\</IntDir>
|
||||||
<Link>
|
</PropertyGroup>
|
||||||
<SubSystem>Console</SubSystem>
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Lib|Win32'">
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
|
||||||
</Link>
|
|
||||||
</ItemDefinitionGroup>
|
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<PrecompiledHeader>
|
<PrecompiledHeader>
|
||||||
</PrecompiledHeader>
|
</PrecompiledHeader>
|
||||||
<WarningLevel>Level4</WarningLevel>
|
<WarningLevel>Level4</WarningLevel>
|
||||||
<Optimization>Disabled</Optimization>
|
<Optimization>Disabled</Optimization>
|
||||||
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<ExceptionHandling>false</ExceptionHandling>
|
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<SubSystem>Console</SubSystem>
|
<SubSystem>Console</SubSystem>
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
</Link>
|
</Link>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Dll|Win32'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<WarningLevel>Level3</WarningLevel>
|
|
||||||
<PrecompiledHeader>
|
<PrecompiledHeader>
|
||||||
</PrecompiledHeader>
|
</PrecompiledHeader>
|
||||||
<Optimization>MaxSpeed</Optimization>
|
<WarningLevel>Level4</WarningLevel>
|
||||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
<Optimization>Disabled</Optimization>
|
||||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
<PreprocessorDefinitions>WIN32;TINYXML2_EXPORT;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
</ClCompile>
|
||||||
<StringPooling>true</StringPooling>
|
<Link>
|
||||||
|
<SubSystem>NotSet</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Lib|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<PrecompiledHeader>
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<SubSystem>Console</SubSystem>
|
<SubSystem>Console</SubSystem>
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
|
||||||
<OptimizeReferences>true</OptimizeReferences>
|
|
||||||
</Link>
|
</Link>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-Dll|x64'">
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<WarningLevel>Level3</WarningLevel>
|
<PrecompiledHeader>
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
|
<Optimization>Disabled</Optimization>
|
||||||
|
<PreprocessorDefinitions>WIN32;TINYXML2_EXPORT;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>NotSet</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-Lib|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
<PrecompiledHeader>
|
<PrecompiledHeader>
|
||||||
</PrecompiledHeader>
|
</PrecompiledHeader>
|
||||||
<Optimization>MaxSpeed</Optimization>
|
<Optimization>MaxSpeed</Optimization>
|
||||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
|
||||||
|
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
||||||
|
<OmitFramePointers>true</OmitFramePointers>
|
||||||
|
<EnableFiberSafeOptimizations>true</EnableFiberSafeOptimizations>
|
||||||
<StringPooling>true</StringPooling>
|
<StringPooling>true</StringPooling>
|
||||||
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<SubSystem>Console</SubSystem>
|
<SubSystem>Console</SubSystem>
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
<OptimizeReferences>true</OptimizeReferences>
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<SetChecksum>true</SetChecksum>
|
||||||
</Link>
|
</Link>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-Dll|Win32'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
|
<PrecompiledHeader>
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>WIN32;TINYXML2_EXPORT;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
|
||||||
|
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
||||||
|
<OmitFramePointers>true</OmitFramePointers>
|
||||||
|
<EnableFiberSafeOptimizations>true</EnableFiberSafeOptimizations>
|
||||||
|
<StringPooling>true</StringPooling>
|
||||||
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>NotSet</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<SetChecksum>true</SetChecksum>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-Lib|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
|
<PrecompiledHeader>
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
|
||||||
|
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
||||||
|
<OmitFramePointers>true</OmitFramePointers>
|
||||||
|
<EnableFiberSafeOptimizations>true</EnableFiberSafeOptimizations>
|
||||||
|
<StringPooling>true</StringPooling>
|
||||||
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>Console</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<SetChecksum>true</SetChecksum>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-Dll|x64'">
|
||||||
|
<ClCompile>
|
||||||
|
<WarningLevel>Level4</WarningLevel>
|
||||||
|
<PrecompiledHeader>
|
||||||
|
</PrecompiledHeader>
|
||||||
|
<Optimization>MaxSpeed</Optimization>
|
||||||
|
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
<PreprocessorDefinitions>WIN32;TINYXML2_EXPORT;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
|
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
|
||||||
|
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
||||||
|
<OmitFramePointers>true</OmitFramePointers>
|
||||||
|
<EnableFiberSafeOptimizations>true</EnableFiberSafeOptimizations>
|
||||||
|
<StringPooling>true</StringPooling>
|
||||||
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||||
|
</ClCompile>
|
||||||
|
<Link>
|
||||||
|
<SubSystem>NotSet</SubSystem>
|
||||||
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||||
|
<OptimizeReferences>true</OptimizeReferences>
|
||||||
|
<SetChecksum>true</SetChecksum>
|
||||||
|
</Link>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
||||||
|
<Lib>
|
||||||
|
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
|
||||||
|
</Lib>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
||||||
|
<Lib>
|
||||||
|
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
|
||||||
|
</Lib>
|
||||||
|
<ClCompile>
|
||||||
|
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile>
|
||||||
|
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile>
|
||||||
|
<OmitFramePointers>true</OmitFramePointers>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile>
|
||||||
|
<EnableFiberSafeOptimizations>true</EnableFiberSafeOptimizations>
|
||||||
|
<StringPooling>true</StringPooling>
|
||||||
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||||
|
</ClCompile>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
||||||
|
<Lib>
|
||||||
|
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
|
||||||
|
</Lib>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
|
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
||||||
|
<Lib>
|
||||||
|
<IgnoreAllDefaultLibraries>true</IgnoreAllDefaultLibraries>
|
||||||
|
</Lib>
|
||||||
|
<ClCompile>
|
||||||
|
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile>
|
||||||
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile>
|
||||||
|
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile>
|
||||||
|
<OmitFramePointers>true</OmitFramePointers>
|
||||||
|
</ClCompile>
|
||||||
|
<ClCompile>
|
||||||
|
<EnableFiberSafeOptimizations>true</EnableFiberSafeOptimizations>
|
||||||
|
<StringPooling>true</StringPooling>
|
||||||
|
<BufferSecurityCheck>false</BufferSecurityCheck>
|
||||||
|
</ClCompile>
|
||||||
|
</ItemDefinitionGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="..\tinyxml2.cpp" />
|
<ClCompile Include="..\tinyxml2.cpp" />
|
||||||
<ClCompile Include="..\xmltest.cpp">
|
|
||||||
<PreprocessorDefinitions Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">_CRT_SECURE_NO_WARNINGS;_CONSOLE;WIN32;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
|
||||||
</ClCompile>
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClInclude Include="..\tinyxml2.h" />
|
<ClInclude Include="..\tinyxml2.h" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
|
||||||
<None Include="..\readme.md" />
|
|
||||||
</ItemGroup>
|
|
||||||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
||||||
<ImportGroup Label="ExtensionTargets">
|
<ImportGroup Label="ExtensionTargets">
|
||||||
</ImportGroup>
|
</ImportGroup>
|
||||||
|
|||||||
22
tinyxml2/tinyxml2.vcxproj.filters
Normal file → Executable file
22
tinyxml2/tinyxml2.vcxproj.filters
Normal file → Executable file
@@ -1,27 +1,9 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Filter Include="Source Files">
|
<ClCompile Include="..\tinyxml2.cpp" />
|
||||||
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
|
|
||||||
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
|
|
||||||
</Filter>
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ClCompile Include="..\xmltest.cpp">
|
<ClInclude Include="..\tinyxml2.h" />
|
||||||
<Filter>Source Files</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
<ClCompile Include="..\tinyxml2.cpp">
|
|
||||||
<Filter>Source Files</Filter>
|
|
||||||
</ClCompile>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<ClInclude Include="..\tinyxml2.h">
|
|
||||||
<Filter>Source Files</Filter>
|
|
||||||
</ClInclude>
|
|
||||||
</ItemGroup>
|
|
||||||
<ItemGroup>
|
|
||||||
<None Include="..\readme.md">
|
|
||||||
<Filter>Source Files</Filter>
|
|
||||||
</None>
|
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
@@ -96,6 +96,9 @@
|
|||||||
/* Begin PBXProject section */
|
/* Begin PBXProject section */
|
||||||
037AE058151CCC5200E0F29F /* Project object */ = {
|
037AE058151CCC5200E0F29F /* Project object */ = {
|
||||||
isa = PBXProject;
|
isa = PBXProject;
|
||||||
|
attributes = {
|
||||||
|
LastUpgradeCheck = 0610;
|
||||||
|
};
|
||||||
buildConfigurationList = 037AE05B151CCC5200E0F29F /* Build configuration list for PBXProject "tinyxml2" */;
|
buildConfigurationList = 037AE05B151CCC5200E0F29F /* Build configuration list for PBXProject "tinyxml2" */;
|
||||||
compatibilityVersion = "Xcode 3.2";
|
compatibilityVersion = "Xcode 3.2";
|
||||||
developmentRegion = English;
|
developmentRegion = English;
|
||||||
@@ -134,6 +137,8 @@
|
|||||||
buildSettings = {
|
buildSettings = {
|
||||||
CONFIGURATION_BUILD_DIR = "$(SYMROOT)/Debug";
|
CONFIGURATION_BUILD_DIR = "$(SYMROOT)/Debug";
|
||||||
COPY_PHASE_STRIP = NO;
|
COPY_PHASE_STRIP = NO;
|
||||||
|
"GCC_PREPROCESSOR_DEFINITIONS[arch=*]" = DEBUG;
|
||||||
|
ONLY_ACTIVE_ARCH = YES;
|
||||||
SYMROOT = build;
|
SYMROOT = build;
|
||||||
};
|
};
|
||||||
name = Debug;
|
name = Debug;
|
||||||
@@ -156,6 +161,7 @@
|
|||||||
GCC_MODEL_TUNING = G5;
|
GCC_MODEL_TUNING = G5;
|
||||||
GCC_OPTIMIZATION_LEVEL = 0;
|
GCC_OPTIMIZATION_LEVEL = 0;
|
||||||
INSTALL_PATH = /usr/local/bin;
|
INSTALL_PATH = /usr/local/bin;
|
||||||
|
MACOSX_DEPLOYMENT_TARGET = "";
|
||||||
PREBINDING = NO;
|
PREBINDING = NO;
|
||||||
PRODUCT_NAME = xmltest;
|
PRODUCT_NAME = xmltest;
|
||||||
};
|
};
|
||||||
@@ -171,6 +177,7 @@
|
|||||||
GCC_ENABLE_FIX_AND_CONTINUE = NO;
|
GCC_ENABLE_FIX_AND_CONTINUE = NO;
|
||||||
GCC_MODEL_TUNING = G5;
|
GCC_MODEL_TUNING = G5;
|
||||||
INSTALL_PATH = /usr/local/bin;
|
INSTALL_PATH = /usr/local/bin;
|
||||||
|
MACOSX_DEPLOYMENT_TARGET = "";
|
||||||
PREBINDING = NO;
|
PREBINDING = NO;
|
||||||
PRODUCT_NAME = tinyxml2;
|
PRODUCT_NAME = tinyxml2;
|
||||||
ZERO_LINK = NO;
|
ZERO_LINK = NO;
|
||||||
|
|||||||
1157
xmltest.cpp
1157
xmltest.cpp
File diff suppressed because it is too large
Load Diff
129
xmltest.h
129
xmltest.h
@@ -1,129 +0,0 @@
|
|||||||
// Purely doxygen documentation
|
|
||||||
|
|
||||||
|
|
||||||
// What follows is the docs for the examples.
|
|
||||||
// I'd like the docs to be just before the
|
|
||||||
// actual examples in xmltest.cpp, but I
|
|
||||||
// can't seem to get doxygen to do that. It
|
|
||||||
// would be a wonderful patch if anyone figures
|
|
||||||
// it out.
|
|
||||||
|
|
||||||
/** @page Example-1 Load an XML File
|
|
||||||
* @dontinclude ./xmltest.cpp
|
|
||||||
* Basic XML file loading.
|
|
||||||
* The basic syntax to load an XML file from
|
|
||||||
* disk and check for an error. (ErrorID()
|
|
||||||
* will return 0 for no error.)
|
|
||||||
* @skip example_1()
|
|
||||||
* @until }
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/** @page Example-2 Parse an XML from char buffer
|
|
||||||
* @dontinclude ./xmltest.cpp
|
|
||||||
* Basic XML string parsing.
|
|
||||||
* The basic syntax to parse an XML for
|
|
||||||
* a char* and check for an error. (ErrorID()
|
|
||||||
* will return 0 for no error.)
|
|
||||||
* @skip example_2()
|
|
||||||
* @until }
|
|
||||||
*/
|
|
||||||
|
|
||||||
/** @page Example-3 Get information out of XML
|
|
||||||
@dontinclude ./xmltest.cpp
|
|
||||||
In this example, we navigate a simple XML
|
|
||||||
file, and read some interesting text. Note
|
|
||||||
that this is examlpe doesn't use error
|
|
||||||
checking; working code should check for null
|
|
||||||
pointers when walking an XML tree, or use
|
|
||||||
XMLHandle.
|
|
||||||
|
|
||||||
(The XML is an excerpt from "dream.xml").
|
|
||||||
|
|
||||||
@skip example_3
|
|
||||||
@until </PLAY>";
|
|
||||||
|
|
||||||
The structure of the XML file is:
|
|
||||||
|
|
||||||
<ul>
|
|
||||||
<li>(declaration)</li>
|
|
||||||
<li>(dtd stuff)</li>
|
|
||||||
<li>Element "PLAY"</li>
|
|
||||||
<ul>
|
|
||||||
<li>Element "TITLE"</li>
|
|
||||||
<ul>
|
|
||||||
<li>Text "A Midsummer Night's Dream"</li>
|
|
||||||
</ul>
|
|
||||||
</ul>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
For this example, we want to print out the
|
|
||||||
title of the play. The text of the title (what
|
|
||||||
we want) is child of the "TITLE" element which
|
|
||||||
is a child of the "PLAY" element.
|
|
||||||
|
|
||||||
We want to skip the declaration and dtd, so the
|
|
||||||
method FirstChildElement() is a good choice. The
|
|
||||||
FirstChildElement() of the Document is the "PLAY"
|
|
||||||
Element, the FirstChildElement() of the "PLAY" Element
|
|
||||||
is the "TITLE" Element.
|
|
||||||
|
|
||||||
@until ( "TITLE" );
|
|
||||||
|
|
||||||
We can then use the convenience function GetText()
|
|
||||||
to get the title of the play.
|
|
||||||
|
|
||||||
@until title );
|
|
||||||
|
|
||||||
Text is just another Node in the XML DOM. And in
|
|
||||||
fact you should be a little cautious with it, as
|
|
||||||
text nodes can contain elements.
|
|
||||||
|
|
||||||
@verbatim
|
|
||||||
Consider: A Midsummer Night's <b>Dream</b>
|
|
||||||
@endverbatim
|
|
||||||
|
|
||||||
It is more correct to actually query the Text Node
|
|
||||||
if in doubt:
|
|
||||||
|
|
||||||
@until title );
|
|
||||||
|
|
||||||
Noting that here we use FirstChild() since we are
|
|
||||||
looking for XMLText, not an element, and ToText()
|
|
||||||
is a cast from a Node to a XMLText.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/** @page Example-4 Read attributes and text information.
|
|
||||||
@dontinclude ./xmltest.cpp
|
|
||||||
|
|
||||||
There are fundamentally 2 ways of writing a key-value
|
|
||||||
pair into an XML file. (Something that's always annoyed
|
|
||||||
me about XML.) Either by using attributes, or by writing
|
|
||||||
the key name into an element and the value into
|
|
||||||
the text node wrapped by the element. Both approaches
|
|
||||||
are illustrated in this example, which shows two ways
|
|
||||||
to encode the value "2" into the key "v":
|
|
||||||
|
|
||||||
@skip example_4
|
|
||||||
@until "</information>";
|
|
||||||
|
|
||||||
TinyXML-2 has accessors for both approaches.
|
|
||||||
|
|
||||||
When using an attribute, you navigate to the XMLElement
|
|
||||||
with that attribute and use the QueryIntAttribute()
|
|
||||||
group of methods. (Also QueryFloatAttribute(), etc.)
|
|
||||||
|
|
||||||
@skip XMLElement* attributeApproachElement
|
|
||||||
@until &v0 );
|
|
||||||
|
|
||||||
When using the text approach, you need to navigate
|
|
||||||
down one more step to the XMLElement that contains
|
|
||||||
the text. Note the extra FirstChildElement( "v" )
|
|
||||||
in the code below. The value of the text can then
|
|
||||||
be safely queried with the QueryIntText() group
|
|
||||||
of methods. (Also QueryFloatText(), etc.)
|
|
||||||
|
|
||||||
@skip XMLElement* textApproachElement
|
|
||||||
@until &v1 );
|
|
||||||
*/
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user