4 ms·
I recently had the need to propose a build tool. Naturally make came to my mind then I looked into something more modern. I didn't dive deep but I was left with
by jhoechtl 4y ago
I recently had the need to propose a build tool. Naturally make came to my mind then I looked into something more modern. I didn't dive deep but I was left with impression that CMake and many others support a certain set of programming languages?
PS: I know that make has many shortcuts to compile a C/C++ codebase but in essence its targets as file system time stamps.
- duped 4y agoThis 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.