Re: [cmake-developers] [Patch] Add option --no-return-code

2015-08-18 Thread A. Klitzing
Yeah, you are right. If ctest itself fails it should return non-zero. We use qtestlib [1] from Qt5 and add every testsuite with ADD_TEST and dump a logfile that will be parsed by xunit plugin [2] of jenkins. ADD_TEST(${TESTNAME} ${TESTNAME} -platform offscreen -v2 -o

Re: [cmake-developers] Java support

2015-08-18 Thread CHEVRIER, Marc
Thank you. Unfortunately I don’t have access to an HP-UX system. From what I remember, HP-UX expect shared libraries with same name pattern as Linux except that extension is .sl rather than .so. Marc On 14/08/15 15:45, Brad King brad.k...@kitware.com wrote: On 08/07/2015 04:04 AM,

[cmake-developers] [CMake 0015703]: cmake -E copy is not working with wildcart, when full path is specified

2015-08-18 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == http://www.cmake.org/Bug/view.php?id=15703 == Reported By:gang65 Assigned To:

Re: [cmake-developers] Recursion in OUTPUT_NAME genex

2015-08-18 Thread Robert Goulet
Please try new patch in attachment, this might fix it. I'm now using both the config name and the implib boolean for the map key. I didn't use std::tie to implement operator since I remember you told me to not use C++11 features in CMake code. Let me know if that works out. Thanks.

Re: [cmake-developers] Retain platform name when generating VS projects

2015-08-18 Thread Robert Goulet
Thanks, it does work. -Original Message- From: Brad King [mailto:brad.k...@kitware.com] Sent: Tuesday, August 18, 2015 10:44 AM To: Robert Goulet robert.gou...@autodesk.com Cc: cmake-developers@cmake.org Subject: Re: [cmake-developers] Retain platform name when generating VS projects On

Re: [cmake-developers] [CMake 0015597]: Issues with the 'Eclipse CDT4 - NMake Makefiles' Generator

2015-08-18 Thread Gregor Jasny via cmake-developers
Hello, On 29/05/15 20:56, Mantis Bug Tracker wrote: Summary:Issues with the 'Eclipse CDT4 - NMake Makefiles' Generator Description: The project compiles and links in Eclipse but the preprocessor symbols are not defined by the .cproject file. As a result, sections with

[cmake-developers] Retain platform name when generating VS projects

2015-08-18 Thread Robert Goulet
Hi all, Here at the office we added some code to CMake to be able to support closed platforms when generating Visual Studio project files. The changes weren't complicated; it was just a matter to retain the platform name upon generation. Essentially, we replace the Win32 or x64 string in the

Re: [cmake-developers] [Patch] Add option --no-return-code

2015-08-18 Thread Brad King
On 08/18/2015 04:30 AM, A. Klitzing wrote: Yeah, you are right. If ctest itself fails it should return non-zero. [snip] ctest will also return non-zero because a testsuite failed. Right, it should not do the latter. Looking through recent history the cleanup of return code computation I

Re: [cmake-developers] Recursion in OUTPUT_NAME genex

2015-08-18 Thread Brad King
On 08/17/2015 11:59 AM, Robert Goulet wrote: I'm assuming that master branch is 3.4? Yes. It's not yet in 'master' though. cmGeneratorTarget: Avoid recursion in GetOutputName method http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=e66a7d69 I had to revert it due to nightly testing

Re: [cmake-developers] [PATCH] CPack: change cpack_set_if_not_set into a function

2015-08-18 Thread Brad King
On 08/17/2015 05:13 PM, Роман Донченко wrote: What makes this macro a public one? It's not listed in cmake --help-module CPack, so I assumed it was an implementation detail. It was originally intended as an implementation detail but since it is available in a public module, does not start

Re: [cmake-developers] Retain platform name when generating VS projects

2015-08-18 Thread Brad King
On 08/18/2015 10:12 AM, Robert Goulet wrote: replace the “Win32” or “x64” string in the platform name See CMAKE_GENERATOR_PLATFORM and the cmake -A command line option. -Brad -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at:

Re: [cmake-developers] Clarification requested on #10126 (CMake creates files with wrong permissions)

2015-08-18 Thread Ben Boeckel
On Sun, Aug 16, 2015 at 21:52:26 -, James Johnston wrote: d. If the answer to (c) is yes, should that keyword become the default, subject to a new policy? (And introduction of a different NO_RESPECT_UMASK keyword). FWIW, the install(1) tool does not respect umask by default (and has

Re: [cmake-developers] Setting up environment using ExternalProject_Add

2015-08-18 Thread Ruslan Baratov via cmake-developers
On 11-Aug-15 07:49, James Johnston wrote: I have found it annoyingly difficult to set up an environment for a build when using ExternalProject_Add. I can confirm that there is an additional mess with the environment sometimes and not just about setting it (like vcvarsall.bat for Visual