-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[Feature request] Add meson compile
command
#6670
Comments
Note: most of the implementation code might be directly lifted from the test runner: Line 211 in d8faf9b
|
Makes sense to me, we added 'meson install' recently too. Are you working on a patch? |
Replaced |
Not yet, since my free time is currently pretty lacking. I will, however, take this on if nobody starts working on it in the next month or so (that is, a month from now, not the next calendar month :P). |
As the person developing the meson.build file itself, I would also like to have a single command And a poney. |
This is only tested with ninja/samu at the moment. I'll get to msbuild next. Not sure what to do about xcode. Fixes mesonbuild#6670
This is tested working with both msbuild and ninja/samu. Since our xcode support is pretty much broken I didn't bother. Fixes mesonbuild#6670
This is tested working with both msbuild and ninja/samu. Since our xcode support is pretty much broken I didn't bother. Fixes mesonbuild#6670
This is tested working with both msbuild and ninja/samu. Since our xcode support is pretty much broken I didn't bother. Fixes mesonbuild#6670
This is tested working with both msbuild and ninja/samu. Since our xcode support is pretty much broken I didn't bother. Fixes mesonbuild#6670
This is tested working with both msbuild and ninja/samu. Since our xcode support is pretty much broken I didn't bother. Fixes mesonbuild#6670
This is tested working with both msbuild and ninja/samu. Since our xcode support is pretty much broken I didn't bother. Fixes mesonbuild#6670
This is tested working with both msbuild and ninja/samu. Since our xcode support is pretty much broken I didn't bother. Fixes mesonbuild#6670
This is tested working with both msbuild and ninja/samu. Since our xcode support is pretty much broken I didn't bother. Fixes mesonbuild#6670
This is tested working with both msbuild and ninja/samu. Since our xcode support is pretty much broken I didn't bother. Fixes mesonbuild#6670
This is tested working with both msbuild and ninja/samu. Since our xcode support is pretty much broken I didn't bother. Fixes mesonbuild#6670
This is tested working with both msbuild and ninja/samu. Since our xcode support is pretty much broken I didn't bother. Fixes mesonbuild#6670
|
The reason we picked 'compile' is because 'meson build' is too common to use 'build' as build directory. |
^ What he said =)
|
The documentation should be adjusted accordingly https://mesonbuild.com/Overview.html#terminology
Curious where. |
GStreamer CI for instance: https://gitlab.freedesktop.org/gstreamer/gst-ci/-/blob/master/gitlab/ci_template.yml#L120 |
This is tested working with both msbuild and ninja/samu. Since our xcode support is pretty much broken I didn't bother. Fixes mesonbuild#6670
This is tested working with both msbuild and ninja/samu. Since our xcode support is pretty much broken I didn't bother. Fixes mesonbuild#6670
Thanks @xclaesse for the example, I totally forgot about the potential collision between command names and parameters. The lack of command defaulting to |
This is tested working with both msbuild and ninja/samu. Since our xcode support is pretty much broken I didn't bother. Fixes #6670
Proposal:
Backend-agnostic build command
meson compile
- counterpart ofcmake --build
.Reasoning:
meson
usage and integration: the samemeson
commands could be invoked for all backends.meson
out-of-the-box (i.e. with defaultninja
backend). Since user won't have to know anything about ninja (apart from the fact that it's needed).Proposed interface (based on `cmake --build):
The text was updated successfully, but these errors were encountered: