-
-
Notifications
You must be signed in to change notification settings - Fork 305
Support for C++20/23 modules #395
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
Open
DockedFerret800
wants to merge
15
commits into
Thalhammer:master
Choose a base branch
from
DockedFerret800:modules
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
ae95306
Initial support for modules
DockedFerret800 1e4a461
Wider modules coverage for examples
DockedFerret800 4545447
Return missing installation instructions
DockedFerret800 bd4efd4
Slightly change export approach
DockedFerret800 4c110ba
Use ABI-Breaking style for modules wrapper
DockedFerret800 7c3019e
Merge remote-tracking branch 'upstream/master' into modules
prince-chrismc 1bd1f26
Address comments
DockedFerret800 d2f8dbe
Merge branch 'modules' of https://github.com/DockedFerret800/jwt-cpp …
DockedFerret800 63bae83
Merge remote-tracking branch 'origin/master' into modules
DockedFerret800 46b4ea6
Don't export everything
DockedFerret800 c5d5e0f
Update documentation
DockedFerret800 9dea9df
Modules CI (#1)
DockedFerret800 d8cbf1a
clang 22 and gcc 15 modules CI
DockedFerret800 ac919bd
Address feedback
DockedFerret800 333c2e0
Examples include order
DockedFerret800 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,57 @@ | ||
| name: Build & Test with modules | ||
|
|
||
| on: | ||
| push: | ||
| branches: [master] | ||
| pull_request: | ||
| branches: [master] | ||
| paths: | ||
| - "CMakeLists.txt" | ||
| - "cmake/**" | ||
| - "include/jwt-cpp/**" | ||
| - "tests/cmake/**" | ||
| - ".github/actions/**" | ||
| - ".github/workflows/cmake.yml" | ||
|
|
||
| jobs: | ||
| build: | ||
| name: ${{ matrix.runs_on }}-${{ matrix.compiler }} | ||
| runs-on: ${{ matrix.runs_on }} | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| include: | ||
| - runs_on: windows-2025-vs2026 | ||
| compiler: msvc-14.50 | ||
| configure_preset: "x64-vs-modules" | ||
| build_preset: "x64-vs-modules-build" | ||
| test_preset : "x64-vs-modules-test" | ||
| - runs_on: ubuntu-26.04 | ||
| compiler: gcc-15 | ||
| cc: gcc-15 | ||
| cxx: g++-15 | ||
| configure_preset: "linux-modules" | ||
| build_preset: "linux-modules-build" | ||
| test_preset : "linux-modules-test" | ||
| - runs_on: ubuntu-26.04 | ||
| compiler: clang-22 | ||
| cc: clang-22 | ||
| cxx: clang++-22 | ||
| configure_preset: "linux-modules" | ||
| build_preset: "linux-modules-build" | ||
| test_preset : "linux-modules-test" | ||
| steps: | ||
|
|
||
| - uses: actions/checkout@v6 | ||
|
|
||
| - uses: lukka/get-cmake@latest | ||
|
|
||
| - name: "Build & Test" | ||
| uses: lukka/run-cmake@v10 | ||
| env: | ||
| CC: ${{ matrix.cc }} | ||
| CXX: ${{ matrix.cxx }} | ||
| with: | ||
| configurePreset: ${{ matrix.configure_preset }} | ||
| buildPreset: ${{ matrix.build_preset }} | ||
| testPreset: ${{ matrix.test_preset }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -21,6 +21,7 @@ bld/ | |
| [Bb]in/ | ||
| [Oo]bj/ | ||
| [Ll]og/ | ||
| out/ | ||
|
|
||
| # Visual Studio 2015 cache/options directory | ||
| .vs/ | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.