Skip to content

Do not use file globbing in the build system#32

Open
guitargeek wants to merge 1 commit intowlav:masterfrom
guitargeek:cpycppyy_cmake
Open

Do not use file globbing in the build system#32
guitargeek wants to merge 1 commit intowlav:masterfrom
guitargeek:cpycppyy_cmake

Conversation

@guitargeek
Copy link
Copy Markdown
Contributor

This makes the build configuration more robust to added and removed files.

See also the analogous PR in ROOT, as well as the corresponding Jira ticket:

Like this, we also don't need to "comment out" whole source files with preprocessor macros, like the TPyClassGenerator. This also helps ROOT, which requires these sources, because then the sources can be used as-is.

This makes the build configuration more robust to added and removed
files.

See also the analogous PR in ROOT, as well as the corresponding Jira
ticket:
  * root-project/root#3259
  * https://its.cern.ch/jira/browse/ROOT-5998

Like this, we also don't need to "comment out" whole source files with
preprocessor macros, like the `TPyClassGenerator`. This also helps ROOT,
which requires these sources, because then the sources can be used
as-is.
@wlav
Copy link
Copy Markdown
Owner

wlav commented Jul 16, 2024

I wouldn't uncomment the TPyClassGenerator file as it really can't compile at this point. It accesses ROOT headers directly rather than clingwrapper APIs. The point of that file was to make Python classes usable from Cling. It's a cute feature, but no-one really ever cared about it, since callbacks (through a C++ base class) are easier to deal with.

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.

2 participants