Re: [CMake] Checking Variables in a tool-chain file

2019-01-30 Thread Sergei Nikulov
чт, 31 янв. 2019 г. в 10:29, Torsten Robitzki : > > Hi, > I have a tool-chain file, which requires a variable to be set to the path to > the compiler on the local machine: > > set(CMAKE_C_COMPILER ${ARM_GCC_TOOL_PATH}/bin/arm-none-eabi-gcc) > set(CMAKE_CXX_COMPILER ${ARM_GCC_TOOL_PATH}/bin/arm

[CMake] Checking Variables in a tool-chain file

2019-01-30 Thread Torsten Robitzki
Hi, I have a tool-chain file, which requires a variable to be set to the path to the compiler on the local machine: set(CMAKE_C_COMPILER ${ARM_GCC_TOOL_PATH}/bin/arm-none-eabi-gcc) set(CMAKE_CXX_COMPILER ${ARM_GCC_TOOL_PATH}/bin/arm-none-eabi-g++) Now I want to give the user an error message