Xavier Claessens
68eedc8b71
pkgconfig: Rename DepsHolder to DependenciesHelper
7 years ago
Jussi Pakkanen
27d4a611a5
Fix Windows.
7 years ago
Jon Turney
861cbc2e73
Update prefix-dependent defaults when project(default_options:) changes prefix
...
Fixes #2811
7 years ago
Jon Turney
198251395a
Add a test of prefix-dependent defaults for project(default_options:)
...
See #2811
7 years ago
Jussi Pakkanen
ff98407ade
Dead code removal.
7 years ago
Xavier Claessens
2881db7379
pkgconfig: Move pc file checks to run_unittests.py
7 years ago
Xavier Claessens
f9c9e80d4a
pkgconfig: Update documentation
7 years ago
Xavier Claessens
49977686b5
pkgconfig: Use the pc file we generated for libraries
7 years ago
Xavier Claessens
9e541a0fff
pkgconfig: Avoid duplicated -L flags
7 years ago
Xavier Claessens
1c0570906c
pkgconfig: Allow passing Dependency objects to library(_private)
...
Special case ThreadDependency by taking compiler's flags and
PkgConfigDependency by adding them in requires(.private) instead. For
other Dependency objects just take their link_args and compile_args.
Closes #2725
7 years ago
Xavier Claessens
2ff37ae41a
pkgconfig: Early abort tests if pkg-config is not present
7 years ago
Jussi Pakkanen
b437977a60
Created documentation page for code contributions.
7 years ago
Jussi Pakkanen
b6dd50db31
Merge pull request #2791 from behlec/compiler-version
...
Add more version information to compiler
7 years ago
Alexis Jeandet
0560478f75
[Dependencies] Add --ldflags to cups-config invocation
...
--libs only gives libs to link with, not flags and eventually lib path
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
7 years ago
Jussi Pakkanen
dc39c46841
Merge pull request #2799 from inigomartinez/remove-duplicates
...
Remove duplicated values in array options
7 years ago
Dylan Baker
d4673301b8
tests: skip libwmf test if libwmf-config not installed
7 years ago
Iñigo Martínez
1eab075c8e
Deprecate duplicated values in array options
...
Duplicated options in array types have been removed by a previous
commit but someone could be using it.
The previous behaviour has been restored but the existence of
duplicates is now tested, and in that case a `DEPRECATION` message
is shown.
7 years ago
Christoph Behle
c772841af7
Fix: More information for C compilers.
...
Add full version to gnu and icc C compiler.
7 years ago
Dylan Baker
e245e57865
Warn on unknown command line arguments
...
I have a tendency to typo things. Humans in general are bad at spotting
spelling mistakes, computers are not. This patches prints the bad
options and provides the generic meson "This will be a hard error
someday" message.
7 years ago
Dylan Baker
e1c9d2f53a
mesonmain: Remove useless ternary
...
This ternary checks the value of a bool, and returns the same value.
7 years ago
Iñigo Martínez
f92d117bec
gnome.gtkdoc: Add support for non string based content files
...
gnome's gtkdoc function does not support content files which are
not strings. However, there are situations where files generated
by other targets might be needed.
7 years ago
Jussi Pakkanen
8eaa0a2732
Use -MD instead of -MMD for reliability.
7 years ago
Jussi Pakkanen
34c03719a3
Added documentation.
7 years ago
Jussi Pakkanen
658442bef4
Can declare file generation in one dir and use the output in another.
7 years ago
Jussi Pakkanen
b1c25ccde0
Use deterministic builddir so CCache works across invocations.
7 years ago
Iñigo Martínez
3a1f4ab34c
Remove duplicated values in array options
...
Array options can receive duplicated values, which can produce
errors if case those duplicated values make processing some
elements twice when they are expected to be processed only once.
7 years ago
Jussi Pakkanen
b949c4792d
Preserve_path_from should be a kwarg of process(), not generator().
7 years ago
Jussi Pakkanen
164fb9a150
Also promote wrap files.
7 years ago
Jussi Pakkanen
5b9d79b902
Print instructions on how to promote subsubprojects.
7 years ago
Jussi Pakkanen
46c071ea5c
Add functionality to promote nested dependencies to top level.
7 years ago
Hemmo Nieminen
d232a80e90
Allow value 'if-release' for b_ndebug project option. ( #1896 )
...
When set, NDEBUG will be automatically defined for for release builds but
not for other build types.
7 years ago
Shawn Landden
202b2fedf3
make clickable
7 years ago
snsmac
2b12d3b20f
Exclude llvm/clang lib headers from test coverage
...
Excludes the /usr/lib/llvm-*/include/ directory from coverage.
This directory is used on Ubuntu for the libclang-dev packages
7 years ago
Christoph Behle
7bd30c522b
Fix flake8 issues.
7 years ago
Christoph Behle
1f3b41021d
More version information for Fortran.
7 years ago
Christoph Behle
5b83894b77
More version information for D
7 years ago
Christoph Behle
783263b9f4
More version information for C#
7 years ago
Christoph Behle
c6acf75617
More version information for compilers.
...
See issue #2762
Adds full_version to class Compiler. If set full_version will be printed
additionally.
Added support for CCompiler and CPPCompiler
Added support for gcc/g++, clang/clang++, icc.
7 years ago
Dylan Baker
0bbc9df74a
dependencies: Also strip git version from llvm version
...
If LLVM is built from a git mirror instead of from SVN it will have
"git-<very short sha>" at the end of the version. We need to remove that
so that version comparison will work correctly.
Fixes : #2786
7 years ago
Jussi Pakkanen
ee9832cdb1
Added standalone test case for subdir preservation.
7 years ago
Jussi Pakkanen
83fb76c9ae
Merge pull request #2781 from dcbaker/submit/config-tool-correct-name
...
Small cosmetic cleanups for ConfigTool dependencies and LLVM
7 years ago
Shawn Landden
44415ab61e
Update Users.md
...
now only build system of systemd
7 years ago
Xavier Claessens
63d2f0bf07
Do not extract object for header sources
...
Closes #2716
7 years ago
Dylan Baker
11b62c3c51
dependencies: use mlog.bold with llvm module/component names.
7 years ago
Dylan Baker
7cd41ee8fb
Use consistent mlog formatting with the ConfigTool dependency helpers
...
This just adds more consistent use of mlog.bold and mlog.red/green for
ConfigTool based dependencies.
7 years ago
Dylan Baker
2b2ee68f90
dependencies: Print LLVM for LLVM dependency
...
Instead of config-tool
7 years ago
Dylan Baker
54d0faa3dd
vim: Add warning function to list of builtins
7 years ago
Jussi Pakkanen
88756bfe95
Print UTF-8 warning only when actually encountering non-ascii filenames.
7 years ago
Michael James Gratton
93c988b453
Enable re-compilation of GNOME gschema files if they have changed.
...
* mesonbuild/modules/gnome.py (GnomeModule.compile_schemas): Allow the
depend_files kwarg.
* docs/markdown/Gnome-module.md: Add docs for new kwarg (and the only
other one that is permitted).
7 years ago
Ismael González
d946b03496
Use LC_ALL=C in CCompiler.get_library_dirs
...
Use LC_ALL=C in CCompiler.get_library_dirs to fix wrong results with non
English locales.
7 years ago