[Cdash] ctest_empty_binary_directory()

Larry Procter larry at transpireinc.com
Mon Jun 21 23:31:01 UTC 2010


Thanks for the clarification Chris. Your description makes perfect
sense.


On Mon, 2010-06-21 at 16:18 -0700, Chris Hillery wrote:
> The docs don't specify that, it's true. (And they probably should.)
> It's a little clearer once you know that cmake ascribes a specific
> meaning to the term "binary directory" - it's a directory created as
> part of a cmake build process where binaries (and other derived
> objects) are stored. So, probably, if that's not the kind of directory
> you wanted to remove, you wouldn't have thought to use
> ctest_empty_binary_directory() for that purpose.
> 
> Ceej
> aka Chris Hillery
> 
> On Mon, Jun 21, 2010 at 1:52 PM, Larry Procter
> <larry at transpireinc.com> wrote:
>         Thanks to all. This works now that I got my head out of other
>         languages
>         that use "," to separate args! Ahhhhh. My stupid!
>         
>         As for the ctest_empty_binary_directory(dir), I was not aware
>         that it
>         required a directory containing a CMakeCache.txt file.  I
>         didn't see
>         this in the documentation.
>         
>         Thanks for all the help,
>         
>         Larry
>         
>         
>         On Mon, 2010-06-21 at 22:25 +0200, Alexander Neundorf wrote:
>         > On Monday 21 June 2010, Larry Procter wrote:
>         > > Actually, I just tried this and received an error message:
>         "file does
>         > > not recognize sub-command REMOVE_RECURSE"
>         > >
>         > > Have you actually tried this yourself.
>         >
>         > I just tried, it worked here with cmake/ctest 2.6.4
>         >
>         > Alex
>         >
>         
>         
> 




More information about the CDash mailing list