Jon Turney
d57498a4fd
Unconditionally use get_gui_app_args()
...
Add get_gui_app_args() to the Compiler class so it can be unconditionally
used
6 years ago
Jon Turney
67c8f532c6
Extend test to check subsystem set by executable(gui_app:)
6 years ago
Jon Turney
94f09a8454
Explicitly set the Windows subsystem for ninja/VisualC
6 years ago
Jon Turney
399f8553b7
Add a test for Windows console application with main function in a library
...
Currently, this test fails for ninja/VisualC, as we don't pass
/SUBSYSTEM:CONSOLE to the linker, and it guesses wrongly that this is a GUI
app
https://lists.freedesktop.org/archives/mesa-dev/2018-June/197844.html
6 years ago
Nirbheek Chauhan
ab1dbfe57f
gnome: Filter LDFLAGS passed to g-ir-scanner
...
g-ir-scanner is very picky about the flags that it can accept, so the
build fails on macOS if you have Framework external dependencies,
which add -F and -framework arguments.
Also fix incorrect de-duping of -framework arguments for gtkdoc.
6 years ago
Nirbheek Chauhan
d16dca7677
gnome: Filter CFLAGS that are passed to g-ir-scanner
...
g-ir-scanner barfs on any flags other than -D -I and -U
6 years ago
Nirbheek Chauhan
d03cf04598
install_subdir: Also copy dangling symlinks
...
Fixes https://github.com/mesonbuild/meson/issues/3914
6 years ago
Xavier Claessens
4f088365e4
interpreter: Add support for dict addition
6 years ago
Nirbheek Chauhan
219dec39c0
Fix yielding when subproject option type is different
...
Earlier, we would replace the subproject option with the parent
project's option, which is incorrect if the types are not the same.
Now we retain the subproject's option and print a warning. It's not
advisable to issue an error in this case because subproject option
yielding is involuntary for the parent project (option names can match
because of coincidences).
6 years ago
mohdamerkhalidi
28754ea621
Adding a new AR Linker Class for the ARM Compiler. ( #3949 )
6 years ago
Jussi Pakkanen
9b3671e711
Merge pull request #4000 from MathieuDuponchelle/gir_multiple_libs
...
gnome.generate_gir: refactor and allow passing multiple libraries
6 years ago
Jussi Pakkanen
220f1024b7
Be more cautious in recommending Unity builds. [skip ci]
6 years ago
Jussi Pakkanen
f335c8bdeb
Merge pull request #4004 from mesonbuild/nirbheek/console-entrypoint
...
Install meson.exe as the entrypoint on Windows
6 years ago
Nirbheek Chauhan
c0413f5d49
setup: Add tests for the installed files list
...
Ensure that the installed files list matches what we expect, to avoid
surprises at release time.
6 years ago
Jussi Pakkanen
d742e2e891
Merge pull request #4001 from mikezackles/cpp2a
...
Add support for c++2a and gnu++2a (closes #3997 )
6 years ago
Jussi Pakkanen
7aeb90a55e
Typo fix. [skip ci]
6 years ago
Jussi Pakkanen
f91b463bf4
Merge pull request #3831 from mesonbuild/symvisibility
...
Add gnu_symbol_visibility keyword argument
6 years ago
Nirbheek Chauhan
f80c11e7ee
Clarify the FeatureNew summary message
...
Fixes https://github.com/mesonbuild/meson/issues/3858
6 years ago
Nirbheek Chauhan
fc90c4a331
Print only custom env vars in the test log for each test
...
We still print the inherited env at the top of the test log because it
is useful when inspecting test results from a CI.
Fixes https://github.com/mesonbuild/meson/issues/3924
6 years ago
Nirbheek Chauhan
43ececb036
Skip FeatureNew checks when project() has not been parsed
...
Fixes https://github.com/mesonbuild/meson/issues/3944
6 years ago
Nirbheek Chauhan
ecede89b5d
Fix FeatureNew false positive in vcs_tag
...
Fixes https://github.com/mesonbuild/meson/issues/3904
6 years ago
Nirbheek Chauhan
41bb5941e1
Merge pull request #3657 from jon-turney/consolidate-dependency-check-report
...
Consolidate reporting the result of a dependency check
6 years ago
Jussi Pakkanen
1b2f8acbeb
Add support for s390x CPUs. Closes #3897 .
6 years ago
Nirbheek Chauhan
ae5ebd258f
PkgConfigDependency: Don't try to resolve internal compiler libs
...
-lc -lm -ldl -lrt -lpthread are special linker arguments that should
never be resolved to on-disk libraries.
Closes https://github.com/mesonbuild/meson/issues/3879
6 years ago
Nirbheek Chauhan
9ddc305e07
appveyor.yml: Nuke VS 2010 CI configuration
...
Appveyor CI gets backlogged for several hours at a time with the most
trivial of usage. Nuke it. It can be re-added if people really need it
and are willing to sponsor extra jobs on Appveyor.
6 years ago
Nirbheek Chauhan
86298f2109
setup: Require setuptools and entry_points:
...
This gives us a consistent experience and a simpler setup across all
operating systems. Setuptools is available everywhere these days.
6 years ago
Nirbheek Chauhan
2ee28029f9
Install meson.exe as the entrypoint on Windows
...
Thanks to Rafael Rivera for the suggestion
Fixes https://github.com/mesonbuild/meson/issues/1877
6 years ago
John Ericson
9f5c84279e
Fix bug and clarify error message in cross file validation
...
I believe the intent (from 30d0c2292f
) is
that `[binaries]` isn't needed just for "target-only cross" (build ==
host != target). This fixes the code to match that, hopefully clarifying
the control flow in the process, and also improves the message to make
that clear.
6 years ago
Zachary Michaels
b665db8bb8
Try appleclang 9.1 for both c++17 and c++2a
6 years ago
Zachary Michaels
695b325142
Don't test for c++2a on gcc versions that don't support it
6 years ago
Zachary Michaels
8417c1a20f
Add support for c++2a and gnu++2a
6 years ago
Jussi Pakkanen
fb2cdd0fe2
Call it gnu_symbol_visibility instead.
6 years ago
Jussi Pakkanen
d7d948db0d
Update documentation for symbol visibility.
6 years ago
Jussi Pakkanen
3c62eaa9ff
Updated sample projects to use visibility kwarg.
6 years ago
Jussi Pakkanen
6a0e674043
Add kwarg for specifying symbol visibility.
6 years ago
Jussi Pakkanen
15fb284395
Fix install when run with meson.exe. Closes #3988 .
6 years ago
Nirbheek Chauhan
475efb9354
msvc: Don't add dynamic link args, they're ignored
...
And they print a linker warning about unknown args.
6 years ago
Nirbheek Chauhan
c69030c123
Don't require an import library for shared modules
...
Shared modules may be resource-only DLLs, or might automatically
self-initialize using C constructors or WinMain at DLL load time.
When an import library is not found for a shared module, just print
a message about it instead of erroring out.
Fixes #3965
6 years ago
Mathieu Duponchelle
6ea939dd5f
gnome.generate_gir: support generating gir for multiple libraries
...
Fixes #3688
6 years ago
Mathieu Duponchelle
8377ea45aa
gnome.generate_gir: refactoring
...
The method was getting too long and difficult to make sense
of, this should make maintaining and updating it a bit easier.
6 years ago
David Seifert
ab01db177b
Make python module more robust
...
* Lookup is now performed according to the following order:
1. use `pkg-config` with `PKG_CONFIG_LIBDIR=LIBPC` from python
2. use plain `PKG_CONFIG_{LIBDIR,PATH}` from the environment
3. try to extract the information from SYSCONFIG
The second step is necessary for relocated python installations
and cross compilation scenarios, where the value of `LIBPC` might
be wrong.
6 years ago
Charles Barto
ab6929f64a
[skip ci]
...
add list of existing editor integrations
add meson_cmake_wrapper to the list of integrations
6 years ago
Nirbheek Chauhan
a8694f4b26
Don't check version for fallback not-found dependency
...
Otherwise we get an error while checking the subproject version:
Uncomparable version string 'none'.
If the dependency was found as a not-found dependency in the
subproject and is not required, just take it.
6 years ago
Jussi Pakkanen
ddb1238ee2
Use Github for executable hosting.
6 years ago
Nirbheek Chauhan
6c8f81333a
PkgConfigDependency: Fix library path search order
...
We were searching the library paths in the reverse order, which meant
that we'd pick libraries from the wrong prefix.
Closes https://github.com/mesonbuild/meson/issues/3951
6 years ago
Nirbheek Chauhan
8402a22233
Test that vim syntax highlighting is up-to-date
...
Needs a `mock` kwarg to Interpreter to not do any parsing of build
files, but only setup the builtins and functions.
Also consolidate the documentation and data tests into one class.
6 years ago
Mohammed Amer Khalidi
376cdd7054
Adding support to checkout from reviews in git/gerrit using commit ids.
6 years ago
Niklas Claesson
c0c2455e3c
Prints error message instead of backtrace on fail
6 years ago
Patrick Griffis
e45ab8b24c
Fix missing permitted kwarg
...
get_pkgconfig_variable() takes a 'default' keyword
6 years ago
Emil Styrke
2e3e2abceb
Fix @CURRENT_SOURCE_DIR@ in generator()
...
Fix @CURRENT_SOURCE_DIR@ pointing to the wrong directory if generator() is called from a subdir.
6 years ago