The idea is that CMake has possibility to contact with package managers for download necessary libraries.
If “find_package” can’t find a library, it need to call apt-get install.
Example:
    auto_downland(apt-get)
    find_package (Boost COMPONENTS system thread REQUIRED)


06.10.2015 15:33, Ryan Schmidt wrote:
On Oct 6, 2015, at 7:22 AM, Марсель Галимуллин wrote:

I'm student of the University LETI and as a masrer's thesis I want to develop 
an extension to CMake. It is expected that this extension will automatically 
download missing library if instruction such as «find_package (Boost COMPONENTS 
system thread REQUIRED)» can not find the package. Could you give me some 
advices where to begin and which the best direction to design, develop and 
whether to do it?
If you need that for some special purpose, go for it, but it's probably not a 
behavior most users would expect, and it's definitely a behavior that would 
have to be disabled in any software installed by a package management system. 
(The package management system would want to be in control of what gets 
downloaded.)



--
Kind regards,
Marsel Galimullin.

--

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to