'Generic Commit'
All checks were successful
dropshell-build / build (push) Successful in 18s

This commit is contained in:
Your Name 2025-06-05 21:26:56 +12:00
parent e0bfa8bb19
commit 40bbd8684d
3 changed files with 35 additions and 26 deletions

View File

@ -2,29 +2,3 @@
## Installation ## Installation
First install dropshell-tool, then:
```
dropshell-tool install dropshell-build
```
If you wish to use local toolchain (rather than docker):
```
curl https://getbin.xyz/dropshell-build-install-requirements | bash
```
## Use
```
dropshell-build [-r] [-m] DIRECTORY
```
where `DIRECTORY` contains 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

18
conanfile.txt Normal file
View File

@ -0,0 +1,18 @@
[requires]
drogon/1.9.1
[generators]
cmake_find_package
cmake_paths
cmake_find_package_multi
[options]
drogon:with_orm=True
drogon:with_postgres=True
drogon:with_sqlite3=True
drogon:with_redis=True
drogon:with_brotli=True
drogon:with_zlib=True
[build_requires]
cmake/3.28.3

17
ipdemo/conanfile.txt Normal file
View File

@ -0,0 +1,17 @@
[requires]
drogon/1.9.10
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
[options]
drogon:with_orm=True
drogon:with_postgres=False
drogon:with_sqlite3=True
drogon:with_redis=False
drogon:shared=False
drogon:with_musl=True