Skip to content

Commit

Permalink
Make workaround for C++ build more discoverable (google#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
sffc committed May 22, 2021
1 parent 6b448c6 commit e338624
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions clients/cpp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ The first line sets up your Makefiles and also downloads the dependencies: GLog,

Note: None of the dependencies need to be linked at runtime. GLog and GTest are only used for testing and debugging. ICU4C is used only for its header files; no library symbols are required.

Note: If the GTest build fails when running the above commands, try passing the following flag to cmake (see [#42](https://github.com/google/myanmar-tools/issues/42) for more discussion):

```bash
$ CXXFLAGS="-Wno-error=deprecated-copy" cmake CMakeLists.txt
```

## Usage Examples

To detect Zawgyi, create a singleton instance of ZawgyiDetector, and call `GetZawgyiProbability` with your `char*` UTF-8 string.
Expand Down

0 comments on commit e338624

Please sign in to comment.