cmakeFeature
lib.strings.cmakeFeature
Docs pulled from | This Revision | about 9 hours ago
Create a -D
= string that can be passed to typical CMake invocations. This is the most typical usage, so it deserves a special case.Inputs
feature
- The feature to be set
value
- The desired value
Type
cmakeFeature :: string -> string -> string
Examples
lib.strings.cmakeFeature
usage example
cmakeFeature "MODULES" "badblock"
=> "-DMODULES:STRING=badblock"