Here is a way to set values in the cache before running cmake. (the equivalent of command line arguments to configure) Use echo -e to create a CMakeCache.txt file with some initial values. echo -e "DART_ROOT:PATH=C:/Hoffman/Dart\nTCLSHCOMMAND:FILEPATH=C:/PROGRA~1/TCL/bin/tclsh82.exe" > CMakeCache.txt cmake ../source -Bill