Re: [cmake-developers] automatically download library

2015-10-09 Thread Ruslan Baratov via cmake-developers
On 08-Oct-15 18:06, Marsel Galimullin wrote: 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 s

Re: [cmake-developers] automatically download library

2015-10-09 Thread Марсель Галимуллин
Thanks for your comments. 08.10.2015 18:41, Ryan Schmidt пишет: On Oct 8, 2015, at 10:06 AM, Marsel Galimullin wrote: 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 insta

Re: [cmake-developers] automatically download library

2015-10-08 Thread Ryan Schmidt
On Oct 8, 2015, at 10:06 AM, Marsel Galimullin wrote: > 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

Re: [cmake-developers] automatically download library

2015-10-08 Thread Brad King
On 10/08/2015 11:06 AM, Marsel Galimullin wrote: > 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 (Bo

Re: [cmake-developers] automatically download library

2015-10-08 Thread Marsel Galimullin
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, Rya

Re: [cmake-developers] automatically download library

2015-10-06 Thread Brad King
On 10/06/2015 08:22 AM, Марсель Галимуллин wrote: > automatically download missing library if instruction such as > find_package (Boost COMPONENTS system thread REQUIRED) can not > find the package. In general this is outside the scope of a build system and falls in the domain of package managemen

Re: [cmake-developers] automatically download library

2015-10-06 Thread Daniel Wirtz
Hey, so i've been working on a quite large build system for OpenCMISS, which in turn consumes about 30 external packages itself. the main repo (and cmake logic) can be found here: https://github.com/OpenCMISS/manage (branch v1.0). feel free to have a look around and use some of the logic. essen

Re: [cmake-developers] automatically download library

2015-10-06 Thread Ryan Schmidt
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 > COMPONEN

[cmake-developers] automatically download library

2015-10-06 Thread Марсель Галимуллин
Hello!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 y