Skip to content

[RFC] [cmake] Add core/base headers to target HEADERS file_set #18419

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ferdymercury
Copy link
Contributor

@ferdymercury ferdymercury commented Apr 15, 2025

This Pull request:

Changes or fixes:

Gives a taste on how it would look like to properly add HEADERS to targets in CMake.

This does not just help with the IDE workflow, it gives an idea on future paths:

One could make them PUBLIC instead of PRIVATE, then you would not need the target_include_directories line, and installing and cpacking would be easier.

Related:

Checklist:

  • tested changes locally
  • updated the docs (if necessary)

This PR fixes #

Copy link

github-actions bot commented Apr 15, 2025

Test Results

2 681 tests   2 681 ✅  4h 38m 33s ⏱️
    1 suites      0 💤
    1 files        0 ❌

Results for commit 347cde1.

♻️ This comment has been updated with latest results.

@pcanal
Copy link
Member

pcanal commented Apr 16, 2025

Also potentially related: #17607

@ferdymercury ferdymercury added this to the 6.38.00 milestone Apr 22, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants