Can we code C++ using CMake
Can we code C++ using CMake
I was able to code in c++ using ESP-IDF, but having no luck with CMake.
-
- Posts: 9730
- Joined: Thu Nov 26, 2015 4:08 am
Re: Can we code C++ using CMake
What's the issue you're having? As bits of esp-idf are written in C++, I'd imagine you should also be able to compile C++-based application code with it.
Re: Can we code C++ using CMake
Hi Mike,
One big difference is that components in CMake have to name all their source files, the "all files in source directories" behaviour from Make is not repeated (this is a CMake philosophical difference that we've adopted). Is it possible your C++ files are not named in the component CMakeLists.txt file?
Angus
One big difference is that components in CMake have to name all their source files, the "all files in source directories" behaviour from Make is not repeated (this is a CMake philosophical difference that we've adopted). Is it possible your C++ files are not named in the component CMakeLists.txt file?
Angus
-
- Posts: 1
- Joined: Mon May 20, 2019 5:25 am
Re: Can we code C++ using CMake
I have the same question....Thanks for this thread!
Who is online
Users browsing this forum: Google [Bot] and 114 guests