Re: [CMake] How to set _default_ timeout for the ctest command?

2015-12-09 Thread Marcel Loose
Hi Alan, Just by experimenting, I discovered that you also need to set DART_TESTING_TIMEOUT. I'm not sure what the relationship (if any) is between CTEST_TEST_TIMEOUT and DART_TESTING_TIMEOUT. I set them both in the file CTestConfig.cmake. I get the feeling that DART_TESTING_TIMEOUT is there for

Re: [cmake-developers] Please comment on ios-universal topic

2015-12-09 Thread Ruslan Baratov via cmake-developers
On 09-Dec-15 04:51, Gregor Jasny wrote: Hello, On 02/12/15 13:44, Bartosz Kosiorek wrote: I would like to propose to rename property name to INSTALL_IOS_UNIVERSAL_LIBS. My thoughts about the property name: I added the necessary functionality to also combine Frameworks and App Bundles. So

[cmake-developers] Keil Armcc support

2015-12-09 Thread yann suisini
Hi, Is theresomme support planned in a near future for the Keil / Armcc toolchain ? Regards, Yann Suisini -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake

[Cmake-commits] CMake branch, master, updated. v3.4.1-656-g27ed820

2015-12-09 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 27ed820c816a80bf140613cb2f47ccb2f21b021f (commit) via

[Cmake-commits] CMake branch, next, updated. v3.4.1-1649-gdf5dbe2

2015-12-09 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 df5dbe2d51b9b88583792bdfe818c97e8a6474c8 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.4.1-1655-g93c69b8

2015-12-09 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 93c69b8edc6c0b1a69cc995c0321cc275acdd3ee (commit) via

[Cmake-commits] CMake branch, master, updated. v3.4.1-660-gad1be6e

2015-12-09 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 ad1be6ee769ecaba4d6dadae84c0fc372049a333 (commit) via

[Cmake-commits] CMake branch, next, updated. v3.4.1-1658-g3b6d20b

2015-12-09 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 3b6d20b90ba55652b3bd3f75ceed4bc6a45286c4 (commit) via

Re: [cmake-developers] [CMake][PATCH] AIX RPATH handling

2015-12-09 Thread Brad King
On 12/09/2015 09:09 AM, CHEVRIER, Marc wrote: > You are right. I missed this capability. > My first idea was to apply to exec the same approach as for shared lib but I > didn’t found appropriate variable: something like > CMAKE_EXE_CREATE__FLAGS > Or may be CMAKE_EXE_LINKER_FLAGS_INIT can be

[CMake] Parallel jobs failed for cmake

2015-12-09 Thread Igor Sobinov
Hello, I compiled cmake based project with -jN option, but failed: I got the following error: make[4]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule. How to make cmake to compile with multiple targets? Bye, Igor -- Powered by www.kitware.com Please keep messages

Re: [cmake-developers] Proposal to teach cmDepends to only take dependencies from the source tree

2015-12-09 Thread Ben Boeckel
On Wed, Dec 09, 2015 at 09:19:45 +0100, Attila Krasznahorkay wrote: > I myself am on the side of simplicity. Using regular expressions would > allow us to do what I want. But if >95% of the people using this new > possibility would use it exactly like I plan to, then implementing it > in a more

[Cmake-commits] CMake branch, master, updated. v3.4.1-665-gdc873f6

2015-12-09 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 dc873f6eef1e6f952cf3d09be7568b03fbf8c6d3 (commit) via

Re: [cmake-developers] [CMake][PATCH] AIX RPATH handling

2015-12-09 Thread Brad King
On 12/09/2015 08:02 AM, CHEVRIER, Marc wrote: > Attached is a patch for AIX enabling correct generation of executables > regarding runtime path handling (currently, build paths could be stored > as part of installed executables): option -bnoipath is required for > executables link command

Re: [cmake-developers] Add command line options for deprecation message control

2015-12-09 Thread Brad King
On 12/07/2015 01:51 PM, Michael Scott wrote: >> I noticed one glitch. I built against Qt 5.5.1 on Linux and the >> option dialog seems to truncate the labels. > I think I've fixed it, by using vertical layouts rather than form > layouts and setting the size policy to expanding for the widgets,

Re: [cmake-developers] Keil Armcc support

2015-12-09 Thread Brad King
On 12/09/2015 06:25 AM, yann suisini wrote: > Is theresomme support planned in a near future for the > Keil / Armcc toolchain ? This was contributed recently: Add support for the ARM Compiler (arm.com) https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=035a658f

Re: [CMake] Parallel jobs failed for cmake

2015-12-09 Thread Richard Shaw
On Wed, Dec 9, 2015 at 7:32 AM, Igor Sobinov wrote: > Hello, > > I compiled cmake based project with -jN option, but failed: I got the > following error: > > make[4]: warning: jobserver unavailable: using -j1. Add `+' to parent > make rule. > > How to make cmake to compile with

Re: [cmake-developers] [CMake][PATCH] AIX RPATH handling

2015-12-09 Thread CHEVRIER, Marc
Oops ! You are right, on a simple example, all is OK. So the problem seems on my side. I will investigate this curious behaviour… Sorry for the noise. Marc On 09/12/15 15:15, "Brad King" wrote: >On 12/09/2015 09:09 AM, CHEVRIER, Marc wrote: >> You are right. I

[CMake] How to select components by default using CPack ?

2015-12-09 Thread David Demelier
Hello, I'm trying to create a tree of components like this: - plugins | - a | - b Where the user can select plugins to select all children or manually select a, b. I can get the selection of that component tree but unable to mark them selected by default using CPackIFW. This is my

Re: [CMake] Parallel jobs failed for cmake

2015-12-09 Thread J Decker
On Wed, Dec 9, 2015 at 5:32 AM, Igor Sobinov wrote: > Hello, > > I compiled cmake based project with -jN option, but failed: I got the > following error: > > make[4]: warning: jobserver unavailable: using -j1. Add `+' to parent make > rule. > That is actually only a warning

Re: [cmake-developers] [CMake][PATCH] AIX RPATH handling

2015-12-09 Thread CHEVRIER, Marc
You are right. I missed this capability. My first idea was to apply to exec the same approach as for shared lib but I didn’t found appropriate variable: something like CMAKE_EXE_CREATE__FLAGS Or may be CMAKE_EXE_LINKER_FLAGS_INIT can be used but I am not sure of the usage of the *_INIT

[CMake] Toolset target property?

2015-12-09 Thread Robert Dailey
Doesn't look like there is a Toolset target property anywhere. You can set it from the command line, but I think setting a toolset per target makes sense. Considering the direction that Visual Studio 2015 is headed. For example Microsoft has a Clang compiler with MS CodeGen. They recommend using

[CMake] CPack and PackageMaker

2015-12-09 Thread Robert Bielik
Mac OSX: Since PackageMaker has been deprecated by Apple, the new tools to use are pkgbuild [1] and productbuild [2]. Simple question: Is there any work being done by the CMake community on a new OS X CPack backend to support the above tools ? Regards /Robert [1]

[Cmake-commits] CMake branch, next, updated. v3.4.1-1660-g11039e0

2015-12-09 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 11039e0002bd03eccaee930d308b1afd5dcf3a9b (commit) via

Re: [CMake] Idea: generic task-driven make-like targets with CMake

2015-12-09 Thread Kevin Wojniak
Looks interesting Tamas! Too bad shell scripts don’t work natively on Windows :) Kevin On 8 Dec 2015, at 16:59, Tamás Kenéz wrote: Kevin, I have a shell script for such tasks, see https://gist.github.com/tamaskenez/d4509f240f4224eb9853. Feel free to use it if that's what you need. It

[CMake] CMake target_link_libraries() items should be quoted or not? Linux/Ubuntu 14.04 cmake 3.4.1

2015-12-09 Thread Normand Robert
Reading docs trying to understand why my build works when I write target_link_libraries(Debug ${VTK_LIBRARIES} -lsri-spatialfft -lsri-spatial -lsri-memory) but does not work when everything is protected in quotes: target_link_libraries(Debug "${VTK_LIBRARIES} -lsri-spatialfft -lsri-spatial

[CMake] CMake target_link_libraries items should be quoted or not? Linux/Ubuntu 14.04 cmake 3.4.1

2015-12-09 Thread Normand Robert
robert@kalymnos:~/Code/Debug/normandBuild$ cmake --version cmake version 3.4.1 Reading docs trying to understand why my build works when I write target_link_libraries(Debug ${VTK_LIBRARIES} -lsri-spatialfft -lsri-spatial -lsri-memory) but not when everything is protected in quotes:

[CMake] To Post to the "CMake" Mailing List

2015-12-09 Thread Humberto H`
Hi,Please, I would like to be able to post to the "CMake" mailing list. Thank you.Humberto Leon-Bermudez -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake

Re: [CMake] Idea: generic task-driven make-like targets with CMake

2015-12-09 Thread Tamás Kenéz
[getting offtopic] Well, not because of this script but for any serious development on Windows I think it's a good idea to use the *nix shell provided by the Windows Git installation, it feels quite native. Together with cbucher's ConsoleZ you get a very convenient environment for

[cmake-developers] set(CACHE) and the local scope

2015-12-09 Thread Ben Boeckel
Hi, So some behavior I was unaware of until today came up: set(var ON) option(var "description" OFF) message("var: ${var}") outputs "OFF" for the first configure and "ON" for subsequent configures. This is because set(var CACHE) does unset(var) *if* the cache was touched. This is

[cmake-developers] [CMake 0015876]: "Cannot restore timestamp"

2015-12-09 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://public.kitware.com/Bug/view.php?id=15876 == Reported By:A. Jesse Jiryu Davis Assigned To:

Re: [CMake] target_include_directories SYSTEM adds -isystem to Clang, but not GCC

2015-12-09 Thread Gregor Jasny via CMake
On 08/12/15 20:21, digitalriptide wrote: > Thank you Gregor! I have tried the Makefile generator, but on OS X -isystem > still seems to be missing with GCC. The -isystem flag appears with Clang, > however. I have installed CMake 3.4.1 and GCC 5.3.0, both through MacPorts. > I can provide a sample

[CMake] organizing includes statements

2015-12-09 Thread Owen Alanzo Hogarth
hi I am building a shared library project that's composed of many smaller shared library files. Here's the main shared library project and a list of all the sub projects. SET(HEADER_FILES ${CMAKE_CURRENT_SOURCE_DIR}/headers/main_lib.h) SET(SRC_FILES ${CMAKE_CURRENT_SOURCE_DIR}/main_lib.c)

[CMake] How to set environment variables with spaces in commands

2015-12-09 Thread Qingping Hou
Hi all, I am trying to setup an ExternalProject in cmake but got stuck in the configuration step. I am using ccache to speed up the compilation: ``` ExternalProject_Add( ... CONFIGURE_COMMAND CC="ccache arm-linux-gnueabihf-gcc" ./configure ... ) ``` However, when cmake generates the

Re: [CMake] How to set environment variables with spaces in commands

2015-12-09 Thread Attila Krasznahorkay
Hi QP, Probably not the intended solution, but what I’m doing in such cases is that in a patch step I create a shell script that does the configuration for me. With all the environment settings and everything. Like: PATCH_COMMAND ${CMAKE_COMMAND} -E echo “cd someDir/; CC=\”something\”

Re: [cmake-developers] Please comment on ios-universal topic

2015-12-09 Thread Gregor Jasny via cmake-developers
Hello, On 09/12/15 10:21, Ruslan Baratov wrote: IOS_INSTALL_COMBINED_BINARY Just to clarify you want to leave only one variable IOS_INSTALL_COMBINED_BINARY for the device + simulator on iOS platforms. Other platforms (in future) will be controlled by using *_ARCHITECTURES variables, right?

[Cmake-commits] CMake branch, master, updated. v3.4.1-666-ga657b32

2015-12-09 Thread Kitware Robot
_VERSION_MINOR 4) -set(CMake_VERSION_PATCH 20151209) +set(CMake_VERSION_PATCH 20151210) #set(CMake_VERSION_RC 1) --- Summary of changes: Source/CMakeVersion.cmake |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) hooks/

Re: [CMake] organizing includes statements

2015-12-09 Thread Attila Krasznahorkay
Hi Owen, This seems like a textbook example of using target_include_directories(…) with generator expressions. Let’s take the example where: lib1/headers/lib1.h lib1/lib1.c lib2/headers/lib2.h lib2/lib2.c If you want to be able to include lib1.h and lib2.h with simply #include “lib1.h” and

Re: [CMake] How to set _default_ timeout for the ctest command?

2015-12-09 Thread Alan W. Irwin
On 2015-12-09 09:23+0100 Marcel Loose wrote: Hi Alan, Just by experimenting, I discovered that you also need to set DART_TESTING_TIMEOUT. I'm not sure what the relationship (if any) is between CTEST_TEST_TIMEOUT and DART_TESTING_TIMEOUT. I set them both in the file CTestConfig.cmake. I get the

Re: [CMake] Parallel jobs failed for cmake

2015-12-09 Thread Igor Sobinov
Hello All, Here is the small description of the issue: OS: RHEL 6.6 cmake ver. 2.8.12.2 gmake ver. 3.81 I launch the build and got the following error: make build_release -j5 make[1]: Entering directory `/home/igor/build_root/release_target' make[1]: warning: jobserver unavailable: using -j1.

Re: [CMake] organizing includes statements

2015-12-09 Thread Owen Alanzo Hogarth
my main CMakeLists.txt file already has a few directives that move the libs to an output folder so the binaries go to /bin while static and shared libraries go to /lib set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib) set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)

[cmake-developers] [PATCH] Support multiple directories by "cmake -E make_directory" command

2015-12-09 Thread Bartosz Kosiorek
Hello. With following patch, I have added support for multiple directories for make_directory command. ?Best Regards Bartosz From e189db26e60254712e3e73a11296c58d8f61fe68 Mon Sep 17 00:00:00 2001 From: Bartosz Kosiorek Date: Wed, 9 Dec 2015 15:59:43 +0100 Subject: