On Thu, Sep 11, 2014 at 9:51 AM, Vojtech Mašek <[email protected]> wrote:

> Hi, I am working at team developing RPM pacage generator.
> Now I am solving a problem how can i get dependencies using cmake.
> Basically we need to get paths to libs like they are cached in
> CmakeCache.txt, is it somehow possible before calling cmake and then
> parsing the file ?
>

I'm a Fedora packager so I'm curious how you're going to do this.

Are you planning on running something like "rpm -q --whatprovides
<library>" to do this?

rpmbuild will generate requirements automatically as long as there is a
soname dependency, so for the most part that would be redundant except for
non-library dependencies (python, perl, php, etc. or binary dependencies).

Thanks,
Richard
-- 

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

Reply via email to