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

executable should have rename argument #14166

Open
kevemueller opened this issue Jan 21, 2025 · 0 comments
Open

executable should have rename argument #14166

kevemueller opened this issue Jan 21, 2025 · 0 comments

Comments

@kevemueller
Copy link

Meson restricts the target identifier, e.g. test is not allowed as an identifier.
This means test as in e.g. /bin/test cannot be built by Meson under this name. You need to give it another identifier, e.g. mytest.
But install: yes will use the identifier as the target name, i.e. there is no way one would end up with test in the installation folder.

install_data has a rename argument, this should be also appplicable to executable:

test_exe = executable('mytest', ..., install: true, rename: 'test')
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

No branches or pull requests

1 participant