Re: [CMake] spoof "Not Run" dashboard status

2013-11-04 Thread Rolf Eike Beer
Am Montag, 4. November 2013, 16:09:04 schrieb burlen: > Can a test return a value to indicate that it could not be run? > > The use case I'm thinking of is for VTK's rendering tests. When a test > is run on a driver with known bugs, the test is skipped internally, and > shows up as passed in the d

Re: [CMake] [cmake-developers] Forwarding parameters to cmake through cmake-gui

2013-11-04 Thread Jean-Christophe Fillion-Robin
Would it makes sense to have cmake-gui behaving like ccmake ? After all there are both "UI". It would accept the same set of options: -C = Pre-load a script to populate the cache. -D := = Create a cmake cache entry. -U = Remove matching entries from CMake cache. -G

[CMake] spoof "Not Run" dashboard status

2013-11-04 Thread burlen
Can a test return a value to indicate that it could not be run? The use case I'm thinking of is for VTK's rendering tests. When a test is run on a driver with known bugs, the test is skipped internally, and shows up as passed in the dashboard. I suspect that it's done this way to avoid polluti

Re: [CMake] Combinatorial validation with cmake

2013-11-04 Thread Alan W. Irwin
On 2013-11-04 10:59- PULVERAIL, Sebastien wrote: Hi there, I have been using cmake for a while now, but just for compilation.. Now, I am trying to use ctest/cdash for doing my tools validation. I need to do a combinatorial validation running my tests multiple times and in a random order.

Re: [CMake] [cmake-developers] Forwarding parameters to cmake through cmake-gui

2013-11-04 Thread Brad King
On 11/04/2013 03:47 PM, David Cole wrote: > ccmake and cmake-gui *should* behave (in *my* opinion) as follows: > - on startup, load the CMakeCache.txt values (if there are any) from > the previous run > - then apply the -D arguments so that any -D arguments given on the > command line overwrite p

Re: [CMake] Forwarding parameters to cmake through cmake-gui

2013-11-04 Thread David Cole
My question is still not answered completely: When should the new variable be added? On startup is not really possible because it might be the case that your src/binary directory is not set properly. So you would agree that it makes sense to do it "on configure" but only if the cache is emp

Re: [CMake] Distinction between Windows Compilers

2013-11-04 Thread dravion.sm...@gmx.net
Am 04.11.2013 16:44, schrieb Mateusz Loskot: You could look at the compiler id and related variables: http://www.cmake.org/cmake/help/v2.8.12/cmake.html#variable:CMAKE_LANG_COMPILER_ID Right, but that's not at the generator level which is, AFAIU, what OP is looking for. Best regards, Yeah. Mi

Re: [CMake] Forwarding parameters to cmake through cmake-gui

2013-11-04 Thread physhh .
My question is still not answered completely: When should the new variable be added? On startup is not really possible because it might be the case that your src/binary directory is not set properly. So you would agree that it makes sense to do it "on configure" but only if the cache is empty? This

Re: [CMake] Proper way to export a library

2013-11-04 Thread Matthew Woehlke
On 2013-11-02 13:38, Cyrille Faucheux wrote: [...] from what I understood from Matthew first answer ("implicit compile flags [...] for imported tagets"), I was under the impression that I could get MYPROJECT_STATIC automatically defined when linking another program against a static version of my

Re: [CMake] Forwarding parameters to cmake through cmake-gui

2013-11-04 Thread Matthew Woehlke
On 2013-11-02 07:58, David Cole wrote: physhh wrote: The question is: What is the expected behavior? ccmake and cmake-gui are interactive programs meant to prompt the user to fill in the cache values properly before typing 'c' or clicking 'Configure'. -D is a convenient way to give cache valu

Re: [CMake] Distinction between Windows Compilers

2013-11-04 Thread Mateusz Loskot
On 4 November 2013 15:38, Bill Hoffman wrote: > On 11/4/2013 10:21 AM, Mateusz Loskot wrote: >> >> I don't care about MinGW/Cygwin myself, but AFAIR, there is no >> detection mechanism >> for those, only -m64 flag juggling. > > You could look at the compiler id and related variables: > http://www.

Re: [CMake] Distinction between Windows Compilers

2013-11-04 Thread Bill Hoffman
On 11/4/2013 10:21 AM, Mateusz Loskot wrote: I don't care about MinGW/Cygwin myself, but AFAIR, there is no detection mechanism for those, only -m64 flag juggling. You could look at the compiler id and related variables: http://www.cmake.org/cmake/help/v2.8.12/cmake.html#variable:CMAKE_LANG_COMP

Re: [CMake] Distinction between Windows Compilers

2013-11-04 Thread Mateusz Loskot
On 4 November 2013 15:16, dravion.sm...@gmx.net wrote: > Am 04.11.2013 16:09, schrieb Mateusz Loskot: >> >> On 4 November 2013 14:45, dravion.sm...@gmx.net >> wrote: >>> >>> Hi, >>> >>> Is there an Way to choose diffrent Windows Compilers Versions for (Win64 >>> and Win32)? >> >> >> http://cmake

Re: [CMake] Distinction between Windows Compilers

2013-11-04 Thread dravion.sm...@gmx.net
Am 04.11.2013 16:09, schrieb Mateusz Loskot: On 4 November 2013 14:45, dravion.sm...@gmx.net wrote: Hi, Is there an Way to choose diffrent Windows Compilers Versions for (Win64 and Win32)? http://cmake.org/cmake/help/v2.8.12/cmake.html#section_Generators """ It is possible to append a spac

Re: [CMake] Distinction between Windows Compilers

2013-11-04 Thread Mateusz Loskot
On 4 November 2013 14:45, dravion.sm...@gmx.net wrote: > Hi, > > Is there an Way to choose diffrent Windows Compilers Versions for (Win64 > and Win32)? http://cmake.org/cmake/help/v2.8.12/cmake.html#section_Generators """ It is possible to append a space followed by the platform name to create

[CMake] Distinction between Windows Compilers

2013-11-04 Thread dravion.sm...@gmx.net
Hi, Is there an Way to choose diffrent Windows Compilers Versions for (Win64 and Win32)? For Example: If i want to do a Windows 64-Bit build build cmake should use: x86_64-w64-mingw32-g++.exe (but not Cygwin and NOT Mingw/Msys) OR Visual C/C++ Win64 Compiler If i want to do a Window

[CMake] Combinatorial validation with cmake

2013-11-04 Thread PULVERAIL, Sebastien
Hi there, I have been using cmake for a while now, but just for compilation.. Now, I am trying to use ctest/cdash for doing my tools validation. I need to do a combinatorial validation running my tests multiple times and in a random order. So I found the "--schedule-option" to run tests in a ra