Autovala: Auto-Generating CMake Files For Vala Code

Filed under
Software

The developer behind Autovala, Sergio Costas, wrote into Phoronix this morning to explain his project. Costas explained, "The idea behind Autovala is that CMake is a very powerful tool, but writing its configuration files is boring and repetitive, so why don't let the computer to do it automatically? To do so, Autovala is divided in two parts. The main one generates the CMake files itself, starting from a descriptive configuration file. There, instead of putting things like 'install this file here, that file there...', you just define things like 'this is an icon, this is a manpage, this is a binary that uses these source files and these packages...', and Autovala automagically determines where to install them. To do so, it even examines the files itself, so, for example, icons, it will check its size and type to decide whether to put it in 'scalable', '16x16'... Or for manpages, it automatically converts them from any of the supported formats to groff."

Read more