3 ms·
This article is discussing the scripting language of CMake (the code that describes the build) not the program that it builds. But to your question, the answer
by duped 4y ago
This article is discussing the scripting language of CMake (the code that describes the build) not the program that it builds.
But to your question, the answer is kinda. There is support for a few other languages built in (off the top of my head, Ada and Fortran I believe) and you can provide a custom backend as well for your own language support but most people just use add_external_command
- bdavis__ 4y agofortran works fine. it has a compilation model very similar to C. (Note this comment is based upon F77 / F90. Fortran modules may be different). ada support in cmake is terrible. in the end you have to call gnatmake several times, if you want a build that always work. terrible.