Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support C++ modules #1085

Open
pedrolamarao opened this issue Jun 2, 2021 · 0 comments
Open

Support C++ modules #1085

pedrolamarao opened this issue Jun 2, 2021 · 0 comments

Comments

@pedrolamarao
Copy link

The C++ "modules" feature changes the game significantly for build tools.

C++ "modules" reduces the module "interface" from a mess of headers to an orderly "compiled module interface" (in GCC parlance). It changes nothing about the build output which remains static libraries, dynamic libraries and executables. Major toolchains support modules: GCC, Clang and Visual Studio. The time is still "early" but we are past "preview".

The only build tool which documents full suport for C++ modules is build2, a relatively new player in this field. CMake currently does not document full support, only workarounds.

Gradle should take on the opportunity to enter the field of C++ "modules". The new model should fit nicely to any mature dependency engine. It should also fit nicely with Gradle's current solution for native binary distribution and consumption via Maven. Mixed language projects would greatly benefit, as would IDEs like CLion.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant