File tree Expand file tree Collapse file tree 3 files changed +15
-8
lines changed Expand file tree Collapse file tree 3 files changed +15
-8
lines changed Original file line number Diff line number Diff line change @@ -26,3 +26,7 @@ information on using pull requests.
26
26
27
27
This project follows [ Google's Open Source Community
28
28
Guidelines] ( https://opensource.google/conduct/ ) .
29
+
30
+ ## Development
31
+
32
+ See the [ Development Guidelines] ( DEVELOPMENT.md ) .
Original file line number Diff line number Diff line change
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.
Original file line number Diff line number Diff line change 1
1
# 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
- ```
You can’t perform that action at this time.
0 commit comments