mirror of
https://github.com/lifegpc/pixiv_downloader.git
synced 2026-06-06 05:49:01 +08:00
7 lines
385 B
Bash
Executable File
7 lines
385 B
Bash
Executable File
export PREFIX=`pwd`/clib
|
|
mkdir -p cbuild && cd cbuild || exit 1
|
|
git clone --depth 1 'https://github.com/Tencent/rapidjson' && cd rapidjson || exit 1
|
|
mkdir -p build && cd build || exit 1
|
|
cmake -DCMAKE_BUILD_TYPE=Release .. "-DCMAKE_INSTALL_PREFIX=$PREFIX" -DRAPIDJSON_BUILD_DOC=OFF -DRAPIDJSON_BUILD_EXAMPLES=OFF -DRAPIDJSON_BUILD_TESTS=OFF || exit 1
|
|
make -j8 && make install || exit 1
|