Managing modules (C++2a)

Answered

Hello!

I've just discovered C++ Modules, and I wonder if it is possible to manage this C++2a feature in Clion. Is-it possible? How to configure my project? How to write the CMakeLists file?

Any idea?

0
1 comment

Hi Cantact,

 

I believe at least you need a compiler supported c++20 standard. Also you need specify standard in CMakeList.txt by adding.

set( CMAKE_CXX_STANDARD 20 )

 

0

Please sign in to leave a comment.