[CMake] additional target support

Alexander Neundorf a.neundorf-work at gmx.net
Sat Sep 19 08:00:22 EDT 2009


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"  ?

>   - 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.

Alex


More information about the CMake mailing list