Jussi Pakkanen
e929e67555
Merge pull request #6943 from dcbaker/gdc-coverage
...
Fix coverage generation with D compilers
5 years ago
Jussi Pakkanen
f695359e1d
Merge pull request #6958 from jon-turney/fix-name-prefix-explicit-default
...
Fix library(name_prefix: [])
5 years ago
Daniel Mensinger
fa1bb2a676
cmake: Preserve include directory order ( fixes #6959 )
5 years ago
Daniel Mensinger
14d7d25115
azure: Do not skip boost tests
5 years ago
Daniel Mensinger
1be660ff64
cmake: Capture stdout with UNIX pipes
5 years ago
Daniel Mensinger
4199cb32a5
cmake: Fix custom command CMake list issue
5 years ago
Jesse Natalie
bca69aaf89
Fix VS Intellisense for projects which depend on LLVM found via CMake.
5 years ago
Daniel Mensinger
03b86cdbed
opts: Allow `-` and `not` in meson_options.txt ( fixes #6948 )
5 years ago
Marc-André Lureau
a54506fe46
Handle BuildTarget as custom_target() argument #6914
5 years ago
Peter Hutterer
77dad3153d
docs: fix the docs for install_subdir's strip_directory [skip ci]
...
When set to **true** only the last component is used. And throw in two minor
grammatical fixes while we're there.
5 years ago
Jon Turney
ba7b50a104
Refine documentation of default name_prefix
...
Refine documentation of the default name_prefix, so people don't get the
impression they can write logic which uses 'lib' as the default, when
they should be defaulting to '[]', to let us take care of the
complexities.
5 years ago
Jon Turney
27d498de6d
Fix handling of library(name_prefix: [])
...
Adjust the handling of a name_prefix: [] kwarg to be the same as
name_suffix: [] kwarg, i.e. identically to the case where it's omitted,
so BuildTarget.prefix doesn't get set (so the default is used).
Also clarify the error reported when a non-empty list is used.
5 years ago
Jon Turney
40256fb7e6
Extend test to cover using library(name_prefix: []) for default
...
Also test library(name_suffix: [])
5 years ago
Vanadiae
eb806b7286
References-tables.md: repair broken table
...
At https://mesonbuild.com/Reference-tables.html#compiler-and-linker-selection-variables , the table is broken and it seems that the only difference with other well-working tables on this page is the semi-column ":" that are present under Language.
5 years ago
Jussi Pakkanen
97bb54bdfa
Add rust stdlib dir to PATH on Windows.
5 years ago
Dylan Baker
fe3f7676e9
compilers/d: Add missing method for dmd and ldc
...
This allows coverage to be generated, although we can't yet do anything
useful with it.
5 years ago
Dylan Baker
0f8d73848a
compilers/d: Implement coverage for GDC
...
Since GDC a GNU compiler, we just need to pass the normal GNU options
and coverage is generated.
Related: ##5669
5 years ago
Dylan Baker
b5e077fce8
compilers: Move things out of clike
...
One method belongs in the base Compiler class, the other belongs in
the GnuLikeCompiler class.
5 years ago
Pino Toscano
a33f20b9a4
compilers: disable b_sanitize on hurd
...
ASAN is not supported on the Hurd yet.
5 years ago
Pino Toscano
626522965f
symbolextractor: add support for hurd
...
Use the GNU toolchain for that.
5 years ago
Pino Toscano
a2b8ed1446
symbolextractor: rename linux_syms to gnu_syms
...
It is not specific to Linux but works with the GNU toolchain, so
give it a better name.
No functional changes.
5 years ago
Pino Toscano
a441836773
Recognize Hurd as platform/OS
5 years ago
dabrain34
97a72a1c53
cmake: support cmake config file syntax ( #6917 )
...
* cmake: enhance support of cmake config file syntax
Enhance the cmakedefine support by accepting 2 or 3 tokens
in the conf line as mesondefine supports strictly 2 tokens
* fixup! cmake: enhance support of cmake config file syntax
* fixup! fixup! cmake: enhance support of cmake config file syntax
5 years ago
Jens Carl
2008cb2109
Fix typo in help of option '--wipe' [skip ci]
5 years ago
Jesse Natalie
f655518545
Log when ignoring LLVM because dynamic was requested
...
Without this, there's tons of log output about finding LLVM, followed by "couldn't find LLVM."
5 years ago
Jesse Natalie
700cca809b
Fixes meson bug to allow arm64 build
5 years ago
Daniel Mensinger
1257002d12
ci: Fix passing env vars
5 years ago
Jens Carl
9c7ed96067
Fix typos
5 years ago
Xavier Claessens
1ba62c484d
Fix requireed meson version for override_dependency()
5 years ago
Nirbheek Chauhan
a7d08b9b9c
docs: Update Using-with-Visual Studio
...
Very out of date instructions. We install `meson.exe` now and you
don't need to have `py` in PATH or use `/path/to/meson.py`.
5 years ago
Nirbheek Chauhan
04ed3810ed
mcompile: Use the current dir if unspecified
...
With this running `meson compile` inside the builddir actually works,
and you don't have to do `meson compile -C .`
Clearly this was the intent since the option already has `default='.'`
5 years ago
Daniel Mensinger
0d27be0ba5
travis: Fix Travis OSX build
5 years ago
Vedran Miletić
e034ebd153
docs: Mention library command as well [skip ci]
5 years ago
Daniel Mensinger
a111748767
ci: Travis: Use the new mesonbuild/eoan image
5 years ago
Daniel Mensinger
d290301b4d
boost: Fix library version ( fixes #6899 )
5 years ago
Daniel Mensinger
c7326aa098
ci: Added cuda image (Arch Linux based)
5 years ago
Daniel Mensinger
7896d945ff
ci: Fix env_vars.sh path in the opensuse image
5 years ago
Jussi Pakkanen
d20529784e
Rename test dir names with dircondenser.py.
5 years ago
Michael Hirsch, Ph.D
5b4ebb5641
quality / test: Fortran type hinting
...
enhance fortran args tests
5 years ago
Cerbero
df5113252b
qt dependency: Pick debug libraries based on b_vscrt
...
`b_vscrt` has existed forever, and is the canonical source for
which CRT to link to, and hence whether to use the debug libraries
or not.
5 years ago
Peter Harris
0e50974f80
backend/vs: Fix link of wmain / wWinMain based apps
...
Executables may have an entry point of wmain or wWinMain. These
executables link successfully with ninja. Rather than add more flags to
executable() in meson.build, remove the EntryPointSymbol override. This
makes the vs backend behave more like the ninja backend.
Fixes #6698
5 years ago
Andrei Alexeyev
96ed64caa1
Make cc.has_function work on GCC/Clang __builtins
5 years ago
Daniel Mensinger
1a741e0439
ci: Use self hosted CI data
5 years ago
Daniel Mensinger
217c92b48a
ci: Add debug logs to for the setup process
5 years ago
Jussi Pakkanen
69a03fa94b
Merge pull request #6843 from mensinda/ciJSONSCHEMA
...
CI: Maintain docker images with GitHub Actions
5 years ago
Gerion Entrup
2cefe8fd41
docs: add LLVM tool section to dependencies [skip ci]
5 years ago
Andrei Alexeyev
2cfbb36a84
mparser: fix precedence of arithmetic operators
...
The arithmetic operators are now split into two groups:
* The add/sub group: +, -
* The mul/div group: *, /, %
All operators within the same group are left-associative and have equal
precedence. The mul/div group has a higher precedence than the add/sub
group, as one would expect.
Previously every operator had a different precedence and was
right-associative, which resulted in surprising behavior.
This is a potentially breaking change for projects that relied on the
old incorrect behavior.
Fixes #6870
5 years ago
Peter Harris
d84daf3e95
backend/vs: Fix debug information and runtime checks
...
Both DebugInformationFormat and BasicRuntimeChecks need to be in clconf
(not type_config) for Visual Studio to recognize them.
Fixes #6699
5 years ago
Hemmo Nieminen
30ba9cca72
mtest: Improve test output formatting.
...
Remove some weirdness from test output such as extra commas, missing
spaces and way too precise time durations. Also improve the overall
alignment of the output.
5 years ago
Daniel Mensinger
c17ed429be
ci: Retry if dub fetch failed
5 years ago