Skip to content

Commit bb46580

Browse files
committed
docs: update readme for cross-compilation [skip ci]
1 parent b3af4c6 commit bb46580

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,18 @@ Create your `CMakeLists.txt` file based on [the example](/example/CMakeLists.txt
1818
cmake-ts build
1919
```
2020

21+
cmake-ts can build the projects with built-in configurations that are selected depending on the arguments and the environment. This includes cross-compilation for different architectures, including Windows arm64, Linux arm64, etc.
22+
23+
```bash
24+
cmake-ts build --config debug
25+
```
26+
27+
You can cross-compile by specifying the built-in cross configs
28+
29+
```bash
30+
cmake-ts build --config cross-win32-arm64-release
31+
```
32+
2133
### CLI Arguments
2234

2335
`build` command:

0 commit comments

Comments
 (0)