Can I build a Meson package from CMake?

I see that Meson has a CMake module which allows it to build CMake projects. But I want to do the opposite. From CMake, I would like to build a Meson project. Is this possible?

Given that CMake is a complete programming language there should certainly be a way to do this. The ExternalProject module seems to advertise such functionality, allowing you to build your own meson project builder in pure CMake.

1 Like