[Green Hills Multi] Can't set CMAKE_C_COMPILER or CMAKE_CXX_COMPILER
I fully understand that this is an experimental generator, but I was trying to evaluate CMake to directly generate a sample GHS project instead of generating, for instance, MINGW make files.
I tried setting environment variables "CC" and "CXX" and also tried to set "CMAKE_C_COMPILER" and "CMAKE_CXX_COMPILER" in CMakeLists.txt but in both cases I get the same error:
**CMake Error at CMakeLists.txt:6 (project): The CMAKE_C_COMPILER:
/ccarm.exe
is not a full path to an existing compiler tool.
Tell CMake where to find the compiler by setting either the environment variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.
CMake Error at CMakeLists.txt:6 (project): The CMAKE_CXX_COMPILER:
/cxarm.exe
is not a full path to an existing compiler tool.
Tell CMake where to find the compiler by setting either the environment variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path to the compiler, or to the compiler name if it is in the PATH.**
And this seems to happen only if I use the GHS generator.