Skip to content

Commit 01c3207

Browse files
committed
add cjson and tinyxml2
1 parent f40f4e8 commit 01c3207

File tree

5 files changed

+46
-3
lines changed

5 files changed

+46
-3
lines changed

build/ios.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ cfg_armv7s_host_machine="arm-apple-darwin"
1414
cfg_arm64_host_machine="arm-apple-darwin"
1515

1616
cfg_all_supported_arches=("armv7" "armv7s" "i386" "arm64" "x86_64")
17-
cfg_all_supported_libraries=("png" "zlib" "lua" "luajit" "websockets" "curl" "freetype" "jpeg" "tiff" "webp" "chipmunk" "openssl" "edtaa3func" "xxhash" "xxtea" "convertutf" "flatbuffer" "minizip")
17+
cfg_all_supported_libraries=("png" "zlib" "lua" "luajit" "websockets" "curl" "freetype" "jpeg" "tiff" "webp" "chipmunk" "openssl" "edtaa3func" "xxhash" "xxtea" "convertutf" "flatbuffer" "minizip" "tinyxml2")
1818
cfg_default_arches_all=("armv7" "armv7s" "i386" "arm64" "x86_64")
19-
cfg_default_libraries_all=("png" "zlib" "lua" "luajit" "websockets" "curl" "freetype" "jpeg" "tiff" "webp" "chipmunk" "openssl" "edtaa3func" "xxhash" "xxtea" "convertutf" "flatbuffer" "minizip")
19+
cfg_default_libraries_all=("png" "zlib" "lua" "luajit" "websockets" "curl" "freetype" "jpeg" "tiff" "webp" "chipmunk" "openssl" "edtaa3func" "xxhash" "xxtea" "convertutf" "flatbuffer" "minizip" "tinyxml2")
2020

2121

2222
cfg_build_fat_library=yes

build/main.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ xxtea_header_files=xxtea.h
2020
convertuft_header_files=ConvertUTF.h
2121
flatbuffer_header_files=flatbuffers
2222
minizip_header_files=minizip
23+
tinyxml2_header_files=tinyxml2.h
2324

2425

2526
##archive prebuilt name

contrib/src/cjson/rules.mak

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# cjson
2+
3+
CJSON_GITURL := https://github.com/mpx/lua-cjson.git
4+
5+
6+
$(TARBALLS)/libcjson-git.tar.xz:
7+
$(call download_git,$(CJSON_GITURL),master,4bc5e91)
8+
9+
.sum-cjson: libcjson-git.tar.xz
10+
$(warning $@ not implemented)
11+
touch $@
12+
13+
14+
cjson: libcjson-git.tar.xz .sum-cjson
15+
$(UNPACK)
16+
$(MOVE)
17+
18+
19+
.cjson: cjson
20+
cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
21+
cd $< && $(MAKE) install
22+
touch $@

contrib/src/minizip/SHA512SUMS

Lines changed: 0 additions & 1 deletion
This file was deleted.

contrib/src/tinyxml2/rules.mak

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# tinyxml2
2+
3+
TINYXML2_GITURL := https://github.com/leethomason/tinyxml2.git
4+
5+
6+
$(TARBALLS)/libtinyxml2-git.tar.xz:
7+
$(call download_git,$(TINYXML2_GITURL),master,5321a0e)
8+
9+
.sum-tinyxml2: libtinyxml2-git.tar.xz
10+
$(warning $@ not implemented)
11+
touch $@
12+
13+
14+
tinyxml2: libtinyxml2-git.tar.xz .sum-tinyxml2
15+
$(UNPACK)
16+
$(MOVE)
17+
18+
.tinyxml2: tinyxml2 toolchain.cmake
19+
cd $< && $(HOSTVARS) ${CMAKE}
20+
cd $< && $(MAKE) VERBOSE=1 install
21+
touch $@

0 commit comments

Comments
 (0)