Answers for "set cmake variable commandline"

0

cmake var

set(<variable> <value>)
Posted by: Guest on February-26-2021
0

set cmake variable commandline

// To set cmake cache variables from command line
cmake -D<VAR_NAME>=<VAR_VALUE>

// Example
cmake -DUSE_CURL=True
Posted by: Guest on May-17-2021

Browse Popular Code Answers by Language