[CMake] How to redirect the output of an executable while testing

2009-02-23 Thread ankit jain
Hi all, I have an executable having some test cases. I want to give some arguments to it which i will give it through add_test command. but my objective is to write the output of the executable to a file at run tiem itself. How to do that? Secondly i want ot use this file in which output of

Re: [CMake] How to redirect the output of an executable while testing

2009-02-23 Thread Mathieu Malaterre
On Mon, Feb 23, 2009 at 1:46 PM, ankit jain ankitgu...@gmail.com wrote: Hi all, I have an executable having some test cases. I want to give some arguments to it which i will give it through add_test command. but my objective is to write the output of the executable to a file at run tiem

Re: [CMake] creating custom make targets

2009-02-23 Thread Leo Breebaart
Brad King brad.k...@kitware.com writes: To answer the original question, the best way to generate a bunch of things only when the users asks is to use add_custom_command to create the rules and then associate them with a top-level target using add_custom_target: add_custom_command(

[CMake] CMake 2.6.3 available for download

2009-02-23 Thread Bill Hoffman
On behalf of myself, Ken, Brad, Dave, Alex and the rest of the CMake team, we are pleased to announce that CMake 2.6.3 is available for download at: http://www.cmake.org/cmake/resources/software.html The documentation for 2.6.3 can be found here:

[CMake] CMake 2.6.3 small installation issue on OS/X

2009-02-23 Thread Emmanuel Blot
The installer for CMake 2.6.3 fails to create symbolic links on OS/X if links already exist (from a previous installation, e.g. CMake 2.6.2 on my machine) It pops up one error box for each link it fails to create. Cheers, Manu On 23 Feb 2009, at 19:16, Bill Hoffman wrote: On behalf of

[CMake] FindBoost can't find static libraries on MinGW or Intel C++ compilers on Windows / CMake 2.6.3

2009-02-23 Thread Philip Lowman
Anyone that uses FindBoost using MinGW or the Intel C++ compiler for Windows with static libraries, please be aware of this unfortunate regression introduced in 2.6.3 and a one-line patch for the problem: http://public.kitware.com/Bug/view.php?id=8576 Sorry about this. I fixed so many bugs in