diff --git a/README.md b/README.md index da5bb38..05751ee 100644 --- a/README.md +++ b/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 diff --git a/conanfile.txt b/conanfile.txt new file mode 100644 index 0000000..0e5f07b --- /dev/null +++ b/conanfile.txt @@ -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 diff --git a/ipdemo/conanfile.txt b/ipdemo/conanfile.txt new file mode 100644 index 0000000..26b15a8 --- /dev/null +++ b/ipdemo/conanfile.txt @@ -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