component.mk vs CMakeLists.txt

MyControllab
Posts: 5
Joined: Sat Jul 16, 2022 10:37 am

component.mk vs CMakeLists.txt

Postby MyControllab » Sun Apr 21, 2024 2:22 pm

Hello

I am new to ESP-IDF and i was curious about the difference between component.mk and CMakeLists.txt.
What can component.mk do what CMakelists.txt cannot do ?

thanks in advance

chegewara
Posts: 2364
Joined: Wed Jun 14, 2017 9:00 pm

Re: component.mk vs CMakeLists.txt

Postby chegewara » Wed Apr 24, 2024 1:05 am

.mk file is used with make build, which is deprecated, and cmakelists is used for cmake build tools

Who is online

Users browsing this forum: Bing [Bot] and 97 guests