Skip to content

Detect the component creator if available#4368

Merged
seando-adsk merged 2 commits intodevfrom
bailp/EMSUSD-2644/component-creator-integration
Nov 14, 2025
Merged

Detect the component creator if available#4368
seando-adsk merged 2 commits intodevfrom
bailp/EMSUSD-2644/component-creator-integration

Conversation

@pierrebai-adsk
Copy link
Collaborator

@pierrebai-adsk pierrebai-adsk commented Oct 31, 2025

Find the component creator and set CMake variables to its components. Add it to the install target.

  • Added FindAdskUsdComponentCreator.cmake CMake helper that finds the component creator.
  • It requires that a ADSK_USD_COMPONENT_CREATOR_ROOT_DIR env var or CMake var be set to the component creator install folder.
  • Find the component creator from the main CMakeLists.txt file.

@pierrebai-adsk pierrebai-adsk self-assigned this Oct 31, 2025
@pierrebai-adsk pierrebai-adsk added the adsk Related to Autodesk plugin label Oct 31, 2025
@pierrebai-adsk pierrebai-adsk force-pushed the bailp/EMSUSD-2644/component-creator-integration branch from 7772c79 to b6907fe Compare November 3, 2025 15:15
@samuelliu-adsk
Copy link
Collaborator

Hi @pierrebai-adsk , Do you want to test it after the install or its just an optional?

@pierrebai-adsk pierrebai-adsk force-pushed the bailp/EMSUSD-2644/component-creator-integration branch from b6907fe to 8b53ab6 Compare November 3, 2025 16:23
@pierrebai-adsk
Copy link
Collaborator Author

The component creator is optional. I need to modify the ecg repo to make it all work in the pipeline.

samuelliu-adsk
samuelliu-adsk previously approved these changes Nov 3, 2025
@pierrebai-adsk pierrebai-adsk added ready-for-merge Development process is finished, PR is ready for merge and removed ready-for-merge Development process is finished, PR is ready for merge labels Nov 3, 2025
@pierrebai-adsk pierrebai-adsk force-pushed the bailp/EMSUSD-2644/component-creator-integration branch from 8b53ab6 to a6ab661 Compare November 5, 2025 19:11
@pierrebai-adsk pierrebai-adsk force-pushed the bailp/EMSUSD-2644/component-creator-integration branch from a6ab661 to d077dde Compare November 5, 2025 20:15
@pierrebai-adsk pierrebai-adsk force-pushed the bailp/EMSUSD-2644/component-creator-integration branch from d077dde to be1ba9b Compare November 5, 2025 20:39
@pierrebai-adsk pierrebai-adsk self-assigned this Nov 5, 2025
Copy link
Collaborator

@seando-adsk seando-adsk left a comment

Choose a reason for hiding this comment

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

Since the install of CC is done internally is there a need for this PR at this time?

@pierrebai-adsk
Copy link
Collaborator Author

Anthon is working on the new save UI, so he will need access to the CC eventually.

@pierrebai-adsk pierrebai-adsk changed the title Install the component creator if available Detect the component creator if available Nov 7, 2025
Find the component creator and set CMake variables to its components.

- Added `FindAdskUsdComponentCreator.cmake` CMake helper that finds the component creator.
- It requires that a `ADSK_USD_COMPONENT_CREATOR_ROOT_DIR` env var or CMake var be set to the component creator install folder.
- Find the component creator from the main CMakeLists.txt file.
- Use standard library suffixes and prefixes to find libraries.
- Added version report to be able to validate that we find the version.
- Explicitly list the env var in hints.
@pierrebai-adsk pierrebai-adsk force-pushed the bailp/EMSUSD-2644/component-creator-integration branch from 91191b2 to 7978e7c Compare November 7, 2025 19:13
@pierrebai-adsk pierrebai-adsk added the ready-for-merge Development process is finished, PR is ready for merge label Nov 10, 2025
Copy link
Collaborator

@seando-adsk seando-adsk left a comment

Choose a reason for hiding this comment

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

I'm not convinced that root_dir is something that should be set by this package. It is used by this package to find the CC pieces. What would be a use case for root_dir in other cmake files?

@seando-adsk seando-adsk removed the ready-for-merge Development process is finished, PR is ready for merge label Nov 12, 2025
Copy link
Collaborator

@seando-adsk seando-adsk left a comment

Choose a reason for hiding this comment

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

Thanks looks good.

@seando-adsk seando-adsk added shared_components Shared Components (Max / Maya) and removed adsk Related to Autodesk plugin labels Nov 13, 2025
@pierrebai-adsk pierrebai-adsk added the ready-for-merge Development process is finished, PR is ready for merge label Nov 13, 2025
@seando-adsk seando-adsk merged commit 74e0008 into dev Nov 14, 2025
11 checks passed
@seando-adsk seando-adsk deleted the bailp/EMSUSD-2644/component-creator-integration branch November 14, 2025 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-merge Development process is finished, PR is ready for merge shared_components Shared Components (Max / Maya)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants