Skip to content

domibel/cpp_modules_examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++ Modules Examples

All this is experimental.

You need at least CMake 4.1 the Ninja Generator and GCC 15+ or Clang 19+

sudo apt install cmake ninja-build g++ clang libc++-dev
# GCC
cmake -B build -S example -G Ninja && cmake --build build

# Clang
CC=clang CXX=clang++ cmake -B build -S example -G Ninja && cmake --build build

# run
./build/hello

Check which packages contain .cppm files

https://packages.debian.org/search?searchon=contents&keywords=cppm&mode=path&suite=testing&arch=amd64

Interesting Tracker for C++20 Modules Support

https://arewemodulesyet.org/

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published