Skip to content

chalet-org/chalet-example-modules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

chalet-example-modules

This repository showcases how to setup a Chalet project with C++20 modules -- so far just with MSVC on Windows.

To get started, download Chalet, check out some of the documentation for it, and either build with the various commands from the command line, or try out the Chalet VS Code Extension (recommended).

Branches

Name Description
main The kitchen sink, where multiple module patterns are used. This only compiles with MSVC right now.
gcc Requires GCC >= 11 - Uses only the patterns that work with GCC modules - no re-exports, local header unit imports, private module fragments, or module partition units
clang Requires Clang >= 16 - no re-exports, header unit imports, private module fragments, or module partition units

Debugging

  • For Windows: Install the C/C++ extension and Build with MSVC and use the "MSVC" configuration

About

C++20 Modules example with Chalet

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages