Jason Francis
39c751b94c
introspection: export all sources for custom targets
...
Also adds some test cases for source files in target_sources.
4 years ago
Dylan Baker
d4e867809b
store the list of initializes subprojects in the coredata structure
...
We need to konw on rconfigure which options have already bee set not
just for the super project, but also for the subproject. However, using
first_invocation is not sufficient, as a reconfigure could add a new
subpproject that wasn't present before, and we need to initialize that
project's builtins.
4 years ago
Xavier Claessens
3af39a463b
Interpreter: Fallback when required is false but forcefallback is true
4 years ago
Jussi Pakkanen
a10a6284d2
Merge if and else tests to a single project.
4 years ago
Jussi Pakkanen
1a31882f59
Xcode: make Swift projects work.
4 years ago
Jussi Pakkanen
8f2155f4f7
Xcode: some more skips.
4 years ago
Jussi Pakkanen
aa2a153afb
Xcode: fix linking to customtargetindex objects.
4 years ago
Jussi Pakkanen
3e3e81ccf0
Xcode: one more skip.
4 years ago
Jussi Pakkanen
10197aa9d1
Xcode: a few more skips.
4 years ago
Jussi Pakkanen
a2fd31f6c6
Xcode: skip one more object extraction test.
4 years ago
Jussi Pakkanen
b9b00c714e
Xcode: use native path naming scheme.
4 years ago
Jussi Pakkanen
4881c2cf98
Xcode: skip link language override test.
4 years ago
Jussi Pakkanen
59e8962c25
Xcode: one more whole-archive skip.
4 years ago
Jussi Pakkanen
d116d94f92
Xcode: fix file objects in various places.
4 years ago
Jussi Pakkanen
07117c4225
Xcode: skip all-object library test.
4 years ago
Jussi Pakkanen
045893bb18
Xcode: disable asm and LLVM ir projects.
4 years ago
Xavier Claessens
3c64ecaf86
pkgconfig: Add support for CustomTarget objects in generator
...
Fixes : #8618 .
4 years ago
Jussi Pakkanen
4fc578a25f
Xcode: skip object extraction test that can not be made to work.
4 years ago
Jussi Pakkanen
96d85d601d
Xcode: fix path of extracted objects in subdirs.
4 years ago
Tristan Partin
4c13aa30a1
dependency: Add JDK system dependency
...
The JDK system dependency is important for detecting JDK include paths
that may be useful when developing a JNI interface.
4 years ago
Xavier Claessens
5440ce003b
Add global_source/build_root()
4 years ago
Jussi Pakkanen
59306c45c5
Fix Xcode targets in subdirs.
4 years ago
Jussi Pakkanen
e80ff985fb
Do not add custom target dir automatically when implicit false.
4 years ago
Olexa Bilaniuk
2579420a72
Strip host-compiler -std flag from NVCC line.
...
Closes #8523 .
4 years ago
Xavier Claessens
47633330da
pkgconfig: Allow setting prefix in dataonly pc file
...
Some variables are reserved because meson set them automatically. But we
are not setting them for dataonly pc files, so there is no reason to
reserve them.
Fixes : #8583 .
4 years ago
D Scott Phillips
703fd6d1fa
compilers: clang-cl: Also accept .s files ( #8520 )
...
* compilers: clang-cl: Also accept .s files
clang-cl has support for gas-compatible assembly files.
* Add clang-cl to '128 generated assembly' test
4 years ago
Dylan Baker
c211fea513
Refactor Qt Dependency into proper split classes with factories
...
Currently the Qt Dependencies still use the old "combined" method for
dependencies with multiple ways to be found. This is problematic as it
means that `get_variable()` and friends don't work, as the dependency
can't implement any of those methods. The correct solution is to make
use of multiple Dependency instances, and a factory to tie them
together. This does that.
To handle QMake, I've leveraged the existing config-tool mechanism,
which allows us to save a good deal of code, and use well tested code
instead of rolling more of our own code.
The one thing this doesn't do, but we probably should, is expose the
macOS ExtraFrameworks directly, instead of forcing them to be found
through QMake. That is a problem for another series, and someone who
cares more about macOS than I do.
4 years ago
Xavier Claessens
37d4c86e5b
interpreter: Fix spurious warning in include_directories()
...
When doing include_directories('.') at the root of the subproject we
should not warn about sandboxing violation.
4 years ago
Xavier Claessens
1be13710ad
environment(): Allow stacking append() and prepend() ( #8547 )
...
* environment(): Allow stacking append() and prepend()
* Update docs/markdown/Reference-manual.md
Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>
4 years ago
Eli Schwartz
f7b0238ed6
add test case for installed targets uninstalling a single directory
4 years ago
Xavier Claessens
3990754bf5
Allow add_dist_script() in subprojects
...
Fixes : #8440 .
4 years ago
Xavier Claessens
848e360450
interpreter: Add varname as positional arg in dep.get_variable()
4 years ago
Jussi Pakkanen
fe4ddb5268
Warn when grabbing internals of subprojects with include_directories.
4 years ago
Jussi Pakkanen
639063db7f
One more unixy fix.
4 years ago
Xavier Claessens
f558689277
clangformat: Add include and ignore files
4 years ago
Xavier Claessens
a45f939092
Add range() function
...
Fixes : #5026 .
4 years ago
Jussi Pakkanen
a0c16f94fc
Replace Unix shell commands with scripts.
4 years ago
Xavier Claessens
598e968993
Add `meson devenv` command and meson.add_devenv()
4 years ago
Jussi Pakkanen
be86199221
Fix run_targets running scripts from different subdirs.
4 years ago
Xavier Claessens
1f3bf0f135
interpreter: Cache found dependency before converting for include_type
...
Fixes : #8516 .
4 years ago
Jussi Pakkanen
a1c8376f42
Add test to build a mixed C/Rust shared library.
4 years ago
Laurin-Luis Lehning
f7dd111333
Some documentation language adjustments & improved error messages
4 years ago
Laurin-Luis Lehning
c787b28e3a
Formatting fix
4 years ago
Laurin-Luis Lehning
2607510b18
Add failing test cases & release snippet
4 years ago
Laurin-Luis Lehning
07f467d057
Switch fstring syntax to @..@ & limit fstring captures to int, str, float and bool
4 years ago
Laurin-Luis Lehning
130adef778
Add support for basic format strings
4 years ago
Jussi Pakkanen
56a0e74d71
Disable broken asm test on Cygwin as nobody knows how to fix it.
4 years ago
Tristan Partin
c83106ee38
Add str.replace() method
4 years ago
Jussi Pakkanen
fcbab5948c
Refactor subdir visitation to track files instead of dirs.
4 years ago
Jussi Pakkanen
85796229c2
Fix Fortran dep scanner for upper case file extensions. Closes #8395 .
4 years ago