Reputation: 24404
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
.
Upvotes: 48
Views: 36176