Maybe I'm wrong, but I always assumed CMake was optimized for the C language (thus the name)? That's at least what I've always seen it used for.
What would you gain if you're using it for other, less supported languages, like Javascript?
What would you gain if you're using it for other, less supported languages, like Javascript?
I've only ever used it for C++, but I don't see why it (or something like it) couldn't be used for other languages too.