on-internet
← Community

How do I use an external library as a C++ module with CMake?

Stack Overflow ·

I can not find some example about C++20 modules specifically when working with: CMake External libraries and a package manager like vcpkg (this has been the key missing part). and intending to develop for cross-platform use (Linux, Windows, and maybe others). I could find examples about brief and specific basic cases about C++ modules, also when working with CMake, but not covering each of these items at the same time in a project structure like a real world project where sometimes an external library could be called from a .cppm file and some other times another external library could be call

Comments

Sign in or sign up to comment and upvote.

No comments yet.