1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR
)/rules.mk
9 PKG_HASH
:= bf7ced29704a1e696fbccf2a2b4ea068e7774fa37f6d7dd4039d0787f8bed98e
10 PKG_DESCR
:= fast json parser
/generator for c
++
11 PKG_SECTION
:= libs
/data
12 PKG_URL
:= http
://rapidjson.org
13 PKG_SITES
:= https
://github.com
/Tencent
/rapidjson
/archive
/
16 DISTFILES
:= v
$(PKG_VERSION
).
tar.gz
18 include $(ADK_TOPDIR
)/mk
/package.mk
20 $(eval
$(call PKG_template
,RAPIDJSON
,rapidjson
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(PKG_DEPENDS
),$(PKG_DESCR
),$(PKG_SECTION
),$(PKG_OPTS
)))
23 CMAKE_FLAGS
+= -DRAPIDJSON_BUILD_DOC
=OFF \
24 -DRAPIDJSON_BUILD_EXAMPLES
=OFF \
25 -DRAPIDJSON_BUILD_TESTS
=OFF \
26 -DRAPIDJSON_BUILD_THIRDPARTY_GTEST
=OFF \
27 -DRAPIDJSON_BUILD_ASAN
=OFF \
28 -DRAPIDJSON_BUILD_UBSAN
=OFF \
29 -DRAPIDJSON_HAS_STDSTRING
=ON
33 include $(ADK_TOPDIR
)/mk
/pkg-bottom.mk