Re: [CMake] CPack: setting multiple RPM pre/post (un)install scripts

2016-05-30 Thread Domen Vrankar
2016-05-30 0:44 GMT+02:00 Thomas Teo : > Hi All, > In building an RPM package, I'd like to set multiple (un)install scripts - > an application specific one which starts services that are installed by the > RPM, and also to call ldconfig so that the shared library list is

[CMake] Library deduplication and imported target dependencies

2016-05-30 Thread Stefano Bonicatti
Hello there. First of all is there any documentation about how CMake handles deduplication of libraries when linking (so to avoid duplicate libraries to be linked unnecessarily)? Now to my issue: I have a library libA which has to link to libB, libC, libD and libE. libA is the only one internal

[CMake] How to hundle gcc link options(like whole-archive, --allow-multiple-definition) in CMake?

2016-05-30 Thread Chaos Zhang
Hi, all, Thanks for taking your time to review my email. I have a demo project and it's structure like as below: top_dir CMakeLists.txt sub_dir1 CMakeLists.txt sub_dir2 CMakeLists.txt top_dir/sub_dir1/CMakeLists.txt used to build `lib1` by using `add_library(lib1

Re: [CMake] linking OBJECT libraries : Argument list too long

2016-05-30 Thread Biddiscombe, John A.
Magnus > Wouldn't a better solution be to use an options file, something like ld's @file[1]? < Yes. That solution would require me to make some probably significant changes to the cmake internals though, and I hoped to find out where the extra path / directories were coming from and shorten

Re: [CMake] CPack: setting multiple RPM pre/post (un)install scripts

2016-05-30 Thread Thomas Teo
Hi Domen, Thanks for that confirmation. While rolling it into the main postinstall script might make sense, I would need to run a different script (or not at all) based on the CMake option flags the user had selected. Thus I'd need to generate multiple versions of the script depending on what

Re: [cmake-developers] [PATCH] fix issue #0016076 Add a --bindir option to bootstrap and use it to install cmake in custom directory

2016-05-30 Thread BUNEL Nicolas
Hi, Here, the new patch that modifies the way to find the prefix directory, without using CMAKE_INSTALL_PREFIX. This patch follows the 2 previous patches that I submit on 05/27/2016 Thanks Nicolas -Message d'origine- De : Brad King [mailto:brad.k...@kitware.com] Envoyé : vendredi 27

[Cmake-commits] CMake branch, master, updated. v3.5.2-793-g88ede8e

2016-05-30 Thread Kitware Robot
_VERSION_MINOR 5) -set(CMake_VERSION_PATCH 20160530) +set(CMake_VERSION_PATCH 20160531) #set(CMake_VERSION_RC 1) --- Summary of changes: Source/CMakeVersion.cmake |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/