Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 1.05 KB

File metadata and controls

18 lines (11 loc) · 1.05 KB

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