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

Improve Header File Specification Using File Sets #72

Closed
threeal opened this issue Dec 16, 2023 · 0 comments · Fixed by #76
Closed

Improve Header File Specification Using File Sets #72

threeal opened this issue Dec 16, 2023 · 0 comments · Fixed by #76
Assignees
Labels
Milestone

Comments

@threeal
Copy link
Owner

threeal commented Dec 16, 2023

This issue suggests adopting file sets instead of using include directories to specify headers. Refer to this documentation for more details on utilizing file sets as a modern CMake approach for setting header files.

While setting file sets may be more complex than using include directories, it promotes better practices for manually specifying source files, including headers, for a specific target.

Additionally, using file sets allows only the relevant header files for the target to be installed, rather than installing the entire directory, which is beneficial for addressing #62.

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

Successfully merging a pull request may close this issue.

1 participant