AcademySoftwareFoundation / AcademySoftwareFoundation/rez
Way to differentiate in CMake whether rez is building, build-installing, releasing
- Dominant language
- Python
- Stars
- 1.1k
- Forks
- 369
- Avg merge
- 12d 3h
- Merged PRs (30d)
- 5
Description
Some sort of environment-variable for differentiating whether rez is being run as rez-build, rez-build -i, rez-release, and perhaps rez-build -c -i, and/or possibly to hook on to the --prefix if specified, would be very useful to have access to from CMake's point of view when building a package for custom behavior when needed.
Contributor guide
Research direction
Start by tracing the entry points for rez-build, rez-build -i, rez-release, and rez-build -c -i, then review how a CMake package build receives environment and --prefix information. Done means defining and documenting a consistent way for CMake to distinguish these modes and adding coverage for the supported cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100