[CMake] CMakeLists.txt options.
Alexander Neundorf
a.neundorf-work at gmx.net
Sun Oct 28 16:52:26 EDT 2012
On Sunday 28 October 2012, Brad Bell wrote:
> The CMakeLists.txt command
> option( <option_variable> "help string describing option" [initial
> value] )
> Provides an option for the user to select as ON or OFF; i.e., a BOOL.
>
> How does one provide an option for the user to select that is a PATH ?
set(SOME_PATH "/usr/" CACHE PATH "A path to something")
Alex
More information about the CMake
mailing list