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
80ee0f85f9
Added release snippet
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
Jussi Pakkanen
1aca899a63
Merge pull request #4445 from Ericson2314/no-cross_info
...
Parsing of cross file upfront, and store in cross-agnostic data structures
6 years ago
Zbigniew Jędrzejewski-Szmek
26437f0297
rpm: remove manual printing of error logs on failure
...
This effectively reverts 92219a2739
.
Back in the day, meson test would not print the logs on failure. But it now
does that automatically, for the failed test. Printing all logs is annoying because
it results in exteremely long output in some packages.
Example output:
+ /usr/bin/ninja test -v -j4 -C x86_64-redhat-linux-gnu
ninja: Entering directory `x86_64-redhat-linux-gnu'
[0/1] /usr/bin/meson test --no-rebuild --print-errorlogs
1/16 test-script.sh OK 46.23 s
...
14/16 test-casync FAIL 1.17 s (exit status 1)
15/16 test-cautil OK 0.00 s
16/16 test-util OK 0.01 s
Ok: 15
Expected Fail: 0
Fail: 1
Unexpected Pass: 0
Skipped: 0
Timeout: 0
The output from the failed tests:
14/16 test-casync FAIL 1.17 s (exit status 1)
--- command ---
/home/zbyszek/fedora/casync/casync-2/x86_64-redhat-linux-gnu/test-casync
--- stdout ---
error
-------
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
Jussi Pakkanen
8c9fcb1fea
Merge pull request #4564 from mensinda/introBuildOpts
...
mintro: Introspect --buildoptions without a build directory
6 years ago
Daniel Mensinger
98115bb261
Updated doc [skip ci]
6 years ago
Nicolas Schneider
739341ec04
compile pch .h file as c++-header when building a c++ target
...
Fixes #3641 .
6 years ago
TingPing
d25146ffc0
docs: Note --warnlevel instead of --warning_level
6 years ago
TingPing
4aeba8214f
docs: Change warnlevel option to warning_level
6 years ago
Daniel Mensinger
e5099357c2
Tests and docs
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
8a6c0aa13d
Better error message for rpath test.
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
Jussi Pakkanen
3b495c397e
Merge pull request #4672 from xclaesse/find-library-headers
...
find_library: Add 'has_headers' kwarg
6 years ago
Jussi Pakkanen
3d7c32a34e
Merge pull request #4451 from jon-turney/simplify-x86-msvc-test
...
Simplify x86 msvc test
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
Nirbheek Chauhan
c4a6b193d4
release notes: document how to pass native files [skip ci]
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