Skip to content

Commit b6cd606

Browse files
committed
add release build instructions to readme.md
1 parent b1d0827 commit b6cd606

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/build
2+
/build-release
23
.DS_Store
34
.venv
45
__pycache__/

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,21 @@ Built analyzer:
3333
build/Analyzers/libFlexRayAnalyzer.so
3434
```
3535

36+
## Release Build
37+
38+
Build optimized release artifacts in a separate build directory:
39+
40+
```bash
41+
cmake -S . -B build-release -DCMAKE_BUILD_TYPE=Release
42+
cmake --build build-release --config Release
43+
```
44+
45+
Release analyzer:
46+
47+
```text
48+
build-release/Analyzers/libFlexRayAnalyzer.so
49+
```
50+
3651
## Decoding Example
3752

3853
![FlexRay decoding screenshot](docs/decoding.png)

0 commit comments

Comments
 (0)