[CMake] ctest -j and PARALLEL_LEVEL argument

2013-08-08 Thread Massaro Alessio
Hi, This one should be a super-quick: does "ctest -j N" also set a default PARALLEL_LEVEL=N for ctest_memcheck and ctest_test? Could not google anything useful out! Thanks in advance! This message has been sent from a Mediobanca S.p.A. email address. The informat

Re: [CMake] Adding convenience links to data files to generated Visual Studio projects

2012-04-18 Thread Massaro Alessio
Answering my own question: just add the files to the add_library or add_executable calls. From: Massaro Alessio Sent: 18 April 2012 09:51 To: 'cmake@cmake.org' Subject: Adding convenience links to data files to generated Visual Studio projects Hi there Does anyone know of a

[CMake] Adding convenience links to data files to generated Visual Studio projects

2012-04-18 Thread Massaro Alessio
Hi there Does anyone know of a way to add convenience links to data files to generated Visual Studio projects? Basically I'm looking at a way to use VS as a sort of filesystem browser. In Visual Studio one can add "links" to files. They can be double-clicked and opened with a click, but are ot

[CMake] cmake --build switches ANSI color escape codes off in MINGW bash

2012-03-28 Thread Massaro Alessio
Hi there Strange thing with ANSI colors Calling cmake --build from a script in a MINGW bash shell will output ANSI colours escape codes as follows ←[0m[ 12%] ←[32mBuilding CXX object basic/CMakeFiles/.. Piping the same script to /bin/less or calling the native make tool directly will rend

[CMake] Passing extra parameters to CTest from a RUN_TESTS visual studio project

2012-03-14 Thread Massaro Alessio
Hi there This has been asked before in 2010, but I thought I might check if anything has changed in CMake v2.8.7. Is it possible to specify extra flags for CTest when it's invoked by the post-build script in a Visual Studio RUN_TESTS project? Adding the following to my main CMakeLists.txt, mai

Re: [CMake] find_package(Subversion) fails when run by an automated Jenkins build

2012-03-06 Thread Massaro Alessio
services were running under the built-in system account. Thanks very much for the feedback! -Original Message- From: Eric Noulard [mailto:eric.noul...@gmail.com] Sent: 29 February 2012 18:32 To: Massaro Alessio Cc: cmake@cmake.org Subject: Re: [CMake] find_package(Subversion) fails when run by

[CMake] find_package(Subversion) fails when run by an automated Jenkins build

2012-02-29 Thread Massaro Alessio
Hi there, Awkward behaviour: My CMakeLists.txt do a find_package(Subversion) Now, I have a Jenkins build server running under domain user XYZ The Jenkins CMake plugin tells me it's trying to do the following: "c:\Program Files\CMake 2.8\bin\cmake.exe" -G "Visual Studio 9 2008"

Re: [CMake] CPack ZIP generator: is there a way to avoid a root directory named ${CPACK_PACKAGE_FILE_NAME} in the zip?

2012-02-14 Thread Massaro Alessio
That did it nice and clean. THANK YOU VERY MUCH! -Original Message- From: Eric Noulard [mailto:eric.noul...@gmail.com] Sent: 13 February 2012 23:33 To: Massaro Alessio Cc: cmake@cmake.org Subject: Re: [CMake] CPack ZIP generator: is there a way to avoid a root directory named

[CMake] CPack ZIP generator: is there a way to avoid a root directory named ${CPACK_PACKAGE_FILE_NAME} in the zip?

2012-02-13 Thread Massaro Alessio
Hi there The CPack ZIP generator seems to always put all "installed" files in a directory called ${CPACK_PACKAGE_FILE_NAME} So, if ${CPACK_PACKAGE_FILE_NAME}=="xyz", the zip file will have one single "xyz" directory at the root, with all "installed" files placed therein. Does anyone know if the

[CMake] add_test( WORKING_DIRECTORY ) does not actua

2012-02-06 Thread Massaro Alessio
Hi there The following message in cmTest.cxx doesn't seem to be accurate for Visual Studio 9. 200   cm->DefineProperty 201 ("WORKING_DIRECTORY", cmProperty::TEST, 202  "The directory from which the test executable will be called.", 203   "If this is not set it is called from the 

Re: [CMake] runtime dependencies for tests

2012-02-03 Thread Massaro Alessio
{mod_name} PROPERTIES ENVIRONMENT "PATH=${newPath}") -Original Message- From: Massaro Alessio Sent: 03 February 2012 10:28 To: 'Michael Hertling'; cmake@cmake.org Subject: RE: [CMake] runtime dependencies for tests Thanks to everyone for the feedback! The follow

Re: [CMake] runtime dependencies for tests

2012-02-03 Thread Massaro Alessio
cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Michael Hertling Sent: 01 February 2012 02:20 To: cmake@cmake.org Subject: Re: [CMake] runtime dependencies for tests On 01/31/2012 02:43 PM, Massaro Alessio wrote: > Hi There > > I googled near and far, but could not

[CMake] runtime dependencies for tests

2012-01-31 Thread Massaro Alessio
Hi There I googled near and far, but could not find a way to tell CTest where to find the 3rd-party DLLs required to run the test executables. In particular my executable targets link with a few Boost DLLs/SOs and obviously require them to run. I understand on the Linux/Solaris I can use RPATH