2017 LLVM Developers’ Meeting: R. Isemann “A CMake toolkit for migrating C++ projects to clang .. ”

Опубликовано: 12 Октябрь 2024
на канале: LLVM
548
11

http://www.LLVM.org/devmtg/2017-10/

A CMake toolkit for migrating C++ projects to clang’s module system. - Raphael Isemann

Slides: http://llvm.org/devmtg/2017-10/slides...

Clang’s module feature not only reduces compilation times, but also brings entirely new challenges to build system maintainers. They face the task to modularize the project itself and a variety of used system libraries, which often requires in-depth knowledge of operating systems, library distributions, and the compiler. To solve this problem we present our work on a CMake toolkit for modularizing C++ projects: it ships with a large variety of module maps that are automatically mounted when the corresponding system library is used by the project. It also assists with modularizing the project’s own headers and performs checks that the current module setup does not cause the build process itself to fail. And last but not least: it requires only trivial changes to integrate into real-world build systems, allowing the migration of larger projects to clang’s module system in a matter of hours.

Videos Filmed & Edited by Bash Films: http://www.BashFilms.com