[CMake] alternative method for setting CMAKE_TOOLCHAIN_FILE?

Justin Cook jcook at cray.com
Thu Jun 18 03:34:55 EDT 2015


Hello,

Is there an alternative method for setting the CMAKE_TOOLCHAIN_FILE variable other than, for example:

cmake -D CMAKE_TOOLCHAIN_FILE=... <args>

Perhaps an environment variable or something similar?

Thanks,

Justin


More information about the CMake mailing list