Niklas Claesson
63ada0ce26
Update according to input
7 years ago
Dylan Baker
d5003c2190
Consider compilers used in static_library parents
...
Currently meson only considers what compiler/linker were used by a
Target's immediate sources or objects, not the sources of libraries it's
linked with by the link_with and link_while keywords. This means that if
given 3 libraries: libA which is C++, libB which is C, and libC which is
also C, and libC links with libB which links with libA then linking libC
will be attempted with the C linker, and will fail.
This patch corrects that by adding the compilers used by sub libraries
to the collection of compilers considered by meson when picking a
linker.
This adds a new process_compilers_late method to the BuildTarget class,
which is evaluated after process_kwargs is called. This is needed
because some D options need to be evaluated after compilers are
selected, while for C-like languages we need to check the link* targets
for language requirements, and link* targets are passed by kwargs.
This implementation is recursive, since each Target adds it's parent's
dependencies.
7 years ago
Thibault Saunier
96e24a50f9
Add cs_args as known args for csharp
7 years ago
Florian Zwoch
7e1caaf1cd
ninja: Generator is more informative on what it is doing.
7 years ago
Dylan Baker
59a90309ab
Fix error message for find_program if program cannot be found
...
Currently this raises an exception because exename is undefined.
7 years ago
Niklas Claesson
07dde545d9
Add @PLAINNAME@ and @BASENAME@ to arguments argument for Generator
...
Fixes #1282
7 years ago
Nirbheek Chauhan
65dfa428d5
tests/common/144: Add a test for #1865
...
Ninja goes into an infinite loop when you build this.
7 years ago
Nirbheek Chauhan
6c38b1f281
docs: Document the new str.strip() feature
7 years ago
Nirbheek Chauhan
ef0501fc7d
tests: Only error for lines starting with tabs
...
Otherwise we can't even use tabs for testing.
7 years ago
Nirbheek Chauhan
20991c0669
dependencies: Add version detection to pcap
7 years ago
Nirbheek Chauhan
59473e9ed7
Add a new compiler method: get_return_value()
...
This method accepts a single function that takes no arguments and
returns a single value which can be a value that can be cast to
a 64-bit signed integer, or a string, and returns that value.
Mostly useful for running foolib_version() functions that return the
currently-available version of libraries.
7 years ago
Nirbheek Chauhan
140c463b01
Add detail to the command: kwarg of custom targets
7 years ago
Jussi Pakkanen
898b723ee5
Merge pull request #2331 from mesonbuild/winencode
...
Do not use universal newlines on old Python versions.
7 years ago
Ola x Nilsson
307b69b69a
Fix table in Compiler-properties
...
hotdoc requires a pipe character for the right edge
7 years ago
Jussi Pakkanen
1556b1bdb0
Merge pull request #2264 from jeandet/master
...
Some refactoring, introduction of listify function.
7 years ago
Alexis Jeandet
e553d0807b
Last round with listify function refactoring.
...
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
7 years ago
Alexis Jeandet
bf64cf569b
Gnome, pkgconfig, Qt4, Qt5 and windows modules slightly refactored.
...
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
7 years ago
Alexis Jeandet
55975f852e
Introduced extract_as_list.
...
Corrected code style and typo.
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
7 years ago
Alexis Jeandet
7549a39a17
Introduction of listify method. Test on build.py module to see benefits.
...
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
7 years ago
Jussi Pakkanen
9c834a4ecd
Merge pull request #2310 from hvenev/reconfigure-get_option
...
Fix get_option() for base options on reconfigure.
7 years ago
Guillaume Poirier-Morency
02ad00b982
ninja: Fix the dependency on the VAPI when 'vala_vapi' is used
7 years ago
Jussi Pakkanen
288ccb2c58
Run VS2010 tests in a German locale to catch codepage errors.
7 years ago
Jussi Pakkanen
df18c1ac98
Do not use universal newlines on old Python versions.
7 years ago
Jussi Pakkanen
076f3c53bd
Merge pull request #2263 from ximion/dlang
...
d: Add an easy way to use D-specific features
7 years ago
tense-du
0b0448f8f2
Fix getting meson page ( #2341 )
...
* Replaced obsolete tt tag
7 years ago
tense-du
bbda3c7adb
Replaced obsolete tt tag
7 years ago
Nirbheek Chauhan
7c2ae55fab
Revert "Revert "Merge pull request #1931 from centricular/use-patched-ninja""
...
This reverts commit 5eb64a6f3e
.
Let's try again, with a fixed Ninja by QuLogic.
7 years ago
Jussi Pakkanen
b9154dd07c
Added a page for reference tables.
7 years ago
Nirbheek Chauhan
5068f13a28
tests/common/159: Don't try to run 'echo'
...
It's not available on Windows. It was passing in the CI because bash
tools are available on AppVeyor by default.
7 years ago
Matthias Klumpp
c3c37fac38
docs: Document the D support
7 years ago
Matthias Klumpp
61db415d7f
d: Make feature names less verbose
7 years ago
Jan Tojnar
10cdb9ebc9
contributing.txt: Update link to FAQ ( #2330 )
7 years ago
Martin Blanchard
26e731c7ca
get-unquoted: Queue a release note entry mentioning the new method
7 years ago
Hristo Venev
56c566a38e
Fix get_option() for base options on reconfigure.
7 years ago
Martin Blanchard
777cd24063
get-unquoted: Mention get_unquoted() in reference manual
7 years ago
Martin Blanchard
105507a173
get-unquoted: Rework test case for msvc (make it more realistic)
7 years ago
Martin Blanchard
71deffab18
get-unquoted: Fix indentation and remove useless arithmetic
7 years ago
Martin Blanchard
6b517475f5
get-unquoted: Add test case for new get_unquoted() method
7 years ago
Martin Blanchard
fa1fee5686
get-unquoted: Implement a get_unquoted() method for ConfigurationData
7 years ago
Hristo Venev
f2fc32069b
Add test for get_option(b_xxx) on reconfigure.
7 years ago
tense-du
a59175d1f3
Fix videos page ( #2321 )
...
* Removed duplicate title in doc theme.
* Removed stray lower than tag.
* Replaced obsolete frameborder attribute.
7 years ago
Jussi Pakkanen
19e22ac88a
Merge pull request #2216 from ebassi/yelp-linguas
...
Support LINGUAS for gnome.yelp() languages
7 years ago
Jussi Pakkanen
6fd2fab02c
Merge pull request #2319 from georgmu/cmake2meson-improvements
...
cmake2meson improvements
7 years ago
Nirbheek Chauhan
f04d141088
logging: Print location of log file on error
...
Similar to configure
Closes https://github.com/mesonbuild/meson/issues/2316
7 years ago
Georg Müller
4cbca49976
cmake2meson: convert varexp to lowercase
...
since variable names in 'set' statements are converted to lowercase, the
variable itself should be converted to lower-case too when used.
7 years ago
Georg Müller
567b51ac71
cmake2meson: strip comments from statements
...
Without this change, the following correct cmake will cause an error:
statement(
arg1
# arg2
arg3
)
7 years ago
Georg Müller
c60c21a60d
cmake2meson: convert statements to lower case
...
cmake does not distinguish between upper and lower case, so convert it to
lower case for the later comparisons.
7 years ago
Jérôme Duval
c46c1e74ad
run_tests.py: Haiku has no nice().
7 years ago
Jérôme Duval
0b8db94065
Add is_haiku(), needed for run_tests.py.
7 years ago
Emmanuele Bassi
6f1d7e3d0a
Add deprecation warning for gnome.yelp() argument
...
The 'languages' argument is deprecated; the LINGUAS file supercedes it
as the canonical source of translations.
7 years ago