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

Report build and version information from the mayaHydra plugin #10

Merged
merged 7 commits into from
Nov 16, 2023

Conversation

ppt-adsk
Copy link
Collaborator

To properly understand and test a given version of the mayaHydra plugin, it must be possible to report its build and version information from a command in the plugin.

@ppt-adsk ppt-adsk self-assigned this Nov 13, 2023
@@ -146,6 +147,10 @@ set(SRCFILE ${CMAKE_CURRENT_SOURCE_DIR}/mayaHydra.h.src)
set(DSTFILE ${CMAKE_BINARY_DIR}/include/mayaHydraLib/mayaHydra.h)
configure_file(${SRCFILE} ${DSTFILE})

set(SRCFILE ${CMAKE_CURRENT_SOURCE_DIR}/mhBuildInfo.h.src)
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Configure the build information file so that it gets build and version information.

@@ -47,20 +47,16 @@
#error Maya API version 2024+ required
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fixed namespacing.

constexpr auto _pluginInfoCutId = "-cid";
constexpr auto _pluginInfoCutIdLong = "-pluginInfoCut";
// Versioning and build information.
constexpr auto _majorVersion = "-mjv";
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Core file in the review: add flags to the mayaHydra command to get version and build information.

@ppt-adsk ppt-adsk assigned ppt-adsk and unassigned ppt-adsk Nov 14, 2023
@ppt-adsk ppt-adsk added the ready-for-merge Development process is finished, PR is ready for merge label Nov 16, 2023
@roopavr-adsk roopavr-adsk added build core Related to core plugin test labels Nov 16, 2023
@roopavr-adsk roopavr-adsk merged commit 6bbfbcb into dev Nov 16, 2023
9 checks passed
@roopavr-adsk roopavr-adsk deleted the tremblp/HYDRA-491/report_peptide_info_github branch November 16, 2023 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build core Related to core plugin ready-for-merge Development process is finished, PR is ready for merge test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants