Skip to content

Add external custom modules in vcxproj #105517

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

joelriendeau
Copy link

@joelriendeau joelriendeau commented Apr 18, 2025

This adds external custom modules to vcxproj generation. Without this, the files are not added to the project and cannot be easily browsed and edited, although they will compile and link correctly.

Because external custom modules use full paths, I also had to strip the ":" character from the exclude patterns, which VS does not support.
I.e. for example without the additional fix you'd get:
<ExcludedFromBuild Condition="!$(ActiveProjectItemList_D:_code_modules_procedural.Contains(...
instead of
<ExcludedFromBuild Condition="!$(ActiveProjectItemList_D_code_modules_procedural.Contains(...

@joelriendeau joelriendeau requested a review from a team as a code owner April 18, 2025 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants