[Cmake] OPTION string
Andy Cedilnik
andy . cedilnik at kitware . com
02 Jul 2003 09:28:49 -0400
Hi Jan,
Here it is:
SET(VAR [VALUE] [CACHE TYPE DOCSTRING [FORCE]])
So, you would do something like:
SET(MYVAR "Test" CACHE STRING "This is my variable")
Andy
On Wed, 2003-07-02 at 07:57, Jan Woetzel wrote:
> I know the OPTION command to enter a boolean value in the cmake GUI,
> it's very useful.
>
> Is there an equivalent for string instead of boolean ?
>
> Such a string option is added by FIND_PROGRAM in the GUI for example.
> I think it is somewhere but I couldn't find it...
>
> my system: Linux, cmake .1.6.7.