zephyrproject-rtos / eclipse-plugin

Zephyr Eclipse Plugin
Eclipse Public License 2.0
16 stars 18 forks source link

build: fix getting cmake_cxx_compiler from cache #50

Closed martanav closed 2 years ago

martanav commented 2 years ago

CMakeCache.txt is showing CMAKE_CXX_COMPILER as a STRING instead of FILEPATH. When plugin retrieves cache information, it is failing to recover CMAKE_CXX_COMPILER, and triggering and execution during build. Searching for STRING if FILEPATH is not found solves the issue.

Signed-off-by: Marta Navarro marta.navarro@intel.com