[CMake] State of CMAKE_MSVCIDE_RUN_PATH

2017-06-22 Thread Christian Ehrlicher
Hi,   It looks like there's a variable CMAKE_MSVCIDE_RUN_PATH to add additional paths which ar eused during add_custom_command/add_custom_target runs. But this variable is not documented anywhere ... is it safe to use this variable in CMake scripts?   Thx, Christian -- Powered by www.kitware

[CMake] FILE(LOCK ... GUARD FILE) fails with cmake -P

2017-06-22 Thread Sergey Zakharchenko
Hello, CMake crashes on an assertion when I use FILE(LOCK ... GUARD FILE) inside of a file called (directly or indirectly) from cmake -P. $ cat x.cmake FILE(LOCK . DIRECTORY GUARD FILE) $ cat y.cmake INCLUDE(x.cmake) $ cmake -P x.cmake Assertion failed: (!this->FileScopes.empty()), function Lo

[CMake] [ANNOUNCE] CMake 3.9.0-rc4 is now ready for testing!

2017-06-22 Thread Robert Maynard
I am proud to announce the fourth CMake 3.9 release candidate. https://cmake.org/download/ Documentation is available at: https://cmake.org/cmake/help/v3.9 Release notes appear below and are also published at https://cmake.org/cmake/help/v3.9/release/3.9.html Some of the more significant c

[CMake] Problem with fixup bundle and duplicate change commands on macOS

2017-06-22 Thread Schulte, Lukas
Hey guys, So I’m trying to use fixup_bundle for our software, and for a reason that I can’t wrap my head around executing fixup_bundle results in a call to install_name_tool where in the changes variable some commands are duplicate (in my case, double deletion of an rpath during fixing up of so

Re: [CMake] Debugging custom commands with VS project generator

2017-06-22 Thread James Turner
> On 22 Jun 2017, at 11:52, David Cole wrote: > > When you convert that error code to hex, it's 0xc139, and if you > google that, you see it's an "entry point not found" error code. > > Is something in the custom command trying to load a DLL that doesn't > have the expected export? Or perha

Re: [CMake] No mechanism to set -Xcompiler options with Visual Studio CUDA integration?

2017-06-22 Thread Brad King
On 06/22/2017 07:32 AM, Hancox, James wrote: > That's great news! I'll definitely try that out in the next RC. It should be in a nightly binary from here: https://cmake.org/files/dev/?C=M;O=D The cmake-3.9.20170621-g87dac-win64-x64.zip file should have it and can be extracted and used without i

[CMake] How to refer to *.so files in Android NDK?

2017-06-22 Thread Robert Dailey
In my toolchain file for Android NDK, I specify the following *.so paths manually: set( ANDROID_PREBUILT_LIBRARIES ${CMAKE_ANDROID_NDK}/sources/cxx-stl/gnu-libstdc++/4.9/libs/x86/libgnustl_shared.so ${CMAKE_ANDROID_NDK}/platforms/android-15/arch-x86/usr/lib/libz.so ) However, I'd like a

Re: [CMake] No mechanism to set -Xcompiler options with Visual Studio CUDA integration?

2017-06-22 Thread Hancox, James
That's great news! I'll definitely try that out in the next RC. Thanks again for looking into this so quickly. James -Original Message- From: Brad King [mailto:brad.k...@kitware.com] Sent: 21 June 2017 19:30 To: Hancox, James Cc: cmake@cmake.org; Robert Maynard Subject: Re: [CMake] N

Re: [CMake] Debugging custom commands with VS project generator

2017-06-22 Thread David Cole via CMake
When you convert that error code to hex, it's 0xc139, and if you google that, you see it's an "entry point not found" error code. Is something in the custom command trying to load a DLL that doesn't have the expected export? Or perhaps trying to load a DLL of the wrong architecture? Or, there

Re: [CMake] [Config-file Package] The best practice of finding package dependencies?

2017-06-22 Thread P F via CMake
> On Jun 20, 2017, at 10:46 PM, Konstantin Podsvirov > wrote: > > Hello community! > > I want to give a little discussion :) > > If I export a package containing several targets. > And these target are publicly linked to the targets imported from another > package. > Where is the best place

[CMake] Debugging custom commands with VS project generator

2017-06-22 Thread James Turner
Hi, We’re trying to debug a failure of a custom build command, in a Cmake project using Visual Studio 2015. Unfortunately the command works on some Windows setups but not others - clearly there is something install-dependent going on. (It works on my local machine, but not on our Jenkins build

Re: [CMake] Unable to build cmoka project using cmake

2017-06-22 Thread Rajesh Kumar
Hi Chuck, Comments are inline. Regards Rajesh On Wed, Jun 21, 2017, 8:32 PM Chuck Atkins wrote: > Hi Rajesh, > We would need more information to be useful: > >- What version of CMake are you using? - 3.9.20170615 ( on 20170615 I >have downloaded the source code from git repository and