Skip to content
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

Add docs target only if not a subproject #223

Merged
merged 1 commit into from
Nov 3, 2021

Conversation

cary-ilm
Copy link
Member

When Imath is a subproject (as with OpenEXR), the "docs" target can
conflict with the parent project's "docs" target. And the Imath docs
shouldn't be built by the parent project, anyway.

Signed-off-by: Cary Phillips [email protected]

When Imath is a subproject (as with OpenEXR), the "docs" target can
conflict with the parent project's "docs" target. And the Imath docs
shouldn't be built by the parent project, anyway.

Signed-off-by: Cary Phillips <[email protected]>
@meshula
Copy link
Contributor

meshula commented Oct 28, 2021

What happens in the case that Imath is automagically installed by OpenEXR itself? I think in that case Imath is not a subproject, and so,, should the build docs option be overridden by the settings of OpenEXR? Am I overthinking it? ;)

@cary-ilm
Copy link
Member Author

I'm pretty sure that when OpenEXR fetches Imath, IMATH_IS_SUBPROJECT is true. I did a test to confirm, and assuming I tested the right thing, it works.

@cary-ilm cary-ilm merged commit f800038 into AcademySoftwareFoundation:master Nov 3, 2021
cary-ilm added a commit to cary-ilm/Imath that referenced this pull request Jan 17, 2022
When Imath is a subproject (as with OpenEXR), the "docs" target can
conflict with the parent project's "docs" target. And the Imath docs
shouldn't be built by the parent project, anyway.

Signed-off-by: Cary Phillips <[email protected]>
cary-ilm added a commit that referenced this pull request Jan 20, 2022
When Imath is a subproject (as with OpenEXR), the "docs" target can
conflict with the parent project's "docs" target. And the Imath docs
shouldn't be built by the parent project, anyway.

Signed-off-by: Cary Phillips <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants