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

rootreadspeed should be marked as "CMAKENOEXPORT" #17350

Open
StefanBruens opened this issue Jan 5, 2025 · 0 comments
Open

rootreadspeed should be marked as "CMAKENOEXPORT" #17350

StefanBruens opened this issue Jan 5, 2025 · 0 comments
Assignees

Comments

@StefanBruens
Copy link

Explain what you would like to see improved and how.

EXPORT'ed targets are only useful for binaries used during builds (like code generators), but not for general runtime executables.

When the built ROOT package is installed as separate components, the devel package typically des not pull in the complete runtime environment, but just e.g. header files and libraries.

When binaries are like rootreadspeed are EXPORT'ed, the development package becomes dependent on the complete runtime, and its transient dependencies. This is problematic for automatic build environments trying to minimize the set of installed packages.

ROOT version

6.32.06

Installation method

zypper

Operating system

Linux

Additional context

Also applies to current HEAD:

ROOT_EXECUTABLE(rootreadspeed src/readspeed.cxx LIBRARIES RIO Tree TreePlayer ReadSpeed)

May also be relevant for other ROOT_EXECUTABLE targets.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants