Skip to content

Commit

Permalink
README: fix links to local files
Browse files Browse the repository at this point in the history
  • Loading branch information
axxel committed Jul 14, 2022
1 parent 69a43b6 commit 549974f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions wrappers/android/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,12 @@ Archive) file in your app.
## Build

1. Install AndroidStudio including NDK and CMake (see 'SDK Tools').
2. Open the project in folder [wrappers/android](wrappers/android).
2. Open the project in folder containing this README.
3. The project contains 2 modules: `zxingcpp` is the wrapper library, `app` is the demo app using `zxingcpp`.

To build the AAR (Android Archive) from the command line:

$ ./gradlew :zxingcpp:assembleRelease

Then copy `zxingcpp/build/outputs/aar/zxingcpp-release.aar` into
`app/libs` of your app.
Then copy `zxingcpp/build/outputs/aar/zxingcpp-release.aar` into `app/libs` of your app.

2 changes: 1 addition & 1 deletion wrappers/wasm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
1. [Install Emscripten](https://kripken.github.io/emscripten-site/docs/getting_started/) if not done already.
2. In an empty build folder, invoke `emcmake cmake <path to zxing-cpp.git/wrappers/wasm>`.
3. Invoke `cmake --build .` to create `zxing.js` and `zxing.wasm` (and `_reader`/`_writer` versions).
4. To see how to include these into a working HTML page, have a look at the [reader](wrappers/wasm/demo_reader.html) and [writer](wrappers/wasm/demo_writer.html) demos.
4. To see how to include these into a working HTML page, have a look at the [reader](demo_reader.html) and [writer](demo_writer.html) demos.
5. To quickly test your build, copy those demo files into your build directory and run e.g. `emrun --serve_after_close demo_reader.html`.

You can also download the latest build output from the continuous integration system from the [Actions](https://github.com/nu-book/zxing-cpp/actions) tab. Look for 'wasm-artifacts'. Also check out the [live demos](https://nu-book.github.io/zxing-cpp/).
2 changes: 1 addition & 1 deletion wrappers/winrt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ PM> Install-Package huycn.zxingcpp.winrt

1. Make sure [CMake](https://cmake.org) version 3.4 or newer is installed.
2. Make sure a C++17 compliant compiler is installed (minimum VS 2019 16.8).
3. Edit the file [`BuildWinCom.bat`](wrappers/winrt/BuildWinCom.bat) to adjust the path to your CMake installation.
3. Edit the file [`BuildWinCom.bat`](BuildWinCom.bat) to adjust the path to your CMake installation.
4. Double-click on the batch script to run it.
5. If the build succeeds, it will put the results in the folder UAP which is ready-to-use SDK extension.

0 comments on commit 549974f

Please sign in to comment.