-
-
Notifications
You must be signed in to change notification settings - Fork 774
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
Install options to discard some files #3460
Comments
use or
|
sometimes you just want to install (or just update) binaries, for example with android development headers are installed (even though I just want the binaries). Also headerfiles are used for project generations |
add_headerfiles("", {install = false}) |
yes the point is sometimes you want to have headers, sometimes you don't, and it does not depends on the project configuration (xmake.lua) but on what you want to do. For example, I sometimes install my project in a folder in order to have the binaries and their dependencies so I can ship them. but sometimes I want to install it system-wide, the very same project. So I agree here it would be nice to have a way to install only binaries at least |
sometimes you just want to install (or just update) binaries, for example with android development headers are installed (even though I just want the binaries). Also headerfiles are used for project generations
|
I already pointed out the main issue with xmake config (xmake f), it's that you have to set all of your configurations because xmake doesn't support incremental config. so you'd have to remember to do Also, xmake install also copies lib files (such as .lib and more), you can't disable these. A simple |
you can add |
I'm not talking about just copying the final binary produced by a target but also all of its dependencies, something |
我也同样希望有一个选项,可以仅安装二进制文件,而不是部署库模式。 所以还是希望形如 此外,还希望xmake能够支持增量式拷贝。如 |
I would also like to have an option to just install the binaries instead of deploying the library mode. Therefore, it is still hoped that the input parameters such as In addition, it is also hoped that xmake can support incremental copying. Such as |
Is your feature request related to a problem? Please describe.
I have a pretty large project, and everytime I run xmake install it takes a very long time because it copies all the include files (60k files) that are not needed.
Describe the solution you'd like
Options for xmake install to discard includes/libs/bins.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: