Share via

How to import Cpp20 module which in an external folder?

A-Yuun 21 Reputation points
2022-07-08T08:50:33.277+00:00

Just like include external header files?

Visual Studio 2022

I've seen this [https://devblogs.microsoft.com/cppblog/a-tour-of-cpp-modules-in-visual-studio/]
But what should I put in the Additional Module Dependencies property?

Developer technologies | C++
Developer technologies | C++

A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.

0 comments No comments

Answer accepted by question author

Minxin Yu 13,516 Reputation points Microsoft External Staff
2022-07-11T03:34:44.463+00:00

Hi, @A-Yuun

For your reference: /reference (Use named module IFC). You can use Add Existing Item instead.
219296-image.png

Best regards,

Minxin Yu


If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

Was this answer helpful?


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.