[CMake] CMake finds wrong ar/ranlib/nm

2015-07-28 Thread Auer, Jens
Hi, I am trying to use another compiler than the default one installed on my system. I have to do this because I want to use a newer gcc than the one on centos 7,so I installed RedHat Developer Toolset 3 with gcc 4.9. When I call cmake with scl enable devtoolset-3 cmake ../src in my build

[cmake-developers] [CMake 0015666]: Ninja may unnecessarily relink on windows

2015-07-28 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://www.cmake.org/Bug/view.php?id=15666 == Reported By:Nils Gladitz Assigned To:

[cmake-developers] Java support

2015-07-28 Thread CHEVRIER, Marc
Hi, Here are some patches to enhance Java support. 0001 (FindJava.cmake): Defines now two new variables for idlj and jar signer tools: Java_IDLJ_EXECUTABLE and Java_JARSIGNER_EXECUTABLE 0002 (UseJava.cmake): Extends add_jar command to support @file syntax for java sources specification. 0003

[Cmake-commits] CMake branch, master, updated. v3.3.0-585-geb2b23e

2015-07-28 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, master has been updated via eb2b23e0d9648a5e70b8c7f917f1bfa2f058dfcd (commit) via

[Cmake-commits] CMake branch, next, updated. v3.3.0-1477-gdc230dc

2015-07-28 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via dc230dc142b3ea312eeeac27811dff4a0b3096da (commit) via

[Cmake-commits] CMake branch, master, updated. v3.3.0-579-g24dd88d

2015-07-28 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, master has been updated via 24dd88d156c9c5dcca1ac6b07fa6e67502a4132b (commit) via

[Cmake-commits] CMake branch, master, updated. v3.3.0-581-g2a2a560

2015-07-28 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, master has been updated via 2a2a5601251b4d06320c233ef9510a6909ff2823 (commit) via

[Cmake-commits] CMake branch, master, updated. v3.3.0-587-geda29e6

2015-07-28 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, master has been updated via eda29e66320f0722d3f508d5b607d7fa8771227f (commit) via

[Cmake-commits] CMake branch, master, updated. v3.3.0-572-gdce1b29

2015-07-28 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, master has been updated via dce1b2991c58f583a6d038dbef1cb4b92307829f (commit) via

[Cmake-commits] CMake branch, master, updated. v3.3.0-612-g98d6e9e

2015-07-28 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, master has been updated via 98d6e9ec2dd0a935b1ebfed50b6e9ecab719557d (commit) via

[Cmake-commits] CMake branch, master, updated. v3.3.0-583-gbe938ab

2015-07-28 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, master has been updated via be938ab3f8872346336cdbe4fb613c5c5e36e03d (commit) via

[Cmake-commits] CMake branch, master, updated. v3.3.0-589-g16dffb3

2015-07-28 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, master has been updated via 16dffb313697d175ed76701f4a06ecbbeedcb627 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.3.0-1468-gad9e76d

2015-07-28 Thread Nils Gladitz
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via ad9e76d493019ecd30e914960f3df733aa44b786 (commit) via

Re: [CMake] BundleUtilities not working

2015-07-28 Thread Bill Somerville
On 28/07/2015 16:03, Bill Hoffman wrote: Hi Bill, On 7/28/2015 8:59 AM, Bill Somerville wrote: Hi, I am suffering issues with BundleUtilities fixup_bundle() when used on Windows with MinGW. The issue is because the underlying GetPrerequisites module uses the MS dumpbin.exe utility to find

Re: [cmake-developers] [MODERN] CMake 3.3 vs Qt 5.5 vs MSVC2015

2015-07-28 Thread Konstantin Podsvirov
Hi dear CMake developers! 27.07.2015, 18:52, Brad King brad.k...@kitware.com: On 07/24/2015 03:46 AM, Konstantin Podsvirov wrote:  To solve the problem you run cmake-gui is now possible with the  following changes: Applied as two separate commits with minor tweaks:  cmake-gui: Install Qt5

Re: [CMake] [cmake-developers] check_cxx_source_compiles and include directories

2015-07-28 Thread Brad King
On 07/27/2015 03:26 PM, Roman Wüger wrote: SubProj1 and SubProj2 does not find mutex, but check_cxx_source_compiles succeeds. Did I miss configure something here? The posted example works for me on Linux with g++ 4.9.3. The check succeeds and an executable I create in SubProj1 can #include

Re: [cmake-developers] check_cxx_source_compiles and include directories

2015-07-28 Thread Brad King
On 07/27/2015 03:26 PM, Roman Wüger wrote: SubProj1 and SubProj2 does not find mutex, but check_cxx_source_compiles succeeds. Did I miss configure something here? The posted example works for me on Linux with g++ 4.9.3. The check succeeds and an executable I create in SubProj1 can #include

Re: [CMake] BundleUtilities not working

2015-07-28 Thread Bill Hoffman
On 7/28/2015 8:59 AM, Bill Somerville wrote: Hi, I am suffering issues with BundleUtilities fixup_bundle() when used on Windows with MinGW. The issue is because the underlying GetPrerequisites module uses the MS dumpbin.exe utility to find dependent libraries of executables. This is a problem

Re: [CMake] CMake finds wrong ar/ranlib/nm

2015-07-28 Thread Bill Hoffman
On 7/28/2015 4:39 AM, Auer, Jens wrote: Hi, I am trying to use another compiler than the default one installed on my system. I have to do this because I want to use a newer gcc than the one on centos 7,so I installed RedHat Developer Toolset 3 with gcc 4.9. When I call cmake with sclenable

[CMake] BundleUtilities not working

2015-07-28 Thread Bill Somerville
Hi, I am suffering issues with BundleUtilities fixup_bundle() when used on Windows with MinGW. The issue is because the underlying GetPrerequisites module uses the MS dumpbin.exe utility to find dependent libraries of executables. This is a problem because it crashes on many libraries and

Re: [cmake-developers] Strange behaviour with install(EXPORT)

2015-07-28 Thread Brad King
On 07/27/2015 05:04 PM, Ben Boeckel wrote: Wouldn't an exported static library still need to inform others about its private non-exported static library dependencies though? For a shared library, ignoring static libraries in the private set would make sense. All the logic discussed in this

Re: [CMake] CMake inconsistent with python libraries

2015-07-28 Thread Matt McCormick
Nils Guillermin nils.guillermin@... writes: Hello everyone, My first time posting to this mailing list so forgive me if I'm off base. I first wanted to make sure this was a new problem before I posted a bug report, as the cmake website asks. Welcome to the lists! I was trying to install

[Cmake-commits] CMake branch, master, updated. v3.3.0-613-g700d537

2015-07-28 Thread Kitware Robot
20150728) +set(CMake_VERSION_PATCH 20150729) #set(CMake_VERSION_RC 1) --- Summary of changes: Source/CMakeVersion.cmake |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/post-receive -- CMake

Re: [CMake] CMake inconsistent with python libraries

2015-07-28 Thread Alan W. Irwin
On 2015-07-28 21:46-0400 Nils Guillermin wrote: Hello everyone, My first time posting to this mailing list so forgive me if I'm off base. I first wanted to make sure this was a new problem before I posted a bug report, as the cmake website asks. I was trying to install gr-air-modes (

Re: [CMake] [cmake-developers] check_cxx_source_compiles and include directories

2015-07-28 Thread Roman Wüger
Hi Brad, thanks for your investigation. I've tried it on Mac OS 10.10.4 with clang 6.1.0.6020053 from XCode 6 using Unix Makefiles as the generator. Best Regards Roman Am 28.07.2015 um 16:55 schrieb Brad King brad.k...@kitware.com: On 07/27/2015 03:26 PM, Roman Wüger wrote: SubProj1 and

Re: [CMake] BundleUtilities not working

2015-07-28 Thread Brad King
On 07/28/2015 12:51 PM, Bill Somerville wrote: The possible lack of grep is a potential issue so your read back from file suggestion is interesting, is there a recognized place to write temporary files like this? IIRC the code in question runs during cmake -P cmake_install.cmake scripts so

Re: [CMake] BundleUtilities not working

2015-07-28 Thread Brad King
On 07/28/2015 11:32 AM, Bill Somerville wrote: I have checked for objdump command options to reduce the output but there don't appear to be any that help. TBH running from the command line as, for example: $ objdump -p executable | grep 'DLL Name:' runs in a fraction of a second

Re: [CMake] [cmake-developers] check_cxx_source_compiles and include directories

2015-07-28 Thread Brad King
On 07/28/2015 12:23 PM, Roman Wüger wrote: I've tried it on Mac OS 10.10.4 with clang 6.1.0.6020053 from XCode 6 using Unix Makefiles as the generator. Is that using the Xcode Command Line Tools or the /usr/bin/c++ stub that uses the /Applications/Xcode.app/.../bin/clang++ compiler underneath?

Re: [cmake-developers] check_cxx_source_compiles and include directories

2015-07-28 Thread Roman Wüger
Hi Brad, thanks for your investigation. I've tried it on Mac OS 10.10.4 with clang 6.1.0.6020053 from XCode 6 using Unix Makefiles as the generator. Best Regards Roman Am 28.07.2015 um 16:55 schrieb Brad King brad.k...@kitware.com: On 07/27/2015 03:26 PM, Roman Wüger wrote: SubProj1 and

Re: [CMake] BundleUtilities not working

2015-07-28 Thread Bill Somerville
On 28/07/2015 17:47, Brad King wrote: Hi Brad, On 07/28/2015 11:32 AM, Bill Somerville wrote: I have checked for objdump command options to reduce the output but there don't appear to be any that help. TBH running from the command line as, for example: $ objdump -p executable | grep 'DLL

Re: [cmake-developers] check_cxx_source_compiles and include directories

2015-07-28 Thread Brad King
On 07/28/2015 12:23 PM, Roman Wüger wrote: I've tried it on Mac OS 10.10.4 with clang 6.1.0.6020053 from XCode 6 using Unix Makefiles as the generator. Is that using the Xcode Command Line Tools or the /usr/bin/c++ stub that uses the /Applications/Xcode.app/.../bin/clang++ compiler underneath?

[Cmake-commits] CMake branch, next, updated. v3.3.0-1499-gf83e8cf

2015-07-28 Thread Stephen Kelly
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via f83e8cf401a89f8643567b2036b22f2ff4af0101 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.3.0-1495-g918362e

2015-07-28 Thread Stephen Kelly
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via 918362e1aa1cd4774ab206a5886dd010081c445c (commit) via

[Cmake-commits] CMake branch, next, updated. v3.3.0-1501-gbb1bffe

2015-07-28 Thread Brad King
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project CMake. The branch, next has been updated via bb1bffebea884264d5b789c70893606e8c2d7fc6 (commit) via

Re: [CMake] [cmake-developers] check_cxx_source_compiles and include directories

2015-07-28 Thread Roman Wüger
Thanks Brad yes, and that's the point. I've found my mistake, I had set the CMAKE_OSX_DEPLOYMENT_TARGET and CMAKE_OSX_SYSROOT between the check_cxx_source_compiles() calls and the add_subdirectory() calls. I moved the CMAKE_OSX_DEPLOYMENT_TARGET and CMAKE_OSX_SYSROOT initialization on top of

Re: [cmake-developers] check_cxx_source_compiles and include directories

2015-07-28 Thread Roman Wüger
Thanks Brad yes, and that's the point. I've found my mistake, I had set the CMAKE_OSX_DEPLOYMENT_TARGET and CMAKE_OSX_SYSROOT between the check_cxx_source_compiles() calls and the add_subdirectory() calls. I moved the CMAKE_OSX_DEPLOYMENT_TARGET and CMAKE_OSX_SYSROOT initialization on top of

[cmake-developers] Modules/GetPrequisites.cmake issues

2015-07-28 Thread Bill Somerville
Hi All, attached is a patch that addresses some issues recently discussed on the users list. I'm no CMake expert so I don't know if I have done things in the best way. One area I do not fully understand is how to detect MinGW, If I could then objdump could be chosen as the preferred library