Daniel Mensinger
b91c5aad85
Update intro dump on meson configure
6 years ago
Daniel Mensinger
c4eb5c79fe
Added unit test
6 years ago
Daniel Mensinger
24d668bea0
Removed determine_installed_path since it is no longer needed
6 years ago
Daniel Mensinger
4addd176db
Removed fallback detection logic
6 years ago
Daniel Mensinger
a5be893b19
Some code cleanup
6 years ago
Daniel Mensinger
74274e23ca
Moved the source and compiler generation to the backend
6 years ago
Daniel Mensinger
71d17b44e4
Fixed list_target_files and list_targets
6 years ago
Daniel Mensinger
a0d478da39
More refactoring
6 years ago
Daniel Mensinger
98eb7a48ab
Added unit test
6 years ago
Daniel Mensinger
b2854e9edc
Fixed rebase error
6 years ago
Daniel Mensinger
111e596200
Fixed tests and benchmarks
6 years ago
Daniel Mensinger
f4285f350e
Initial automatic target file generation
6 years ago
Daniel Mensinger
a6034d1f19
Added option to force use the new format
6 years ago
Daniel Mensinger
8288555aa1
mintro: Added option to introspect multiple parameters at once
6 years ago
Daniel Mensinger
1a0e1afbdd
Updated format to include sources
6 years ago
mensinda
9d13855544
Fixed hardcode is_cross = False
6 years ago
Daniel Mensinger
0a12594847
Added include_directories and extra_args keys to target introspection
6 years ago
Xavier Claessens
90c9b868b2
parser: Fix line continuation outside of (), [] or {}
...
The documentation states: "In other cases you can get multi-line
statements by ending the line with a \." but that seems to never have
worked.
Closes : #4720
6 years ago
Xavier Claessens
83964f64fa
pkgconfig: Fix flag deduplication
...
This is a regression introduced by 2cbf7caf5
, generated pkg-config files
have many duplicated '-pthread' flags.
6 years ago
John Ericson
e147054d6f
Get rid of `ConfigData`
6 years ago
John Ericson
edb3585b65
Simplify config file checking code, inlining `_ok_type`
6 years ago
John Ericson
2b22576fb6
Remove cross_info; cross file is parsed up front and discarded
6 years ago
John Ericson
dbf080afe9
Get rid of `need_cross_compiler`
...
Building a cross compiler (`build == host != target`) is not cross
compiling. As such, it doesn't make sense to handle it under
`is_cross_build`.
(N.B. Building a standard library for a cross compiler would require
cross compiling, but Meson has support to do such a thing as part of a
compiler build currently.)
6 years ago
Jussi Pakkanen
3a6e2aeed9
Can use plain strings for include_directories.
6 years ago
Jussi Pakkanen
6c76ac8017
Handle strings in cross file args. Closes #4671 .
6 years ago
guruDanny67
ee555e37c9
Avoid exception looking for python on windows if the launcher (py.exe) is not installed
6 years ago
Nicolas Schneider
f1b32aa4bb
vs: respect 'b_pch' option
...
Fixes #4681 .
6 years ago
Nicolas Schneider
211a60dc99
print 'Nothing to install.' if nothing was installed
...
Fixes #882 .
6 years ago
Nicolas Schneider
31e1a31030
fail configuration if PCH files do not exist
...
Previously, the configuration worked fine, but the compiler raised an
error. Now, we explicitly check for the existence of files and print a
useful error message if they do not exist.
6 years ago
Nicolas Schneider
739341ec04
compile pch .h file as c++-header when building a c++ target
...
Fixes #3641 .
6 years ago
Daniel Mensinger
64372d5cfc
Do not require build dir for introspection
6 years ago
Daniel Mensinger
c033af914a
Disable mlog and don't require build directory for environment
6 years ago
Daniel Mensinger
10ce5deb71
Introspection refactoring
6 years ago
Jussi Pakkanen
da5da5977a
Default libdir is "lib" when cross compiling. Closes #2535 .
6 years ago
Jussi Pakkanen
ab3aeeffe9
Print warning if using "default_options" without a "fallback".
6 years ago
Jussi Pakkanen
1fca654055
Add a clang-format target.
6 years ago
Xavier Claessens
b6cede2928
find_library: Add 'has_headers' kwarg
...
A library without its headers is often useless, so it is common to check
them together.
6 years ago
Xavier Claessens
ff2aa5a9ef
Add 'required' kwarg in header check functions
...
Closes : #3940
6 years ago
Jussi Pakkanen
4df9006ca4
Can specify a string to print when dep not found. Closes #2407 .
6 years ago
Jussi Pakkanen
7d5660dcbe
Reformat long lines.
6 years ago
Daniel Mensinger
6864ed60dd
mintro: Bug fix for determine_installed_path for multiple target outputs
6 years ago
John Ericson
9b13fb3672
Factor out more option iterating
6 years ago
Dylan Baker
f9a35e08ac
msetup: Fix callig meson --wipe inside a build directory
...
This seems to be related to deleting the current working directory.
Simply deleting all of the trees inside the build directory instead
seems to fix it. This only appears with some combination of generated
targets, running the test case against say "1 trivial" doesn't show the
bug.
See this mesa bug: https://bugs.freedesktop.org/show_bug.cgi?id=109071
6 years ago
Daniel Mensinger
9958262cb2
Fixed subprojects build info
6 years ago
Dylan Baker
c1e416ff61
dependencies/ui: Fix qmake detection when not using cross or native file
...
Fixes #4641
6 years ago
Dylan Baker
d3e638fcbd
dependencies/ui: Fix Qt pkg-config detection on MacOS
...
Since 0.46.1 pkg-config detection has been broken using the qt from homebrew,
due to a bug in homebrew (I think). Tested with qt 5.12.0 on Mojave.
6 years ago
Dylan Baker
bd630fbe55
msetup: Give a nice error message if cmd_line.txt cannot be read
...
As would happen if someone tried to manually call meson --wipe on a
directory configured with a version < 0.49.0
6 years ago
Xavier Claessens
47b9c1a564
Allow fallback in nodownload mode
...
It is possible that the subproject has been downloaded already, in that
case there is no reason to not use it. If the subproject has not been
downlaoded already it will fail do_subproject().
6 years ago
Dylan Baker
f126f43c4f
dependencies/ui: Don't require lrelease for qt
...
We previously didn't require it so we shouldn't silently start doing so.
Fixes #4654
6 years ago
John Ericson
4ffd009fe9
Factor out iterator over options dictionaries
...
Otherwise it's easy to forget one. In fact we did forget one:
`backend_options` in `validate_option_value`.
6 years ago