Daniel Mensinger
5bd21a96b8
cmake: Fix dependencies with try_compile ( closes #5605 )
6 years ago
Norbert Nemec
555847f20f
Fix MSVC /link argument ordering ( #5598 )
...
* correct handling of LDFLAGS in find_library and sanity_check on MSVC (fixes #3629 )
The MSVC compiler requires all linker flags to be placed after the compiler flags, separated by a "/link" argument. This was already handled for regular linking commands, but not yet for the aforementioned special code paths.
* on MSVC, add /link separator between compiler and linker flags when it is missing
* avoid unnecessary /link argument
6 years ago
Jussi Pakkanen
19cda6b7c9
Merge pull request #5606 from xclaesse/alias_target
...
Add alias_target() function
6 years ago
gjaeger1
30e42009c0
Adapting Boost Python library detection to Boost >= 1.67. Closes #4288 .
6 years ago
Xavier Claessens
d8b3af00ac
vs backend: commandrunner.py takes source dir first
6 years ago
Xavier Claessens
12d4031f52
Add alias_target() function
6 years ago
Norbert Nemec
748c9d817d
try IMPORTED_IMPLIB before IMPORTED_LOCATION for cmake dependencies
6 years ago
Jussi Pakkanen
4751f6d854
Merge pull request #5574 from mensinda/cmakeCCmd
...
CMake subprojects add_custom_command support
6 years ago
Jussi Pakkanen
724113849c
Warn if the user manually adds arguments we have builtin support for.
6 years ago
Norbert Nemec
4b25253bfd
Reference error code as hex value and improve comment
6 years ago
Norbert Nemec
62c975659f
diagnostics for missing DLLs on Windows in meson_exe.py
6 years ago
Charlie Barto
687bd31317
Make faster w defender atp
6 years ago
Jussi Pakkanen
15d56079ad
Merge pull request #5621 from mesonbuild/paralleltests
...
Run tests in paralled with pytest when installed
6 years ago
Nirbheek Chauhan
a310ba863e
FAQ.md: Do I need to add headers to sources? [skip ci]
6 years ago
Nirbheek Chauhan
2cc9d79e95
FAQ.md: Add an entry for generated headers [skip ci]
...
Closes https://github.com/mesonbuild/meson/issues/5624
6 years ago
Jussi Pakkanen
706ebc37f8
Use pytest-xdist in Azure and Linux on Travis.
6 years ago
Jussi Pakkanen
b1fbbde0b0
Use pytest parallelisation if available.
6 years ago
Jussi Pakkanen
435b3df6a9
Do not run unittests with unity builds because that is redundant.
6 years ago
Jussi Pakkanen
4b1ab96795
Add command line argument to skip unit tests.
6 years ago
Nirbheek Chauhan
716140ddb4
unit tests: Fix CI failures in NativeFileTests
...
We can't rely on 'py' always being available in PATH, use
sys.executable which is the real path to Python 3.
6 years ago
Michael Hirsch, Ph.D
2dc11bcb53
typo
6 years ago
Michael Hirsch, Ph.D
763b05e074
cleanup clang version minimum
6 years ago
Michael Hirsch, Ph.D
8e0acae439
type hints @dcbaker
6 years ago
Michael Hirsch, Ph.D
c756d06fbb
add clang c_std=c18 alias
...
fix unit test skips for clang c18
correct unittests clang minimum version
cleanup unittest clang skip c_std
finesse unittest vs. clang version
6 years ago
Jussi Pakkanen
fb4c95a322
Merge pull request #5620 from mesonbuild/testenvvar
6 years ago
Robin Kertels
96a6d621bf
Add (v)c++latest to VC_VERSION_MAP
6 years ago
Jussi Pakkanen
beae10f588
Update hotdoc files to match those produced by newest version.
6 years ago
Jussi Pakkanen
380dcedb86
Hack envvar override when running tests in-process.
6 years ago
Jussi Pakkanen
b9a771fef8
Use environment variable overrides.
6 years ago
Jussi Pakkanen
84ac5ce51e
Convert some methods to use mandatory named kwargs.
6 years ago
Norbert Nemec
cc3993d1d4
move Gnu-specific feature '--print-search-dirs' to GnuLikeCompiler
6 years ago
Michael Hirsch, Ph.D
85cc424712
expanduser for tilde
6 years ago
Michael Hirsch, Ph.D
324c5b9aae
check that compiler name is not blank or empty
...
pep8
6 years ago
Michael Hirsch, Ph.D
041de5814f
BUGFIX: typo from 32e827dcdc
broke PGI compilers
6 years ago
Jussi Pakkanen
42c9dde58e
Merge pull request #5584 from mesonbuild/fixed5483
...
Fix compiler flags not used for some tests
6 years ago
Jussi Pakkanen
785b0711cd
Explain that using shell functionality is forbidden. [skip ci]
6 years ago
Jussi Pakkanen
74611ecb1f
Fix unittests.
6 years ago
Marvin Scholz
5badc3912d
compilers: Add missing cflags when calling compiler in link mode
6 years ago
Marvin Scholz
976c303603
compilers: Fix missing cflags for function detection
...
Fix #5481
6 years ago
ePirat
b347f00dc0
Fix windres module argument flattening
6 years ago
Charlie Barto
1e182b51c6
Improve performance with windows defender ATP
6 years ago
Xavier Claessens
dd8f75ad93
Document that add_languages() returns a boolean [skip ci] ( #5600 )
6 years ago
Marvin Scholz
0bf5c27b64
env: Do not return empty tool env vars
...
A compiler or other tool with an empty string as name does not make
sense as it anyway can not be used and causes a failure later in
parse_entry.
Fix #5451
6 years ago
Abhishek Pandit-Subedi
968aee4f18
Return zero in cross_sizeof
...
There is an error when compiling with -Werror=return-type. Non void
functions must return valid values.
6 years ago
Dylan Baker
e3140fa2d2
dependencies/dev: Switch order of llvm dependency finders
...
Cmake ignores shared vs dynamic linking, and always returns static. This
went unnoticed, but results in regresssions for mesa. We need to fix
cmake, but with 0.51.1 due out shortly switching the order provides a
quick fix to restore expected functionality seems acceptable.
Fixes #5568
6 years ago
Dylan Baker
38f2034162
tests/llvm: Test both cmake and llvm-config methods
6 years ago
Daniel Mensinger
54b1c43277
mintro: Add installed subdirs introspection ( fixes #5556 )
6 years ago
Jussi Pakkanen
ba6c0cab8f
Use the same directory names for dist so that ccache works. Closes #5583 .
6 years ago
Jussi Pakkanen
33aee8d113
Describe array values in install_dir. [skip ci]
6 years ago
Dylan Baker
866d105036
xcodebackend: Fix iterating compilers after host/build changes
...
Fixes #5570
6 years ago