Skip to content

Commit

Permalink
updated readme
Browse files Browse the repository at this point in the history
Signed-off-by: Cristian Gonzalez <cristian.glez.m@gmail.com>
  • Loading branch information
cristianglezm committed Apr 11, 2024
1 parent 9f29a0b commit 70164ea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
10 changes: 1 addition & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,8 @@ jobs:
type:
- { name: Release }
- { name: Debug, flags: -DCMAKE_BUILD_TYPE=Debug }

include:
- platform: { name: Windows VS2022 x64, os: windows-2022 }
config: { name: Static (MSVC), flags: -GNinja -DBUILD_SHARED_LIBS=FALSE }
- platform: { name: Linux GCC, os: ubuntu-22.04 }
config: { name: Static (GCC), flags: -GNinja -DCMAKE_CXX_COMPILER=g++ -DBUILD_SHARED_LIBS=FALSE }
- platform: { name: Linux Clang, os: ubuntu-22.04 }
config: { name: Static (Clang), flags: -GNinja -DCMAKE_CXX_COMPILER=clang++ -DBUILD_SHARED_LIBS=FALSE }
- platform: { name: Windows MinGW, os: windows-2022 }
config: { name: Static (MinGW GCC), flags: -GNinja -DCMAKE_CXX_COMPILER=g++ -DBUILD_SHARED_LIBS=FALSE }
- platform: { name: Android, os: ubuntu-22.04 }
config: { name: x86 (API 33), flags: -GNinja -DCMAKE_ANDROID_ARCH_ABI=x86 -DCMAKE_SYSTEM_NAME=Android -DCMAKE_SYSTEM_VERSION=33 -DCMAKE_ANDROID_NDK=$ANDROID_SDK_ROOT/ndk/26.1.10909125 -DBUILD_SHARED_LIBS=TRUE -DCMAKE_ANDROID_STL_TYPE=c++_shared, arch: x86, api: 33 }
type: { name: Release }
Expand Down
7 changes: 5 additions & 2 deletions readme.markdown
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<!-- -*- markdown -*- -->
# Json Box

[![ci](https://github.com/cristianglezm/JsonBox/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/cristianglezm/JsonBox/actions/workflows/ci.yml)

[JSON](http://json.org/) (JavaScript Object Notation) is a lightweight data-interchange format.

Json Box is a C++ library used to read and write JSON with ease and speed.
Expand Down Expand Up @@ -28,10 +30,11 @@ Android
mkdir build
cd build && mkdir armeabi-v7a
cd armeabi-v7a
cmake -DCMAKE_SYSTEM_NAME=Android -DCMAKE_ANDROID_NDK=<android_ndk> \
export ANDROID_NDK=<android_ndk>
cmake -DCMAKE_SYSTEM_NAME=Android -DCMAKE_ANDROID_NDK=$ANDROID_NDK \
-DCMAKE_ANDROID_ARCH_ABI=armeabi-v7a -DCMAKE_ANDROID_STL_TYPE=c++_static \
-DCMAKE_BUILD_TYPE=Release -DCMAKE_ANDROID_NDK_TOOLCHAIN_VERSION=clang \
-DCMAKE_INSTALL_PREFIX=<android_ndk>/sources/third_party/JsonBox ../..
-DCMAKE_INSTALL_PREFIX=$ANDROID_NDK/sources/third_party/JsonBox ../..
make install
```

Expand Down

0 comments on commit 70164ea

Please sign in to comment.