How to specify string option in CMakeLists.txt? Syntax option(OPT1 "Helpstring" ON) works perfectly for boolean options but I would like to have few string options like -march= argument passed to gcc.
How to specify string option in CMakeLists.txt ? Syntax option(OPT1 Helpstring ON) works perfectly
Share
Any user-settable variable can be defined with set:
so -march would be something like: