(solved) VS Code not seeing symbol definition
Posted: Sat Nov 13, 2021 12:01 am
Hi all -
My main cmake file looks like this:
It builds fine, but the VS editor doesn't seem to see the definition of "ESP_PORT," and shows errors.
What do I do in order to make this definition visible to the editor?
Thanks...
My main cmake file looks like this:
Code: Select all
cmake_minimum_required(VERSION 3.13.0)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
add_definitions(-DESP_PORT)
project(myProject)
What do I do in order to make this definition visible to the editor?
Thanks...