Skip to content

Commit 2acb420

Browse files
committed
add comments
Signed-off-by: wangbaiping <[email protected]>
1 parent 237f05c commit 2acb420

File tree

3 files changed

+15
-8
lines changed

3 files changed

+15
-8
lines changed

CONTRIBUTING.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,7 @@ information on using pull requests.
2626

2727
This project follows [Google's Open Source Community
2828
Guidelines](https://opensource.google/conduct/).
29+
30+
## Development
31+
32+
See the [Development Guidelines](DEVELOPMENT.md).

DEVELOPMENT.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# How to Develop Proxy Wasm Cpp Host
2+
3+
## Generate compile commands
4+
5+
You could use the following commands to generate the `compile_commands.json` file:
6+
7+
```
8+
BAZEL_BUILD_OPTION_LIST="--define=engine=multi" ./tools/gen_compdb.py --include_all //test/... //:lib
9+
```
10+
11+
Then you could use clangd (or other tools the could parse `compile_commands.json`) to setup editors with cross reference, code completion.

README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1 @@
11
# WebAssembly for Proxies (C++ host implementation)
2-
3-
## Development
4-
5-
You could use the following commands to generate the `compile_commands.json` file:
6-
7-
```
8-
BAZEL_BUILD_OPTION_LIST="--define=engine=multi" ./tools/gen_compdb.py --include_all //test/... //:lib
9-
```

0 commit comments

Comments
 (0)