summaryrefslogtreecommitdiff
path: root/README.md
blob: da2655bcce9c1a18a2cd5679743667636cdbc6f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Qt Core wrapper for [libinterchange](http://darapsa.org/libinterchange)

# Building

## Getting

```sh
$ git clone git://darapsa.org/qinterchange.git
$ cd qinterchange
$ mkdir build && cd build
```

## Configuring for various target hosts (with optional debugging), compiling, linking, and installing

```sh
$ cmake -DCMAKE_TOOLCHAIN_FILE=/opt/android-sdk-update-manager/ndk/21.3.6528147/build/cmake/android.toolchain.cmake -DCMAKE_FIND_ROOT_PATH=/opt/Qt/5.15.2/android -DANDROID_NATIVE_API_LEVEL=21 -DANDROID_ABI=arm64-v8a -DCMAKE_INSTALL_PREFIX=/opt/Qt/5.15.2/android -DCMAKE_BUILD_TYPE=Debug ..
$ make
$ make install
```

or

```sh
$ emcmake cmake -DCMAKE_TOOLCHAIN_FILE=/usr/local/lib/emscripten/cmake/Modules/Platform/Emscripten.cmake -DQt5Core_DIR=/opt/Qt/5.15.2/wasm_32/lib/cmake/Qt5Core -DCMAKE_INSTALL_PREFIX=/usr/local/lib/emscripten/system -DCMAKE_BUILD_TYPE=Debug ..
$ emmake make
$ emmake make install
```

or so on.