Daniel Mensinger
7074f12644
mintro: Renamed --dependencies --> --scan-dependencies
6 years ago
Daniel Mensinger
185dc8c2e5
mintro: Fix unit test
6 years ago
Daniel Mensinger
f9da03fb7b
mintro: Address code review
6 years ago
Daniel Mensinger
f9b41d5ecb
mintro: Dependencies from source
6 years ago
Daniel Mensinger
8a1411a1e8
Target introspection from source
6 years ago
Daniel Mensinger
98e60f59ac
Minor introspection refactoring
6 years ago
Daniel Schulte
f0b0bcf86d
mintro: Add subproject_dir to --projectinfo
6 years ago
Daniel Schulte
924cf5e622
mintro: Add name of subproject the target is contained in to --target output
6 years ago
Daniel Mensinger
71d174bcbe
Fixed some code issues
6 years ago
John Ericson
19f81d3e33
Never access environment.properties downstream
...
Instead use coredata.compiler_options.<machine>. This brings the cross
and native code paths closer together, since both now use that.
Command line options are interpreted just as before, for backwards
compatibility. This does introduce some funny conditionals. In the
future, I'd like to change the interpretation of command line options so
- The logic is cross-agnostic, i.e. there are no conditions affected by
`is_cross_build()`.
- Compiler args for both the build and host machines can always be
controlled by the command line.
- Compiler args for both machines can always be controlled separately.
6 years ago
Daniel Mensinger
750af9c853
Moved the introspection interpreter
6 years ago
Daniel Mensinger
ccad493e85
Basic AST visitor pattern
6 years ago
Daniel Mensinger
af38722f89
mintro: Introspection interpreter refactoring ( #4733 )
...
* Fixed spelling
* Merged the Buildoptions and Projectinfo interpreter
* Moved detect_compilers to Environment
* Added removed test case
* Split detect_compilers and moved even more code into Environment
* Moved set_default_options to coredata
* Small code simplification in mintro.run
* Move cmd_line_options back to `environment`
We don't actually wish to persist something this unstructured, so we
shouldn't make it a field on `coredata`. It would also be data
denormalization since the information we already store in coredata
depends on the CLI args.
6 years ago
Daniel Mensinger
609ecba37f
mintro: Added `defined_in` key in the targets introspection
6 years ago
Daniel Mensinger
96f354ebde
Load source dir from meson-info.json
6 years ago
Daniel Mensinger
243eca6cee
mintro: Check meson-info.json version instead of loading coredata
6 years ago
John Ericson
913c87b327
`environment.cross_info.need_cross_compiler()` doesn't exist
...
It is no longer needed either.
6 years ago
Daniel Mensinger
5c139032b8
Deprecated --target-files API
6 years ago
Daniel Mensinger
a1d8c1d3e9
Changed introspection target format
6 years ago
Daniel Mensinger
b82cbbdd4c
Fixed missing newline
6 years ago
Daniel Mensinger
ab32f1fe00
Added meson-info.json
6 years ago
Daniel Mensinger
38241f5fce
Introspection refactoring
6 years ago
Daniel Mensinger
bcb8146280
Indent flag only toggles
6 years ago
Daniel Mensinger
aa6e3dc470
Fixed flake8 issues
6 years ago
Daniel Mensinger
9c214f4a70
Fixed buildoptions form source
6 years ago
Daniel Mensinger
25618c6a4d
Atomic write
6 years ago
Daniel Mensinger
bd8bad46c3
Code cleanup and renamed variables
6 years ago
Daniel Mensinger
63e16fbcc3
Fixed flake8
6 years ago
Daniel Mensinger
e1719c5d37
Load coredata
6 years ago
Daniel Mensinger
02734cc5c3
Better documentation
6 years ago
Daniel Mensinger
c33df1fd73
Revert to old behavior
6 years ago
Daniel Mensinger
3588786138
Some small fixes
6 years ago
Daniel Mensinger
84948ea6cd
Renamed `--force-new` to `--force-dict-output`
6 years ago
Daniel Mensinger
2e81631d0c
Keep 'filename' and 'install_filename' as strings
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
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