[Cmake-commits] CMake branch, master, updated. v3.8.1-1177-g1867856

2017-05-15 Thread Kitware Robot
_VERSION_MINOR 8) -set(CMake_VERSION_PATCH 20170515) +set(CMake_VERSION_PATCH 20170516) #set(CMake_VERSION_RC 1) --- Summary of changes: Source/CMakeVersion.cmake |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/

[CMake] CMake How to check target for build

2017-05-15 Thread Denis Kotov
Hi everyone, It is a copy of question in http://stackoverflow.com/ questions/43858722/cmake-how-to-check-target-for-build I am interesting in analog of *MAKECMDGOALS *in* Makefile *. For example if I use the following code for build *:*

[CMake] RPATH for external library

2017-05-15 Thread Pawel Veselov
Hello. I'm trying to make CMake add to the linker RPATH automatically. There is a library that is installed in a non-default location. I'm discovering the library using PkgConfig (custom CMAKE_APPBUNDLE_PATH) and add the library build options to the LINK_FLAGS (using set_property). I then set

Re: [cmake-developers] Xcode source file type

2017-05-15 Thread James Touton
Thanks, guys; I'll investigate and see what I can do. On Mon, May 15, 2017 at 6:06 AM, Brad King wrote: > On 05/14/2017 05:42 PM, Gregor Jasny via cmake-developers wrote: > > I'd welcome any attempts to simplify the Xcode generator. But before I'd > > ack such a PR I'd

[Cmake-commits] CMake branch, master, updated. v3.8.1-1176-g4717797

2017-05-15 Thread Kitware Robot
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 471779764757a3a6e4b5fb1db9b8943630b18f3d (commit) via

Re: [CMake] How to detect MSVC 2015 update 3 (= presence of /fpermissive-)

2017-05-15 Thread René J . V . Bertin
On Monday May 15 2017 15:58:53 Konstantin Tokarev wrote: Hello, >Have you tried CHECK_CXX_COMPILER_FLAG? I forgot to mention: I don't have a MS dev set-up at the moment. This is for a cross-platform purposes (in KDE's extra-cmake-modules). Thanks, R -- Powered by www.kitware.com Please

Re: [cmake-developers] Wrongly assuming lib/ is IsImplicitDirectory for runtime-paths

2017-05-15 Thread Brad King
On 05/15/2017 03:28 AM, Patrick Boettcher wrote: > To this list somewhere the lib/-path located next to the > compiler-bin/-path has been added. [snip] > What can I do? Is this a bug in cmake or in my setup? > Why is this path considered implicit? CMake tries to detect the implicit link

Re: [cmake-developers] CMake_TEST_XXX variables

2017-05-15 Thread Brad King
On 05/13/2017 08:55 PM, Craig Scott wrote: > only set on the CMake command line by CI builds or similar, Correct. We need a way to activate such tests only on machines where we expect them to work. It would be nice to have something better but I'm not sure what else we can do. We used to try

Re: [cmake-developers] ;-list in docs

2017-05-15 Thread Brad King
On 05/13/2017 06:43 PM, Jean-Michaël Celerier wrote: > On Sat, May 13, 2017 at 5:39 AM, Craig Scott wrote: >> ;-list > It's a shorthand for semicolon-separated list : > https://cmake.org/cmake/help/v3.8/command/separate_arguments.html?highlight=semicolon Yes. In documentation that has been

Re: [cmake-developers] Xcode source file type

2017-05-15 Thread Brad King
On 05/14/2017 05:42 PM, Gregor Jasny via cmake-developers wrote: > I'd welcome any attempts to simplify the Xcode generator. But before I'd > ack such a PR I'd like to know why this functionality was added in the > first place. CMake still supports (does not actively break) Xcode 3. If > there is

Re: [cmake-developers] Does JOB_POOL_[COMPILE|LINK] work with custom_target?

2017-05-15 Thread Ben Boeckel
On Mon, May 15, 2017 at 11:46:37 +0200, Eric Noulard wrote: > No answer whatsoever on this? I don't think it is supported right now. > I'd like to be able assign some custom targets to a ninja job pool. > If I were to implement the feature would it be acceptable upstream ? I think it'd be fine.

Re: [CMake] [cmake-developers] Does JOB_POOL_[COMPILE|LINK] work with custom_target?

2017-05-15 Thread Ben Boeckel
On Mon, May 15, 2017 at 11:46:37 +0200, Eric Noulard wrote: > No answer whatsoever on this? I don't think it is supported right now. > I'd like to be able assign some custom targets to a ninja job pool. > If I were to implement the feature would it be acceptable upstream ? I think it'd be fine.

Re: [CMake] How to detect MSVC 2015 update 3 (= presence of /fpermissive-)

2017-05-15 Thread Konstantin Tokarev
15.05.2017, 15:57, "René J.V. Bertin" : > Hello, > > A question that will hopefully have a quick/easy answer: > > I'd like to detect when the MSVC /fpermissive- (yes, that's a dash at the > end) can be used instead of /Za . I know that a later update bumped the > version

[CMake] How to detect MSVC 2015 update 3 (= presence of /fpermissive-)

2017-05-15 Thread René J . V . Bertin
Hello, A question that will hopefully have a quick/easy answer: I'd like to detect when the MSVC /fpermissive- (yes, that's a dash at the end) can be used instead of /Za . I know that a later update bumped the version to 14.0.25422.01 and thus undoubtedly _MSC_FULL_VER== 1402542201 in C code

[CMake] Link order and interface multiplicity

2017-05-15 Thread Etan Kissling
Heya, I have a project with a layer consisting of interface libraries: add_library(I INTERFACE) These interface libraries are then implemented several times, to fit the different environments of applications: add_library(IA STATIC ...) target_link_libraries(IA PUBLIC I)

Re: [CMake] Does JOB_POOL_[COMPILE|LINK] work with custom_target?

2017-05-15 Thread Eric Noulard
Hi all, No answer whatsoever on this? Initial contributor of Ninja job pool appears to be Peter Kümmel: commit 7605e37aabae2678e5696a75e84aced2e84f9037 Author: Peter Kümmel Date: Sat Nov 23 10:49:36 2013 +0100 I'd like to be able assign some custom targets to a ninja job

Re: [cmake-developers] Does JOB_POOL_[COMPILE|LINK] work with custom_target?

2017-05-15 Thread Eric Noulard
Hi all, No answer whatsoever on this? Initial contributor of Ninja job pool appears to be Peter Kümmel: commit 7605e37aabae2678e5696a75e84aced2e84f9037 Author: Peter Kümmel Date: Sat Nov 23 10:49:36 2013 +0100 I'd like to be able assign some custom targets to a ninja job

[cmake-developers] Wrongly assuming lib/ is IsImplicitDirectory for runtime-paths

2017-05-15 Thread Patrick Boettcher
Hi list, This is a follow-up of my problem I discussed with myself on the cmake-mailing list: "CLANG vs GCC when linking executables". I found the root-cause of this problem: When constructing the rpath-arguments cmake is using an cmOrderDirectories called OrderLinkerSearchPath to which all the