mirror of
https://github.com/zhigang1992/libpag.git
synced 2026-01-12 22:48:25 +08:00
184 lines
3.2 KiB
JSON
184 lines
3.2 KiB
JSON
{
|
|
"source": "third_party",
|
|
"out": "third_party/out",
|
|
"vendors": [
|
|
{
|
|
"name": "libavc",
|
|
"cmake": {
|
|
"targets": [
|
|
"libavcdec"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "skcms",
|
|
"cmake": {
|
|
"targets": [
|
|
"skcms"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "pathkit",
|
|
"cmake": {
|
|
"targets": [
|
|
"pathkit"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "zlib",
|
|
"cmake": {
|
|
"targets": [
|
|
"zlibstatic"
|
|
],
|
|
"includes": [
|
|
"${SOURCE_DIR}/zlib.h",
|
|
"${BUILD_DIR}/zconf.h"
|
|
],
|
|
"platforms": [
|
|
"mac",
|
|
"win",
|
|
"linux",
|
|
"ios"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "libwebp",
|
|
"cmake": {
|
|
"targets": [
|
|
"webp",
|
|
"webpdemux"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "libwebp",
|
|
"cmake": {
|
|
"targets": [
|
|
"webp",
|
|
"webpdemux"
|
|
],
|
|
"arguments": [
|
|
"-DWEBP_BUILD_WEBP_JS=ON"
|
|
],
|
|
"platforms": [
|
|
"web"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "libjpeg-turbo",
|
|
"cmake": {
|
|
"targets": [
|
|
"turbojpeg-static"
|
|
],
|
|
"includes": [
|
|
"${SOURCE_DIR}/jmorecfg.h",
|
|
"${SOURCE_DIR}/jpeglib.h",
|
|
"${SOURCE_DIR}/jerror.h",
|
|
"${BUILD_DIR}/jconfig.h"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "libpng",
|
|
"deps": {
|
|
"ZLIB": "zlib"
|
|
},
|
|
"cmake": {
|
|
"targets": [
|
|
"png_static"
|
|
],
|
|
"arguments": [
|
|
"-DPNG_BUILD_ZLIB=ON"
|
|
],
|
|
"includes": [
|
|
"${SOURCE_DIR}/png.h",
|
|
"${SOURCE_DIR}/pngconf.h",
|
|
"${BUILD_DIR}/pnglibconf.h"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "libpng",
|
|
"deps": {
|
|
"ZLIB": "zlib"
|
|
},
|
|
"cmake": {
|
|
"targets": [
|
|
"png_static"
|
|
],
|
|
"arguments": [
|
|
"-DPNG_BUILD_ZLIB=ON",
|
|
"-DPNG_ARM_NEON=on"
|
|
],
|
|
"includes": [
|
|
"${SOURCE_DIR}/png.h",
|
|
"${SOURCE_DIR}/pngconf.h",
|
|
"${BUILD_DIR}/pnglibconf.h"
|
|
],
|
|
"platforms": [
|
|
"ios"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "freetype",
|
|
"deps": {
|
|
"ZLIB": "zlib",
|
|
"PNG": "libpng"
|
|
},
|
|
"cmake": {
|
|
"targets": [
|
|
"freetype"
|
|
],
|
|
"arguments": [
|
|
"-DCMAKE_DISABLE_FIND_PACKAGE_BZip2=TRUE",
|
|
"-DCMAKE_DISABLE_FIND_PACKAGE_HarfBuzz=TRUE"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "swiftshader",
|
|
"cmake": {
|
|
"targets": [
|
|
"libEGL",
|
|
"libGLESv2"
|
|
],
|
|
"platforms": [
|
|
"linux"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "rttr",
|
|
"cmake": {
|
|
"targets": [
|
|
"rttr_core_lib"
|
|
],
|
|
"arguments": [
|
|
"-DBUILD_STATIC=TRUE"
|
|
],
|
|
"includes": [
|
|
"${SOURCE_DIR}/src/rttr",
|
|
"${BUILD_DIR}/src/rttr"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"name": "googletest",
|
|
"cmake": {
|
|
"targets": [
|
|
"gtest"
|
|
],
|
|
"platforms": [
|
|
"mac",
|
|
"win",
|
|
"linux"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
} |