Sandbox images for C++ module experiments with CMake
10K+
This Docker image contains the relevant code in order to compile C++ modules using CMake and its Ninja generator.
GCC is installed into /home/modules/misc/root/gcc and CMake and ninja are
installed into /home/modules/misc/root/cmake. The image may be run using
docker run -it $image which will add these roots to $PATH automatically.
There is an example repository in /home/modules/code/cxx-modules-sandbox/src
which contains example code showing the viability of the tools. Note that there
are some restrictions:
GCC may not support all module features. Please see this page for information related to the current status:
CMake does not support import <header-unit>; or import "header-unit";
yet. There is example syntax for it in the example repository, but it is
not valid CMake code (yet).
Installing and consuming external modules is not yet supported. This is related to header unit modules and they will likely end up with similar solutions (differing in details).
Merge requests and issues with the features not present in the base tools may be sent to the following repositories:
Ben Boeckel <[email protected]>)Content type
Image
Digest
Size
316.1 MB
Last updated
over 6 years ago
docker pull benboeckel/cxx-modules-sandbox