mun-lang / mun

Source code for the Mun language and runtime.
https://mun-lang.org
Other
1.83k stars 72 forks source link

How to use with CMake #502

Open baszalmstra opened 1 year ago

baszalmstra commented 1 year ago

It would be nice to have a proper document that describes how to use Mun with CMake and C++. Something along the lines of https://github.com/slint-ui/slint/tree/master/api/cpp#building-from-sources .

The FetchContent_Declare approach seems very simple and versatile to me. It would be awesome if we could make something like that work for Mun too and have a proper document on how to use that.