Replies: 3 comments
-
Proposal 1 → REJECTED, TOO NAIVEWe could assume cmake has the options
That way users can create this options in their cmake file and be able to build/run their programs. Pros
ConsWe assume the user has a run --target Proposal 2 → REJECTED, ADDS EXTRA COMPLEXITY TO THE MAIN MENUA C/C++ programmer could just use We could provide the new options This is also an approach that could be used for any project and language. |
Beta Was this translation helpful? Give feedback.
-
Proposal 3Create the plugin Makeit.nvim → COMPLETED This still require the user to manually run cmake once. But after that he can interact with the Makefile it generates. Also, this plugin address many other common scenarios. So for now it improves the situation. Now the question is, should we integrate this into compiler.nvim, or keep the current Makefile behavior of just running the default target? |
Beta Was this translation helpful? Give feedback.
-
The final implementation has been quite more refined than the initial proposals:
|
Beta Was this translation helpful? Give feedback.
-
cmake
is the most extended building system for C and C++ projects, and many real world projects use it.But the issue of implementing support for
cmake
is that because it is SO flexible, it doesn't provide the standards we need to implement it.Standards we need
Standards supported by cmake
cmake
will build the projectStandards unsupported by cmake
I'm not a professional C/C++ dev myself, so ideas from the community are welcome. If there is a clear path for implementing support for
cmake
now, or in the future, we can add it.Aditional questions
Should we add it only to C/C++ where is the standard building system, or to some other language too?
Beta Was this translation helpful? Give feedback.
All reactions