[CMake] Fwd: additional target support

Darren ha nberserk at gmail.com
Mon Sep 21 19:48:19 EDT 2009


---------- Forwarded message ----------
From: Darren ha <nberserk at gmail.com>
Date: Tue, Sep 22, 2009 at 8:47 AM
Subject: Re: [CMake] additional target support
To: a.neundorf-work at gmx.net




On Sat, Sep 19, 2009 at 9:00 PM, Alexander Neundorf <a.neundorf-work at gmx.net
> wrote:

> On Saturday 19 September 2009, Darren ha wrote:
> > Hi list!
> >
> > I was wondering how to implement the following requirements in
> > CMakeLists.txt.
> > - I want to add 2 additional target to each target.
> >   - target.only ; only build target without any dependency check
>
> Did you try "target/fast"  ?
>

Thanks, this works!!


>
> >   - target.clean ; only clean target. not cleaning dependent targets
>
> Isn't the cleaning done only on directory basis ?
> So I think currently the only way to do what you want is to structure your
> directories accordingly.
>
this works!
any directories containing CMakelists.txt have clean target in Makefile.
but this takes additional step(moving to desired directory).
is there any simple way to add target.clean  ?



> Alex
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at:
> http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090922/4fe58ca7/attachment.htm>


More information about the CMake mailing list