-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
C++20 scan sources for module #145
Comments
Heya! Sharpmake doesn't (yet) support c++20 modules. I'll leave this open till we look into it :) |
Any plans or progress on the c++20 modules matter? |
Hey @belkiss - using a direct ping to ask the same question. Any progress made on module support? If not yet, is it on a roadmap anywhere or just sitting in todo status? Thanks for any insights. |
I'm able to use modules right now with dependencies from other projects with this simple change: |
I could only confirm what @Cheaterdev did, I am using his patch as-is to make Sharpmake work with c++20 modules in my project with no issues. |
Thanks both. For anyone else who stumbles over here you will also want to add the .ixx extension to the project. (in project constructor):
Other helpful settings for visual studio:
|
Heya!
Nothing on the roadmap, modules are not something we have investigated yet internally. Note that my time at Ubisoft is coming to an end very shortly, so can't say if that's gonna change. Thanks to the other contributors for the workarounds! Cheers |
This is work of @Cheaterdev, details are in: ubisoft#145 ubisoft#146
@Cheaterdev I have made a PR in your behalf - I am tired to "manually" add it every time I update the tool ;) |
Hello!
For proper generating header units from regular header files, there is a switch in MSVC "ScanSourceForModuleDependencies" in the "ClCompile" block which is currently missing from Sharpmake.
The text was updated successfully, but these errors were encountered: