Alistair Thomas
3b9f4098ef
docs: In executable() remove statement that all other files are ignored [skip ci]
...
Currently Meson returns an error that no compiler can be found
for an unknown file extension
7 years ago
Alistair Thomas
47f71d1a41
docs: Update test() to include that a program found with find_program() can be used [skip ci]
7 years ago
Alexis Jeandet
e89008b657
Added get_asneeded_args method to Intel compiler.
...
Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>
7 years ago
John Ericson
1a8bc77f53
docs: fix one 'target' that should be 'host' [skip ci]
...
The target platform of cross compiler is the host platform of the project being built.
7 years ago
Eric Engestrom
13fa1fb74f
docs/FAQ: fix typo [skip ci]
7 years ago
Aleksey Filippov
513051efcf
Rename '183 as-needed' common test into '184 as-needed'
...
Also use !bool instead of bool == false.
7 years ago
Jussi Pakkanen
150351cfdd
Document the new and improved review guidelines. [skip ci]
7 years ago
Aleksey Filippov
909c93eee5
Enable CI builds for release branches
7 years ago
Jussi Pakkanen
12bac512f6
Fix b_ndebug=if-release silently not working
7 years ago
Jussi Pakkanen
30827b5644
Do not install configure_file output if install_dir is empty. Closes #3270 .
7 years ago
Aleksey Filippov
6910f604ed
Disable b_ndebug tests on MSVC
7 years ago
Aleksey Filippov
2febb99eee
Fix b_ndebug=if-release option
...
Provide get_{type}_options_for_target() methods that unite {type} and builtin options.
7 years ago
Aleksey Filippov
af0b569ced
Add unittests for b_ndebug=if-release and buildtype interactions
7 years ago
Aleksey Filippov
39a3bdb43f
Add tests for b_ndebug=if-release and buildtype default options
...
Co-authored-by: David Seifert <soap@gentoo.org>
7 years ago
makise-homura
e8dff792d6
Removed some confusing chars from 'spaces and fun'
...
For example, lcc does not understand !, ^, *, and <.
7 years ago
makise-homura
86fa9b133d
test_reconfigure switched to b_coverage from b_lto
...
This is due to some compilers (e.g. lcc) don't support LTO,
and therefore no b_lto meson option is available.
7 years ago
makise-homura
43be74cf81
Skipping PCH unit test for lcc compiler
7 years ago
makise-homura
546f81e0f9
Fixed lchmod detection for lcc C/C++ compilers
7 years ago
nyorain
dd614015e0
Open mesontest logfiles in utf-8 mode
...
Otherwise unit tests fail on windows when they output some
non-utf8 data.
7 years ago
Jussi Pakkanen
58156ef7cf
Grab a file lock on the build dir during modifications.
7 years ago
Marvin Scholz
1c8d4bf05b
Docs: Correct env variable SCAN_BUILD to SCANBUILD
7 years ago
makise-homura
942e34241f
Fixed compatibility issue regarding Python 3.5
...
In Python 3.5 os.path.join accepts str or bytes, not path-like
objects as in Python 3.6.
7 years ago
makise-homura
3b254c6e49
Fixed failure if compiler messages is not in UTF-8
...
For example, Elbrus lcc does output in KOI8-R, if LC_ALL=C, and
there is no English counterpart for original Russian message.
7 years ago
makise-homura
08bd07f860
Added specific get_library_dirs function for lcc
7 years ago
Thibault Saunier
62165aef43
options: s/yiel/yield/ typo
...
Making the option unusable with Invalid kwargs for option use_orc: "yield"
7 years ago
Jussi Pakkanen
657836b555
Merge pull request #3223 from sarum9in/rename
...
Add install_data() rename parameter
7 years ago
Aleksey Filippov
5f81d36207
Add install_data() rename snippet
7 years ago
Aleksey Filippov
d63fff06d9
Add install_data() rename documentation
7 years ago
Nirbheek Chauhan
d012b5b997
Create a helper for checking if a string has a path component
...
This is used in a number of places, and in some places it is incomplete.
Use a helper to ensure it's used properly.
7 years ago
Jussi Pakkanen
e984e1072b
Merge pull request #3251 from mesonbuild/fixpkgconfigdeps
...
Fix pkg-config dependencies leaking out (debbug 892956)
7 years ago
David Seifert
7eb187c5f2
Add -Wl,-dead_strip_dylibs support
...
* `-Wl,-dead_strip_dylibs` is the analogue
of `-Wl,--as-needed` on macOS.
7 years ago
Jussi Pakkanen
cf5f1a83d5
Fix existing tests.
7 years ago
Joel Klinghed
b2ffb6b565
Generate coveragereport directory for gcovr html target
7 years ago
Joel Klinghed
8bad2d9827
Exclude subprojects when doing coverage
...
Restore subproject exclusion for the html coverage report that existed
in the ninja backend legacy target.
Also exclude subprojects for the gcovr generated reports.
7 years ago
Joel Klinghed
79bb1df04f
Use standalone coverage script for legacy targets
...
ninja coverage -> generate all possible reports (text, xml, html)
depending on gcovr and/or lcov/genhtml availability.
ninja coverage-html -> generate only html report
ninja coverage-xml -> generate only xml report
ninja coverage-text -> generate only text report
Make all targets phony, the old legacy rules where just annoying as
you would have to remove the old report before being able to generate
a new one.
ninja coverage succeeds if it can generate at least one report.
ninja coverage-* only succeeds if it can generate the requested report
7 years ago
makise-homura
6230c2a2f6
Fixed indentation and space issues found by SideCI
7 years ago
makise-homura
7cc41baa98
Added Elbrus lcc compilers support as inheritance from gcc ones
7 years ago
Felipe Corrêa da Silva Sanches
50c66f1f5c
fixing some typos on the icestorm page
7 years ago
Thibault Saunier
f48da481ab
introspect: tests: Inform about tests run parallelization
7 years ago
Martin Hostettler
b89309df64
Project-templates.md: Fix help command name [skip ci]
7 years ago
Aleksey Filippov
158dc249ca
Replaced appveyor account by mesonbuild
7 years ago
Aleksey Filippov
6994ec56e6
Add install_data() failing rename test
7 years ago
Aleksey Filippov
143dc3ca44
Add install_data() succeeding rename tests
7 years ago
Aleksey Filippov
f720efa2f4
Add rename parameter to install_data()
7 years ago
Aleksey Filippov
22b19995b1
Fix appveyor failures: do not use PowerShell since it triggers NativeCommandError if pacman prints to stderr
...
Split command to avoid "The input line is too long." error.
Also use --needed for pacman to not reinstall already installed packages.
7 years ago
Jussi Pakkanen
c385f79737
Do not leak out private dependencies for shared libraries.
7 years ago
Jussi Pakkanen
d532650b0d
Add test for pkgconfig generation and usage.
...
This builds a project with pkg-config file, installs it and then
builds a second project that uses that dependency and runs the result.
7 years ago
Aleksey Filippov
7f042b5fe2
Use target.get_id() instead of basename and type_suffix concatenation at call site
...
Fixes the bug with flat layout and identical target names in subprojects.
Without this change directories are not created with subproject prefix
and they can collide.
Remove dead makedirs code in Backend.__init__(), during initialization
of backend build.targets is empty. Create output directories in
Vs2010Backend.generate_projects() instead.
Also use double blank line in run_unittests.py according to
https://www.python.org/dev/peps/pep-0008/#blank-lines .
7 years ago
Fabrice Fontaine
2e128f71bb
Fix FileNotFoundError when restorecon unavailable
...
Fixes:
- http://autobuild.buildroot.net/results/d5dcdfdfab3503fdc387f99e68267972a38c417d
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
7 years ago
Bedarkar, Malhar
831d1e4c2e
- Updating cpp_std options similar to other compiler classes
...
- Updating environment.py for selecting '--vsn' option for armcc only.
- Updating build type arguments from GitHub pull request - 3157
Change-Id: Id3151e7715ec1016afdbd65391bb0d414ec7de13
7 years ago