[CMake] running cppunit from within cmake

2009-09-28 Thread e...@cs.bgu.ac.il
hello. I'm using cppunit to test my project, how can I run these tests from within cmake? must I create a executable for each testunit file? ___ Powered by www.kitware.com Visit other Kitware open-source projects at

Re: [CMake] CMake 2.8.0 RC 1 ready for testing!

2009-09-28 Thread Andreas Pakulat
On 28.09.09 00:05:35, Pau Garcia i Quiles wrote: On Fri, Sep 25, 2009 at 10:07 PM, Bill Hoffman bill.hoff...@kitware.com wrote: I am happy to announce that CMake 2.8.0 has entered the beta stage! You can find the source and binaries here: http://www.cmake.org/files/v2.8/. I am sure I am

[CMake] Copying different files during debug/release (was: Re: file1 newer than file2 test)

2009-09-28 Thread Fabio Fracassi
Hello James, James Bigler schrieb: I need to copy dlls into the binary directory, but I want to do it conservatively. Also I need different versions for Debug and Release, so add_custom_command doesn't work due to the lack of configuration specific dependencies. Ultimately, what I think

Re: [CMake] CMake 2.8.0 RC 1 ready for testing!

2009-09-28 Thread Andreas Pakulat
On 25.09.09 16:07:21, Bill Hoffman wrote: I am happy to announce that CMake 2.8.0 has entered the beta stage! You can find the source and binaries here: http://www.cmake.org/files/v2.8/. I am sure I am leaving something out, but here is the list of changes that I came up with. (If you

Re: [CMake] Copying different files during debug/release (was: Re: file1 newer than file2 test)

2009-09-28 Thread Jeroen Dierckx
On Mon, Sep 28, 2009 at 10:04 AM, Fabio Fracassi fabio.fraca...@charite.de wrote: Hello James, James Bigler schrieb: I need to copy dlls into the binary directory, but I want to do it conservatively.  Also I need different versions for Debug and Release, so add_custom_command doesn't work

Re: [CMake] INTERNAL vs. STATIC cache variables

2009-09-28 Thread Marcel Loose
On Fri, 2009-09-25 at 21:12 +0200, Alexander Neundorf wrote: On Friday 25 September 2009, Marcel Loose wrote: Hi all, Is there a difference in precedence between INTERNAL and STATIC cache variables? For example, what happens if I (accidentally) define an INTERNAL cache variable that

Re: [CMake] CMake 2.8.0 RC 1 ready for testing!

2009-09-28 Thread David Cole
On Mon, Sep 28, 2009 at 4:12 AM, Andreas Pakulat ap...@gmx.de wrote: On 28.09.09 00:05:35, Pau Garcia i Quiles wrote: On Fri, Sep 25, 2009 at 10:07 PM, Bill Hoffman bill.hoff...@kitware.com wrote: I am happy to announce that CMake 2.8.0 has entered the beta stage! You can find the

Re: [CMake] CMake 2.8.0 RC 1 ready for testing!

2009-09-28 Thread Bill Hoffman
Clinton Stimpson wrote: Where can I find more info on - Fortran/C mixed language projects made much easier. CMake now automatically can compute the run time libraries for a compiler. Does that mean there is a variable I can use instead of manually specifying libgfortran, libg2c and others

Re: [CMake] [v2.8-rc1] does't find freetype on windows

2009-09-28 Thread Bill Hoffman
Christian Ehrlicher wrote: Hi, FiFreetype with 2.8.0-rc1 (and maybe lower) doesn't find freetype on windows because ft2build.h isn't searched inside include/freetype2 Adding 'include/freetype2' to PATH_SUFFIXES in the first FIND_PATH statement solves the problem. Two questions... 1. did

Re: [CMake] CMake 2.8.0 RC 1 ready for testing!

2009-09-28 Thread Bill Hoffman
Andreas Pakulat wrote: On 25.09.09 16:07:21, Bill Hoffman wrote: I am happy to announce that CMake 2.8.0 has entered the beta stage! You can find the source and binaries here: http://www.cmake.org/files/v2.8/. I am sure I am leaving something out, but here is the list of changes that I came up

[CMake] LINK : fatal error LNK1104: cannot open file 'msvcprt.lib'

2009-09-28 Thread Mathieu Malaterre
Hi there, I do not understand how regular expression are parsed to detect error. When I look at page: http://www.cdash.org/CDash/viewConfigure.php?buildid=437117 Clearly the error is hard to indentify. However if I open the CMakeError.log file: Determining if this is a free VC compiler

Re: [CMake] LINK : fatal error LNK1104: cannot open file 'msvcprt.lib'

2009-09-28 Thread Bill Hoffman
Mathieu Malaterre wrote: Hi there, I do not understand how regular expression are parsed to detect error. When I look at page: http://www.cdash.org/CDash/viewConfigure.php?buildid=437117 Clearly the error is hard to indentify. However if I open the CMakeError.log file: Determining if this

Re: [CMake] LINK : fatal error LNK1104: cannot open file 'msvcprt.lib'

2009-09-28 Thread Mathieu Malaterre
On Mon, Sep 28, 2009 at 4:02 PM, Bill Hoffman bill.hoff...@kitware.com wrote: Mathieu Malaterre wrote: Hi there,  I do not understand how regular expression are parsed to detect error. When I look at page: http://www.cdash.org/CDash/viewConfigure.php?buildid=437117  Clearly the error is

[CMake] FindMatlab.cmake suggestion

2009-09-28 Thread Crni Gorac
Could you please add a possibility to specify Matlab root installation directory, through an environment variable, to FindMatlab.cmake module? For example, for non-Windows platforms, following line could be added after line 50 of FindMatlab.cmake (and, of course, alike line would be needed below,

Re: [CMake] Dependencies resolution for generated assembler files (TI DSP, s62/h62)

2009-09-28 Thread Alexander Neundorf
On Sunday 27 September 2009, Wojciech Migda wrote: Hi, projects created using Texas Instruments DSP tools involve compilation of assembler source (*.s62) and header (*.h62) files generated using a dedicated tool (tconf). Those source files include headers using a directive of a form:

Re: [CMake] FindMatlab.cmake suggestion

2009-09-28 Thread Alexander Neundorf
On Monday 28 September 2009, Crni Gorac wrote: Could you please add a possibility to specify Matlab root installation directory, through an environment variable, to FindMatlab.cmake module? For example, for non-Windows platforms, following line could be added after line 50 of FindMatlab.cmake

Re: [CMake] CMake 2.8.0 RC 1 ready for testing!

2009-09-28 Thread Martin Apel
Hi all, thanks for your efforts to improve CMake. Especially the support to run tests in parallel is really great! However I found a few quirks in the first rc: 1. I have quite a lot of Fortran files in one of our projects. We use the Intel Fortran 11 compiler to compile these. When gathering

Re: [CMake] CMake 2.8.0 RC 1 ready for testing!

2009-09-28 Thread Andreas Pakulat
On 28.09.09 09:01:07, Bill Hoffman wrote: Andreas Pakulat wrote: On 25.09.09 16:07:21, Bill Hoffman wrote: I am happy to announce that CMake 2.8.0 has entered the beta stage! You can find the source and binaries here: http://www.cmake.org/files/v2.8/. I am sure I am leaving something out,

[CMake] Disabling ranlib on *nix systems

2009-09-28 Thread Wojciech Migda
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I'd like to force CMake not to execute ranlib on *nix system. I've got a workaround - I set CMAKE_RANLIB to 'echo' - but it's nonelegant. Is there another way to disable execution of ranlib ? There is a reason why I need that: TI DSP linker for

Re: [CMake] FindMatlab.cmake suggestion

2009-09-28 Thread Crni Gorac
On Mon, Sep 28, 2009 at 6:37 PM, Alexander Neundorf a.neundorf-w...@gmx.net wrote: On Monday 28 September 2009, Crni Gorac wrote: Could you please add a possibility to specify Matlab root installation directory, through an environment variable, to FindMatlab.cmake module?  For example, for

Re: [CMake] Problem copying generated files in an out-of-source build

2009-09-28 Thread Eric Tellefsen
Anatoly, Thanks for the advice - I included the binary dir and all is well Eric Anatoly Shirokov shiroko...@mail.ru wrote on 09/25/2009 12:25:16 AM: May be it helps: generated/CMakeLists.txt: project (generated) add_custom_command(...) ... depends_on_generated/CMakeLists.txt:

Re: [CMake] CMake 2.8.0 RC 1 ready for testing!

2009-09-28 Thread Brad King
Hi Martin, Thanks for trying the release candidate. It is helpful to get feedback early in the release process. Martin Apel wrote: However I found a few quirks in the first rc: 1. I have quite a lot of Fortran files in one of our projects. We use the Intel Fortran 11 compiler to compile

Re: [CMake] CMake 2.8.0 RC 1 ready for testing!

2009-09-28 Thread Brad King
Andreas Pakulat wrote: On 25.09.09 16:07:21, Bill Hoffman wrote: I am happy to announce that CMake 2.8.0 has entered the beta stage! You can find the source and binaries here: http://www.cmake.org/files/v2.8/. I am sure I am leaving something out, but here is the list of changes that I came

[CMake] minor bug in CTest 2.8.0 RC1

2009-09-28 Thread Philip Lowman
The CTest output on failure feature appears to have been forgotten about in implementing the new parallel handler. Patch is attached. http://public.kitware.com/Bug/view.php?id=9612 Also, not sure if this is intentional or not, but '-j' isn't documented? :( -- Philip Lowman

Re: [CMake] Following up Issue 8177 -- CPACK_NSIS_MODIFY_PATH not working

2009-09-28 Thread David Cole
This patch has been applied and the fix is in the 2.8.0-rc-1 release candidate... On Wed, Sep 2, 2009 at 11:27 PM, Chris Cheung cheun...@clustertech.comwrote: Dear developers, I met the same problem as described in Issue 8177 http://www.vtk.org/Bug/print_bug_page.php?bug_id=8177

Re: [CMake] CMake 2.8.0 RC 1 ready for testing!

2009-09-28 Thread Luigi Calori
Bill Hoffman wrote: I am happy to announce that CMake 2.8.0 has entered the beta stage! You can find the source and binaries here: http://www.cmake.org/files/v2.8/. - - New External Project Module. The 'ExternalProject_Add' function creates a custom target to drive download,

[CMake] CMake cvs TOT and Xcode

2009-09-28 Thread James Bigler
I tried this with a fairly simple example with CMake cvs TOT. Any ideas? CMakeLists.txt: cmake_minimum_required(VERSION 2.6) project(my_include_directories) $ /code/cmake-cvs/install/bin/cmake ../ -G Xcode -- The C compiler identification is GNU -- The CXX compiler identification is GNU --