Google does lead me astray on this, as I’m sure this has been brough up multiple times, but does anyone know the history of LaTeX as a language understood by CMake?
As with all languages, when not explicitly supported by CMake, it becomes cumbersome to use, as the declarative style immediately breaks down to old-school imperative scripting. Modules like UseLATEX of @kmorel are extremely useful, but that is as far as LaTeX can go without backing support into CMake.
Is there any fundemental reason why no
add_document command exists yet? LaTeX, Doxygen could be prime targets for such support and it would simplify the lives of many.