This commit is contained in:
parent
e0bfa8bb19
commit
40bbd8684d
26
README.md
26
README.md
@ -2,29 +2,3 @@
|
||||
|
||||
## 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
18
conanfile.txt
Normal 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
17
ipdemo/conanfile.txt
Normal 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
|
Loading…
x
Reference in New Issue
Block a user