Skip to content

Add Public C++ module directories option#2647

Draft
yehoravramenko wants to merge 2 commits intopremake:masterfrom
yehoravramenko:vs-module
Draft

Add Public C++ module directories option#2647
yehoravramenko wants to merge 2 commits intopremake:masterfrom
yehoravramenko:vs-module

Conversation

@yehoravramenko
Copy link
Copy Markdown

What does this PR do?

Add a new option "publicmoduledirectories" to premake config, which makes possible to specify public c++ module directories in Visual Studio project.

How does this PR change Premake's behavior?

New API, no change to the existing APIs.

Anything else we should know?

Just use this option as a list of strings in premake5.lua config:
publicmoduledirectories {"../path/to/modules"}

Did you check all the boxes?

  • Focus on a single fix or feature; remove any unrelated formatting or code changes
  • Add unit tests showing fix or feature works; all tests pass
  • Mention any related issues (put closes #XXXX in comment to auto-close issue when PR is merged)
  • Follow our coding conventions
  • Minimize the number of commits
  • Align documentation to your changes

You can now support Premake on our OpenCollective. Your contributions help us spend more time responding to requests like these!

Copy link
Copy Markdown
Contributor

@Jarod42 Jarod42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing documentation part, i.e. premake-core/website/sidebars.js and new premake-core/website/docs/publicmoduledirectories.md
And tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants