dropshell-build/README.md
2025-06-01 14:30:21 +12:00

31 lines
709 B
Markdown

# Dropshell Build
## Installation
First install dropshell-tool, then:
```
dropshell-tool install dropshell-build
```
If you wish to use local toolchain (rather than docker):
```
install_dropshell_build_requirements
```
## Use
```
dropshell-build [-r] [-m] DIRECTORY
```
where `DIRECTORY` is the path to your `CMakeLists.txt`, `-r` specifies release version (rather than debug), and `-m` builds for multiple architectures (rather than just the host arch).
## Notes
- Cross-Builds with musl (from https://musl.cc )
- Uses DIRECTORY/CMakeLists.txt
- Temporary build files go in DIRECTORY/build
- Output files (executables) go in DIRECTORY/output
- Will use local toolchain if it exits, otherwise docker