Dylan Baker
cd5360821a
compilers: split gnu and gnulike compilers out of compilers
...
I debated a bit whether both classes really belong in the same module,
and decided that they do because the share a number of helpers.
5 years ago
Dylan Baker
d68969f169
compilers/mixins/visualstudio: Add type annotations
5 years ago
Dylan Baker
214ab455d3
compilers: Move the VisualStudioLikeCompiler class into mixins
5 years ago
Dylan Baker
51c66752a9
compilers/mixins/arm: Add type annotations
5 years ago
Dylan Baker
ef448b95ae
compilers: Move ArmCompiler to a mixin module
5 years ago
Dylan Baker
675874c303
compilers/mixins/ccrx: add type annotations
5 years ago
Dylan Baker
4d5c745bdc
compilers: move ccrx compiler abstraction into mixins
5 years ago
Dylan Baker
d483da46a9
compilers: Move clike into a mixins directory
...
The compilers module is rather large and confusing, with spaghetti
dependencies going every which way. I'm planning to start breaking out
the internal representations into a mixins submodule, for things that
shouldn't be required outside of the compilers module itself.
5 years ago
David Seifert
cd12a6fc39
Add test to catch `-Werror=unused-parameter` brittleness
5 years ago
David Seifert
fcf27c2a2d
Do not fail on passing `-Werror=unused-parameter` from environment
5 years ago
Thibault Saunier
6813ef1e24
cmake: Handle disabling subprojects
5 years ago
Christoph Weiss
185238fdb4
Change meson test's build failure exit code to 125
5 years ago
Nirbheek Chauhan
264533cb67
unit tests: Don't keep builddirs inside source tree on Cygwin
...
Seems to cause the umask tests to fail:
https://github.com/mesonbuild/meson/pull/5546#issuecomment-509666523
5 years ago
Michael Hirsch, Ph.D
d5cb1c2f19
Merge pull request #5560 from scivision/cstd18_bug
...
add clang c_std=c18 alias and cleanup logic for compiler version unit tests
5 years ago
Michael Hirsch, Ph.D
8c6e98c847
Remove unnecessary setup.cfg lines that confound offline use
5 years ago
Michael Hirsch, Ph.D
23ef8045a9
setup.py >= python 3.5.2
5 years ago
Michael Hirsch, Ph.D
a90a9aac84
doc
5 years ago
Michael Hirsch, Ph.D
40bf83fd46
minimum python 3.5.2
5 years ago
Michael Hirsch, Ph.D
cb7d236696
pythonic file checks
5 years ago
Michael Hirsch, Ph.D
6727e5f5ad
add missing commas
5 years ago
Michael Hirsch, Ph.D
4b9625ac06
ENH: metadata PEP390 setup.cfg
...
https for Meson docs url
Co-Authored-By: Elliott Sales de Andrade <quantum.analyst@gmail.com>
5 years ago
myfreeweb
efea48788a
Ignore -D* and -fstack-protector* args for D compilers
...
Fixes #5369
5 years ago
Daniel Mensinger
5bd21a96b8
cmake: Fix dependencies with try_compile ( closes #5605 )
5 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
5 years ago
Jussi Pakkanen
19cda6b7c9
Merge pull request #5606 from xclaesse/alias_target
...
Add alias_target() function
5 years ago
gjaeger1
30e42009c0
Adapting Boost Python library detection to Boost >= 1.67. Closes #4288 .
5 years ago
Xavier Claessens
d8b3af00ac
vs backend: commandrunner.py takes source dir first
5 years ago
Xavier Claessens
12d4031f52
Add alias_target() function
5 years ago
Norbert Nemec
748c9d817d
try IMPORTED_IMPLIB before IMPORTED_LOCATION for cmake dependencies
5 years ago
Jussi Pakkanen
4751f6d854
Merge pull request #5574 from mensinda/cmakeCCmd
...
CMake subprojects add_custom_command support
5 years ago
Jussi Pakkanen
724113849c
Warn if the user manually adds arguments we have builtin support for.
5 years ago
Norbert Nemec
4b25253bfd
Reference error code as hex value and improve comment
5 years ago
Norbert Nemec
62c975659f
diagnostics for missing DLLs on Windows in meson_exe.py
5 years ago
Charlie Barto
687bd31317
Make faster w defender atp
5 years ago
Jussi Pakkanen
15d56079ad
Merge pull request #5621 from mesonbuild/paralleltests
...
Run tests in paralled with pytest when installed
5 years ago
Nirbheek Chauhan
a310ba863e
FAQ.md: Do I need to add headers to sources? [skip ci]
5 years ago
Nirbheek Chauhan
2cc9d79e95
FAQ.md: Add an entry for generated headers [skip ci]
...
Closes https://github.com/mesonbuild/meson/issues/5624
5 years ago
Jussi Pakkanen
706ebc37f8
Use pytest-xdist in Azure and Linux on Travis.
5 years ago
Jussi Pakkanen
b1fbbde0b0
Use pytest parallelisation if available.
5 years ago
Jussi Pakkanen
435b3df6a9
Do not run unittests with unity builds because that is redundant.
5 years ago
Jussi Pakkanen
4b1ab96795
Add command line argument to skip unit tests.
5 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.
5 years ago
Michael Hirsch, Ph.D
2dc11bcb53
typo
5 years ago
Michael Hirsch, Ph.D
763b05e074
cleanup clang version minimum
5 years ago
Michael Hirsch, Ph.D
8e0acae439
type hints @dcbaker
5 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
5 years ago
Jussi Pakkanen
fb4c95a322
Merge pull request #5620 from mesonbuild/testenvvar
5 years ago
Robin Kertels
96a6d621bf
Add (v)c++latest to VC_VERSION_MAP
5 years ago
Jussi Pakkanen
beae10f588
Update hotdoc files to match those produced by newest version.
5 years ago
Jussi Pakkanen
380dcedb86
Hack envvar override when running tests in-process.
5 years ago