|
Ran
|
Jobs
1
|
Files
1
|
Run time
1min
|
Badge
README BADGES
|
push
github
Implement modules support This approach to modules implementation is based on the approach used to implement module support for Boost by Rubén Pérez (anarthal). See his documentation: https://github.com/anarthal/boost-cmake/blob/e29bc2a5b/modules.md The basic idea is that every header is in one of three modes: - Normal mode (the user included the header, and we aren't building with modules) - In this case, the macros configure the header so its contents are the same as their pre-refactor state - included-from-interface-unit-mode - Here, we're inserting all the code from the header into an export block inside the implementation of the .cppm file, so this mode is the same as normal mode except that we ifdef out any standard library includes, or any other dependencies that the .cppm file is bringing in via module - Compatibility header mode - The project is built as a module, but the consumer still is bringing the dependency in by writing #include <{...}.hpp>. In this case the header #ifdefs out everything except a simple import beman.foo statement.
75 of 75 relevant lines covered (100.0%)
44.23 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 25294490842.1 | 1 |
100.0 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|