-
-
Notifications
You must be signed in to change notification settings - Fork 775
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
Add a way to ignore headers for installation #2577
Comments
until xmake supports xmake-io/xmake#2577
The default mode for all
|
That's not what I meant, I meant a way to tell xmake to consider those header files but not install them, only take them into account for project generation for example. |
I have supported it. |
It works great! Thank you. |
Is your feature request related to a problem? Please describe.
Some headers are only used internally, but yet are used by the project and we want those in generated projects (VS solution for example).
For example:
However since some headers are private, they shouldn't be installed.
Describe the solution you'd like
A way to tell add_headerfiles to simply not install those headers, for example:
which would add it to projects but not install them.
Describe alternatives you've considered
Currently I'm using
{ prefixdir = "private" }
which does separate private headers from actual one.But that folder still gets installed.
Additional context
No response
The text was updated successfully, but these errors were encountered: