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

[cmake] remove unused PXR_PYTHON_ENABLED and PXR_PYTHON_MODULES_ENABLED #1958

Conversation

pmolodo
Copy link
Contributor

@pmolodo pmolodo commented Jul 21, 2022

Description of Change(s)

these are compile definitions set by the _pxr_library cmake function;
however, they are:

  • never used anywhere

  • set unconditionally (ie, regardless of PXR_ENABLE_PYTHON_SUPPORT)

  • unneeded, as c++ code can include pxr.h, and use #ifdef PXR_PYTHON_SUPPORT_ENABLED

  • I have submitted a signed Contributor License Agreement

these are compile definitions set by the _pxr_library cmake function;
however, they are:

- never used anywhere
- set unconditionally (ie, regardless of PXR_ENABLE_PYTHON_SUPPORT)
- unneeded, as c++ code can include `pxr.h`, and use `#ifdef PXR_PYTHON_SUPPORT_ENABLED`
@sunyab
Copy link
Contributor

sunyab commented Jul 28, 2022

Filed as internal issue #USD-7516

@pixar-oss pixar-oss merged commit c266fbf into PixarAnimationStudios:dev Nov 8, 2022
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.

3 participants