Skip to content

Automate exporting symbols declared in traditional headers from a C++20 Module. This is very incomplete, and the project is more like a collection of code than a usable tool for now.

Notifications You must be signed in to change notification settings

ashley-hawkins/gencppm

Repository files navigation

Gencppm

A tool for generating cppm files to export symbols from a legacy header.

A tool to generate a cppm (C++20 Module) file that exports symbols declared in traditional headers. Extremely early in development and not really ready to be used in any form other than testing for bug reports.

Known limitations

  • Does not support anything defined as a macro.
  • Does not support static variables in headers, since it's not possible to export those. If you're in a position where you can patch the library, this can be worked around by changing it to inline instead.

License information

The project adheres to the REUSE spceification for license info.

Full license text for all licenses used is available in LICENSES/

All text files in the repository aside from licenses themselves should have copyright headers at the start of the file or an entry in .reuse/dep5 specifying the copyright information.

If the copyright information is neither in the header nor in .reuse/dep5, the license is AGPL-3.0-or-later, but the absence of an explicit notice is probably a mistake and should be raised as an issue.

About

Automate exporting symbols declared in traditional headers from a C++20 Module. This is very incomplete, and the project is more like a collection of code than a usable tool for now.

Resources

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •