Including files from an external folder

mpulis
Posts: 57
Joined: Mon Aug 07, 2017 7:53 am

Including files from an external folder

Postby mpulis » Tue Apr 13, 2021 7:47 am

Hi,

I'm attempting to include some header files to a project from a folder outside of the project's directory. To my understanding, this can be done using the EXTRA_COMPONENT_DIRS in the project's CMakeLists file. However, this is not working. I'm posting the contents of myCMakeLists file below.

set(COMPONENT_SRCS)
set(COMPONENT_ADD_INCLUDEDIRS ".")
set(COMPONENT_EMBED_TXTFILES server_root_cert.pem)
set(COMPONENT_EMBED_TXTFILES howsmyssl_com_root_cert.pem)
set(COMPONENT_EMBED_FILES "favicon.ico" "login.html" "conf.html" "invalid_page.html" "login_request.html" "login_success.html" "restart.html")
set(EXTRA_COMPONENT_DIRS "C:/Users/mpulis/Desktop/Development/ESP32/IDF4/msys32/home/Library_Common/")
register_component()

Who is online

Users browsing this forum: Google [Bot] and 110 guests