Re: [CMake] Fwd: CPack does not generate a RPM

2016-04-07 Thread Wang, Peng 1. (Nokia - CN/Hangzhou)
Hi, Sorry guys, I am busy on some prioritized tasks. I've made a simple example, can I send in attachment? Or maybe I shall send the attachment only to you two? Wang Peng (Rex) Seat: 21F HZ SE Team +86018605811125 -Original Message- From: CMake [mailto:cmake-boun...@cmake.org] On B

Re: [CMake] Fwd: CPack does not generate a RPM

2016-04-07 Thread Kristian
Thank you for your answer. Setting the variable CPACK_RPM_PACKAGE_AUTOREQ to "NO" worked. I also tried to produce a minimal example, which produces such error as the behaviour I described. But I couldn't generate such an example. I do not know currently, under which circumstances this happens :(.

Re: [CMake] Fwd: CPack does not generate a RPM

2016-04-07 Thread Domen Vrankar
> Let's assume, I have a library, e.g. liblibrary.so.5.6.7 and I have > two symbolic links, so the result of "ls -l" would look like this > > liblibrary.so -> liblibrary.so.0 > liblibrary.so.0 -> liblibrary.so.5.6.7 > liblibrary.so.5.6.7 > > And let's assume, I have these lines in my CMakeLists.txt

Re: [CMake] Documenting CMakeLists.txt and custom or local .cmake files

2016-04-07 Thread Attila Krasznahorkay
Hi Philip, Unfortunately I can't give any insight on this. I just wanted to express my own interest in this question. As we'd also very much need a convenient way to document our CMake code. (Currently it's done on a Wiki page, which is out of date within 5 minutes of it being updated...) Chee

[CMake] Imported target location for OSX frameworks

2016-04-07 Thread Vladimír Vondruš
Hello, sorry for flooding with e-mails today, it all kinda piled up. This one is about imported target location for frameworks on OSX (and thus also iOS). I saw the bugreport here https://cmake.org/Bug/view.php?id=14105 and that it was closed as "no change needed". The suggested solution was th

[CMake] Better handling of targets consisting of object files only

2016-04-07 Thread Vladimír Vondruš
Hello, I'm using `OBJECT` libraries quite a lot in my projects and more often than not I run into a situation where a target consists only of `$`. I know that CMake says the following about object libraries: "Some native build systems may not like targets that have only object files, so co