The question I'm referring to is this: Understanding the Purpose Behind CMake.
It seems a little broad to me. Are there ways to improve it?
Here is the body of the question:
I am trying to understand the purpose behind CMake. Why it is designed like it is right now. Here are some questions I would like to have answered.
- Why does cmake generate makefiles instead of just building the project?
- Why are cmake files a series of commands and not just configuration files eg: ini/xml/yaml
- What are the commands that I write into the CMakeLists.txt supposed to do? Just calling the compiler would be too easy I guess
- In which order am I supposed to do the commands?
- Is everything case insensitive? Can I write everything lower case?
- Why do tutorials advise me to list every source file explicitly?
- How do I structure my CMakeLists.txt to keep it short and simple to maintain. Every file I looked up in real projects looked very cluttered.
I think the last three bullet points / questions could do well as their own question posts.
The second last seems to be a duplicate of Is it better to specify source files with GLOB or each file individually in CMake? and/or Why is cmake file GLOB evil?
The question is quite old (8 years now!) and answers have already been posted. I guess the standards for questions were different back then? Compared to the age of that question, I am very new here, so I hope I'm not overstepping anything by asking this.
Or should it just be left completely as-is for the sake of its historical value?