Jussi Pakkanen
46788d1b5b
Created the filesystem module.
5 years ago
Vedran Miletić
48a719033e
docs: Mention error LNK1181, linking for MSVC [skip ci]
...
Make FAQ entry about linking failing on Windows with MSVC more easily discoverable by including keywords LNK1181 and linking.
5 years ago
Camilo Celis Guzman
7a76fecdf7
mesonbuild/mtest: plumb and report a test's start time
5 years ago
Ryan Lucia
8987a39675
pkgconfig: only check import_filename for shared libraries
5 years ago
Michael Hirsch, Ph.D
6e708208dd
CI: add initial type annotation checking
5 years ago
Michael Hirsch, Ph.D
d080917561
wrap.py: catch connection error with WrapException
...
fixes #6130
wrap: more error verbosity
5 years ago
Michael Hirsch, Ph.D
a47c1374b9
wrap.py: apply type annotation, modernize syntax
...
correct syntax issues, missing imports revealed by type annotation checking
5 years ago
Liam Beguin
30acd94e68
syntax-highlighting: vim: fix setting cpo [skip ci]
...
since 'cpo' is global, use `set` instead of `setlocal`.
Reported-By: Bram Moolenaar <Bram@vim.org>
Signed-off-by: Liam Beguin <liambeguin@gmail.com>
5 years ago
Marvin Scholz
2fe75ab31d
dependencies/pkgconfig: Log pkg-config exceptions
...
This means that when either cflags or libs lookup fails, this will be
logged always in the log, leading to much easier to debug messages
like:
Called `/usr/local/bin/pkg-config --cflags gnutls` -> 1
pkg-config error with 'gnutls': Could not generate cargs for gnutls:
Package nettle was not found in the pkg-config search path.
Perhaps you should add the directory containing `nettle.pc'
to the PKG_CONFIG_PATH environment variable
Package 'nettle', required by 'gnutls', not found
Run-time dependency gnutls found: NO (tried pkgconfig)
5 years ago
Marvin Scholz
273d6e75ea
dependencies/pkgconfig: Fix error reporting
...
The stderr of pkg-config was never used, leading to no details about
failures at all in exception messages.
5 years ago
Marvin Scholz
fc86339b39
dependencies/pkgconfig: Fix found state ignoring errors
...
Previously even when meson failed to obtain cflags or libs for a
dependency it would lead to the dependency being found, causing very
confusing errors at build time.
5 years ago
Jussi Pakkanen
4c96aa34cb
Add -L= to soname linker argument, too.
5 years ago
Wolfgang Stöggl
32f64aa2cb
docs: Add backend vs2019 to table in Builtin-options.md [skip ci]
5 years ago
Wolfgang Stöggl
f037e7ef45
Fix typos found by codespell
...
- Typos were found by codespell v1.16.0
5 years ago
Aleksey Gurtovoy
f56ef583d3
dependency('cuda')
5 years ago
Dylan Baker
11f1adb7dd
docs: Document that meson 0.52.0 allows layering cross files [skip ci]
5 years ago
sghctoma
aba8792b66
Change default pkgconfig directory on FreeBSD
...
FreeBSD uses ${PREFIX}/libdata/pkgconfig as default pkgconf search path
for non-base libraries. This commit makes that directory the default
install_dir in the pkgconfig module on FreeBSD.
5 years ago
Wolfgang Stöggl
bd27769030
Fix split of CMAKE_PREFIX_PATH under Windows
...
Under Windows, the colon ':' is used after the drive letter.
So, the colon should not be used as a list separator or for splitting,
otherwise it could lead to paths in CMAKE_PREFIX_PATH with a
semicolon ';' between the drive letter and the rest of the path, e.g:
-DCMAKE_PREFIX_PATH=C;/foo/bar
instead of
-DCMAKE_PREFIX_PATH=C:/foo/bar
Use os.pathsep instead of ':' to split the environmental variable
CMAKE_PREFIX_PATH
5 years ago
Jussi Pakkanen
f5c8893281
Merge pull request #6123 from scivision/bugfix-fortran
...
bugfix: fortran compiler assertionerror from 0c22798
5 years ago
Michael Hirsch, Ph.D
bbe6db08e3
Minit templates modularization
5 years ago
Jussi Pakkanen
b3fe4a0a18
Add option for controlling RTTI.
5 years ago
Jussi Pakkanen
760b8633bc
Pass explicit command line argument to disable exceptions with MSVC.
5 years ago
Michael Hirsch, Ph.D
d218d52367
Ensure setuptools via PEP508/518 pyproject.toml
5 years ago
Aleksey Gurtovoy
48e6db89ab
Ask Ninja to expand rsp files in compile_commands.json
5 years ago
Michael Hirsch, Ph.D
50225c14e2
fix PGI Windows 'ar' linker
5 years ago
Michael Hirsch, Ph.D
9c1bab67af
bugfix: fortran compiler assertionerror from 0c22798
5 years ago
Jussi Pakkanen
025e11c9a7
Fix looking up Visual Studio MSMs. Again. [skip ci]
5 years ago
Aleksey Gurtovoy
6eee9e48bb
MSVC: support -LIBPATH
...
Fixes #6101 (with a test), following up #5881
5 years ago
rc-matthew-l-weber
6e18e5b0b3
docs: clarify --default-library is for internal libraries [skip ci]
...
Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
5 years ago
James Hilliard
2b6c997e33
Return a disabler when an unknown method is called on a disabler object
5 years ago
Orlando Wingbrant
9ee9a1e1b2
Fix for issue #4499 , multiple entries per file in install-log.txt
5 years ago
Jussi Pakkanen
ae9723a5c1
Merge pull request #5942 from scivision/duck
...
interpreter: raise Meson exception when non-found module is used anyway
5 years ago
Michael Hirsch, Ph.D
248a75ff48
tests: add fortran-specific compiler checks
5 years ago
Michael Hirsch, Ph.D
4857940e89
raise exception when a non-required module not found and subsequently used
5 years ago
Michael Hirsch, Ph.D
765a5e9835
ducking 'None' for missing module
...
This handles the Windows-specific case, the next commit handles the general issue
5 years ago
Jussi Pakkanen
f96a8cbdf5
Test that running configure on a build dir works.
5 years ago
Xavier Claessens
c6b512e64d
mconf: Fix printing options when there is no compiler/project options
...
Closes : #6087
5 years ago
Jussi Pakkanen
dea2c093d4
Merge pull request #6090 from GoaLitiuM/master
...
d: Fix various linking issues
5 years ago
Marc-André Lureau
1ed70e22b9
Add source tags targets
5 years ago
Jussi Pakkanen
cce172432b
Use run-clang-tidy when available.
5 years ago
GoaLitiuM
31d397187d
d: Fix various linking issues on Windows
5 years ago
GoaLitiuM
4f83c47880
d: Prefer MSVC and LLVM linker over optlink when available
...
The optlink linker is slowly getting phased out now since DMD ships with the LLVM linker, so it can be used when Visual Studio is not installed.
5 years ago
Xavier Claessens
212a05b87e
Remove duplicated object files in static libraries
...
When a static library link_whole to a bunch of other static libraries,
we have to extract all their objects recursively. But that could
introduce duplicated objects. ar is dumb enough to allow this without
error, but once the resulting static library is linked into an
executable or shared library, the linker will complain about duplicated
symbols.
5 years ago
Jussi Pakkanen
aece7ecded
Merge pull request #6074 from mensinda/cmFileAPI
...
cmake: Add CMake file API support
5 years ago
Daniel Mensinger
80ec5e9d28
Fix all flake8 warnings
5 years ago
Daniel Mensinger
30a668d0bb
cmake: Blacklist more compiler warning flags
5 years ago
Jussi Pakkanen
7bc7ff1433
Do not try to run dist test with VS backend.
5 years ago
Jussi Pakkanen
ad1cfbe7ec
Disable extension module tests with Python 3.8 and VS2015.
5 years ago
Daniel Mensinger
892c8ebe65
run_project_tests: Added print_tool_versions()
5 years ago
Daniel Mensinger
66e1e1747e
cmake: Do not add imported targets
5 years ago