[CMake] How to force value to cache variable without retyping doc string?

2011-11-01 Thread Robert Dailey
There is a one-time operation I need CMake to perform the very first time a user generates. This operation involves copying several files from a remote server (third party libraries) and placing them in the binary dir. Right now I'm attempting to do this via a cache variable: set( COPY_DONE

Re: [CMake] How to force value to cache variable without retyping doc string?

2011-11-01 Thread Robert Dailey
Thanks, I didn't even think of doing it like that :) This works great. Thanks! - Robert Dailey On Tue, Nov 1, 2011 at 3:46 PM, Fraser Hutchison fraser.hutchi...@googlemail.com wrote: Hi Robert, I think you need something like: if( NOT COPY_DONE ) ... do work