Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

set cmake variable commandline

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

// Example
cmake -DUSE_CURL=True
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #set #cmake #variable #commandline
ADD COMMENT
Topic
Name
5+4 =