premake-core icon indicating copy to clipboard operation
premake-core copied to clipboard

How to open c++20 modules feature?

Open ericyonng opened this issue 5 months ago • 2 comments

Env: linux/clang15 Premake Version: dev latest Hello, I'm building my projects using premak5, an error occurred: HelloFoo.cppm TestConceptModules.cpp ../../testsuit/testsuit/testinst/TestConceptModules/TestConceptModules.cpp:32:8: fatal error: module 'HelloFoo' not found.

My project: https://github.com/ericyonng/CrystalNet

parts of premake5.lua image image

HelloFoo module code: file:HelloFoo.cppm image

TestConceptModules.cpp file:

image

Thanks!

ericyonng avatar Aug 31 '24 10:08 ericyonng