Daniel Mensinger
3588786138
Some small fixes
6 years ago
Daniel Mensinger
84948ea6cd
Renamed `--force-new` to `--force-dict-output`
6 years ago
Daniel Mensinger
5c39dd0668
Doc updates and throw if no target type is set
6 years ago
Daniel Mensinger
2e81631d0c
Keep 'filename' and 'install_filename' as strings
6 years ago
Daniel Mensinger
f75e219297
Simplified code and improved preformance
6 years ago
Daniel Mensinger
7691b0460c
Ninja backend target introspection
6 years ago
Daniel Mensinger
d4ac832bf6
Split the monolithic introspection file into chunks
6 years ago
Daniel Mensinger
b11df88395
Documentation and unit test update
6 years ago
Daniel Mensinger
b034f52656
Filenames are now lists
6 years ago
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
Jon Turney
a223b20bb6
Fix linking when cross-compiling and a windows resource is first object
...
It appears that LIB/LINK default to the host architecture if they can't
guess it from the first object. With the MSVC toolchain, resource files
are (usually) compiled to an arch-neutral .res format. Always
explicitly provide a '/MACHINE:' argument to avoid it guessing
incorrectly when cross-compiling.
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