Re: [CMake] Install rpath handling for iOS frameworks

2017-10-19 Thread Robert Bielik
Running 3.9.4 I see that behavior related to RPATH on macOS has changed: https://cmake.org/cmake/help/v3.9/policy/CMP0068.html I've tried setting the policy to OLD, but I'm just not able to get @rpath/... to propagate to the install ☹ Ideas, please ? /R > -Original Message- > From: Rob

[CMake] [ANNOUNCE] CMake 3.10.0-rc3 is now ready for testing

2017-10-19 Thread Robert Maynard
I am proud to announce the third CMake 3.10 release candidate. https://cmake.org/download/ Documentation is available at: https://cmake.org/cmake/help/v3.10 Release notes appear below and are also published at https://cmake.org/cmake/help/v3.10/release/3.10.html Some of the more significan

Re: [CMake] conda recipe generator

2017-10-19 Thread paul via CMake
I am not sure it makes sense to generate a conda-recipe. You could have it a generate the meta.yaml file, but whats the point as you already got the source code and running cmake? Also, for the `build.sh` scripts, it should always be the same for every cmake project, something like: mkdir build c

[CMake] conda recipe generator

2017-10-19 Thread Edoardo Pasca
Hi everyone, we switched the build of some packages with conda-build. Ideally I'd like to have CMake setting up the conda recipe. Is there something like a conda recipe generator? If not, how do I proceed? A lot of configure_file I presume? Thanks for any suggestions Edo -- Edo I know you t

Re: [CMake] Install rpath handling for iOS frameworks

2017-10-19 Thread Robert Bielik
Oh, and I just added: SET(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE) But it doesn't change anything. /R > -Original Message- > From: CMake [mailto:cmake-boun...@cmake.org] On Behalf Of Robert > Bielik > Sent: den 19 oktober 2017 16:09 > To: Cmake@cmake.org > Subject: [CMake] Install rpath

[CMake] Install rpath handling for iOS frameworks

2017-10-19 Thread Robert Bielik
I'm trying to package an iOS framework, and with the target setting: XCODE_ATTRIBUTE_LD_DYLIB_INSTALL_NAME "@rpath/$(EXECUTABLE_PATH)" I get the framework built nicely. otool -L dummy.framework/dummy shows @rpath/dummy.framework/dummy Just as it should. Now I have a install directive: insta

Re: [CMake] [CMAKE] Checking if a file exist at the installing process

2017-10-19 Thread Daniel Yoshizawa
Hello Paul, Many thanks, seems a better solution than mine. I created a custom target calling my script but doing this way I had to do make install && make install_files, it doesn't look good. Also had to change install(FILES) to file( COPY ). I will try install(SCRIPT) later today. Once again