Reputation: 11140
My CMake C++ project depends on several commercial libraries (only libs and headers are available). I want an easy way to include these packages in my source tree.
I have tried the following options:
Is there a way for me to deploy these packages to the developers automatically?
The workflow that I want:
I guess what I want is similar to easy_install in Python or rubygems in Ruby.
Upvotes: 3
Views: 1450
Reputation: 65951
The desired workflow can be achieved by adding the third party libraries as CMake external projects.
The ExternalProject_Add
command lets you automatically download, build and install third-party libraries.
Upvotes: 1