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
custom_target: install: true always enables build_by_default even when explicitly disabled #4107
Labels
Comments
bluca
added a commit
to bluca/meson
that referenced
this issue
Sep 30, 2018
A custom_target, if install is set to true, will always be built by default even if build_by_default is explicitly set to false. Ensure that this does not happen if it's set explicitly. To keep backward compatibility, if build_by_default is not set explicitly and install is true, set build_by_default to true. Fixes mesonbuild#4107
bluca
added a commit
to bluca/meson
that referenced
this issue
Sep 30, 2018
A custom_target, if install is set to true, will always be built by default even if build_by_default is explicitly set to false. Ensure that this does not happen if it's set explicitly. To keep backward compatibility, if build_by_default is not set explicitly and install is true, set build_by_default to true. Fixes mesonbuild#4107
bluca
added a commit
to bluca/meson
that referenced
this issue
Oct 17, 2018
A custom_target, if install is set to true, will always be built by default even if build_by_default is explicitly set to false. Ensure that this does not happen if it's set explicitly. To keep backward compatibility, if build_by_default is not set explicitly and install is true, set build_by_default to true. Fixes mesonbuild#4107
bluca
added a commit
to bluca/meson
that referenced
this issue
Oct 17, 2018
A custom_target, if install is set to true, will always be built by default even if build_by_default is explicitly set to false. Ensure that this does not happen if it's set explicitly. To keep backward compatibility, if build_by_default is not set explicitly and install is true, set build_by_default to true. Fixes mesonbuild#4107
bluca
added a commit
to bluca/meson
that referenced
this issue
Dec 3, 2018
A custom_target, if install is set to true, will always be built by default even if build_by_default is explicitly set to false. Ensure that this does not happen if it's set explicitly. To keep backward compatibility, if build_by_default is not set explicitly and install is true, set build_by_default to true. Fixes mesonbuild#4107
bluca
added a commit
to bluca/meson
that referenced
this issue
Dec 6, 2018
A custom_target, if install is set to true, will always be built by default even if build_by_default is explicitly set to false. Ensure that this does not happen if it's set explicitly. To keep backward compatibility, if build_by_default is not set explicitly and install is true, set build_by_default to true. Fixes mesonbuild#4107
bluca
added a commit
to bluca/meson
that referenced
this issue
Dec 6, 2018
A custom_target, if install is set to true, will always be built by default even if build_by_default is explicitly set to false. Ensure that this does not happen if it's set explicitly. To keep backward compatibility, if build_by_default is not set explicitly and install is true, set build_by_default to true. Fixes mesonbuild#4107
bluca
added a commit
to bluca/meson
that referenced
this issue
Dec 6, 2018
A custom_target, if install is set to true, will always be built by default even if build_by_default is explicitly set to false. Ensure that this does not happen if it's set explicitly. To keep backward compatibility, if build_by_default is not set explicitly and install is true, set build_by_default to true. Fixes mesonbuild#4107
bluca
added a commit
to bluca/meson
that referenced
this issue
Dec 10, 2018
A custom_target, if install is set to true, will always be built by default even if build_by_default is explicitly set to false. Ensure that this does not happen if it's set explicitly. To keep backward compatibility, if build_by_default is not set explicitly and install is true, set build_by_default to true. Fixes mesonbuild#4107
bluca
added a commit
to bluca/meson
that referenced
this issue
Dec 28, 2018
A custom_target, if install is set to true, will always be built by default even if build_by_default is explicitly set to false. Ensure that this does not happen if it's set explicitly. To keep backward compatibility, if build_by_default is not set explicitly and install is true, set build_by_default to true. Fixes mesonbuild#4107
jpakkane
pushed a commit
that referenced
this issue
Jan 17, 2019
A custom_target, if install is set to true, will always be built by default even if build_by_default is explicitly set to false. Ensure that this does not happen if it's set explicitly. To keep backward compatibility, if build_by_default is not set explicitly and install is true, set build_by_default to true. Fixes #4107
tbeloqui
pushed a commit
to pexip/meson
that referenced
this issue
Aug 22, 2019
A custom_target, if install is set to true, will always be built by default even if build_by_default is explicitly set to false. Ensure that this does not happen if it's set explicitly. To keep backward compatibility, if build_by_default is not set explicitly and install is true, set build_by_default to true. Fixes mesonbuild#4107
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
With Meson 0.47.2 it seems a custom_target with install set to true will always override build_by_default. Which means it's not possible to have an optional target that can also be installed.
Minimal repro:
with install: false:
The text was updated successfully, but these errors were encountered: