Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

electricalgorithm/conan-threesome-library-application-server

Repository files navigation

A Threesome to Understand Conan Package Management System

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)

Run Scenerio

  1. Start conan_server by docker compose run conan_server
  2. Build and publish the library using docker compose run library_builder
  3. Build the application that requires the library built in previous step with docker compose run application_builder
  4. Run the application in your Linux host-machine or by using docker compose run application_runnner

Build from Source and Build using Generated

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.

About

A basic demonstration for understanding how to package a library with Conan, how to publish it to server and how to use it to link an application.

Topics

Resources

License

Stars

Watchers

Forks

Contributors

AltStyle によって変換されたページ (->オリジナル) /