dagar commented on pull request #3138:
URL: https://github.com/apache/incubator-nuttx/pull/3138#issuecomment-804425444
> Hi @dagar,will this CMake offer work as an option to our original
Makefiles instead of replacing it?
If there was enough interest in the NuttX community I'd propose doing it in
parallel in order to fully support everything on all platforms. Then once at
feature parity we'd either fully accept it or not. In my experience trying to
support two things that do roughly the same thing is a good way to frustrate
people and end up with multiple mediocre options.
> The current build system works fine and CMake could be a tool of
preference of some, but it will be a new tool for many developers.
It's not that kind of tool where it can be left to individual preference, it
either works accurately describing how to build the project or it doesn't. The
part that can be developer preference is it can generate Makefiles, or Ninja
build, or an IDE project. The support would roughly map 1-1 (Make.defs ->
CMakeLists.txt per folder), but will ultimately be a bit different.
> Some projects like OpenOCD tried to move from Makefiles to CMake many
years ago and it never happened. Makefile is a consolidated tool.
I don't know the history there, but there are plenty of other projects that
made the transition (LLVM, Zephyr, PX4, etc). It may be a new tool for some,
but it's also the closest thing to a standard build system in the C or C++
world and it solves a ton of headaches with cross platform development.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]