Three actors:
- Conan Artifactory Server: The middleman that stores all the built libraries in the cloud. (conan_server)
- Library Builder: The one who builds the library and push it to the artifactory. (library_builder)
- Application Builder: The consumer who likes use conan as dependency management. (application_builder)
- Start conan_server by
docker compose run conan_server
- Build and publish the library using
docker compose run library_builder
- Build the application that requires the library built in previous step with
docker compose run application_builder
- Run the application in your Linux host-machine or by using
docker compose run application_runnner
If you want to build the library before linking it to application set BUILD_FROM_SOURCE
environment variable to 1, if you want to directly use the compiled files from artifactory use 0.