Skip to content

Commit 80a026f

Browse files
docs: add introduction to standalone mode
Signed-off-by: Coelacanthus <uwu@coelacanthus.name>
1 parent bc0e775 commit 80a026f

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

docs/DEVELOPERS.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,16 @@ cmake -B build
2020

2121
# compilation
2222
cmake --build build
23+
```
24+
25+
If you want to package lpac in a relocatable directory, please build with `-DSTANDALONE_MODE=ON`,
26+
and then run command below to install files in directory.
2327

24-
# installation (optionally)
25-
cmake --install build
28+
```bash
29+
DESTDIR=output cmake --install build
2630
```
2731

28-
The resulting binary can then be found under `build/output` folder.
32+
The resulting binary can then be found under `build/output/executables` folder.
2933

3034
### Linux
3135

0 commit comments

Comments
 (0)