Jon Turney
8ebdbfb0f6
Use full_path() rather than adding current_build_dir() as rpath in test common/154
7 years ago
Jon Turney
8f859a5105
Make the name of the executable implib configurable
7 years ago
Jon Turney
3110c209f7
Consolidate windows tests which are divided between mingw and msvc
7 years ago
Jon Turney
3fa3922cea
Support implibs for executables on Windows
...
Add a boolean 'implib' kwarg to executable(). If true, it is permitted to
use the returned build target object in link_with:
On platforms where this makes sense (e.g. Windows), an implib is generated
for the executable and used when linking. Otherwise, it has no effect.
(Rather than checking if it is a StaticLibrary or SharedLibary, BuildTarget
subclasses gain the is_linkable_target method to test if they can appear in
link_with:)
Also install any executable implib in a similar way to a shared library
implib, i.e. placing the implib in the appropriate place
Add tests of:
- a shared_module containing a reference to a symbol which is known (at link
time) to be provided by the executable
- trying to link with non-implib executables (should fail)
- installing the implib
(This last one needs a little enhancement of the installed file checking as
this is the first install test we have which needs to work with either
MSVC-style or GCC-style implib filenames)
7 years ago
FredericHamel
6f4e5e96d8
Allow test to depend on executable target in cross build. ( #2007 )
...
* Add a crossbuild case in 'test case/common/1 trivial/meson.build'
* Add native flags for crossbuild tests.
7 years ago
Jussi Pakkanen
fc23d9d0f2
Turned SIMD into an unstable module.
7 years ago
Jussi Pakkanen
ce77fb89b9
Renamed test case number to avoid dupes.
7 years ago
Jussi Pakkanen
be92a6a3a6
Renamed test dir.
7 years ago
Jussi Pakkanen
f78cf53141
Created merge_from method for ConfigurationData.
7 years ago
Jussi Pakkanen
6119beed4d
Create a new configuration data object and return it as the result.
7 years ago
Jussi Pakkanen
fe86c9c399
Do not use AVX on OSX since we can't detect it reliably at runtime and some CI machines do not seem to have it.
7 years ago
Jussi Pakkanen
ef9e03b847
Hardcode processor features on OSX because it ships a broken __builtin_cpu_supports.
7 years ago
Jussi Pakkanen
f6f5644212
Fix MMX on 32 bit x86.
7 years ago
Jussi Pakkanen
2181d8f2ab
A few fixes for OSX and VS2010.
7 years ago
Jussi Pakkanen
181510bd6e
Fix checks on MinGW and VS2010.
7 years ago
Jussi Pakkanen
8396c4f3e6
Added VS support to simd detector.
7 years ago
Jussi Pakkanen
fefbb296f7
Fix building with Clang on Raspbian.
7 years ago
Jussi Pakkanen
16ec3f0e19
Fix a few OSX "features".
7 years ago
Jussi Pakkanen
d304aac504
Created simd module.
7 years ago
Jussi Pakkanen
57729e5a78
Added NEON support.
7 years ago
Jussi Pakkanen
dbe028cc17
Add AVX2.
7 years ago
Jussi Pakkanen
71ffbd5b73
Add AVX support.
7 years ago
Jussi Pakkanen
fc68e0c63a
Add SSE4.2 support.
7 years ago
Jussi Pakkanen
5d731b102b
Add SSE4.1 support.
7 years ago
Jussi Pakkanen
52a0d958f1
Added SSSE3 support of sorts.
7 years ago
Jussi Pakkanen
0062595e13
Added SSE3 support.
7 years ago
Jussi Pakkanen
953441badf
Added SSE2 support.
7 years ago
Jussi Pakkanen
9e5578ac47
Added SSE support.
7 years ago
Jussi Pakkanen
4a8ca14d44
Some more arches.
7 years ago
Jussi Pakkanen
326d8953b4
Add support for MMX checking.
7 years ago
Jussi Pakkanen
fd91749e5a
The beginning of a test that checks for various SIMD implementations.
7 years ago
Gabríel Arthúr Pétursson
fd653d070d
Make base options accessible via get_option()
7 years ago
Jussi Pakkanen
f5b95dfa06
Renamed test to remove duplicate test number.
8 years ago
Guillaume Poirier-Morency
1eec145586
vala: Add a shared module testcase using 'GLib.TypeModule'
8 years ago
Goncalo Carvalho
bcb2556c69
add project/global args and include_dirs (useful for module maps) to swift targets
8 years ago
Aaron Plattner
ba3871985a
add_{project,global}_link_arguments require a 'language' argument
...
Commit 325a231a
added stricter keyword argument checking, but didn't enable
keyword arguments for add_projects_link_arguments() and
add_global_link_arguments(). This makes them fail with this error:
Meson encountered an error in file meson.build, line 19, column 0:
Function does not take keyword arguments.
However, the language argument is required. Removing it produces this error
instead:
Meson encountered an error in file meson.build, line 19, column 0:
Missing language definition in add_project_link_arguments
Fix this by adding 'language' as a required keyword argument. Also add calls to
these in the "146 C and CPP link" test case.
8 years ago
Hemmo Nieminen
1d7c7a7ea6
Add a test case for a "library at project root" use case.
8 years ago
Jussi Pakkanen
7f482824bb
Add kwarg checker in module code.
8 years ago
Alistair Thomas
2980ccb05e
Add test for Genie with multiple and mixed sources
8 years ago
Alistair Thomas
41702ab398
Add test case for compiling a Genie file
8 years ago
Nirbheek Chauhan
03ba7cd843
Add a test for ignoring not-found vala deps
...
https://github.com/mesonbuild/meson/pull/1986
8 years ago
Jussi Pakkanen
506cc57cc8
Do not permit invalid and/or nodes to be declared. Closes #1886 .
8 years ago
Tim Hutt
8d8c920a51
Make the 'silent or' test case not fail when it should
...
Previously it would have failed in two different ways depending on whether the parser bug was fixed. Now it will only fail if the parser bug is fixed.
8 years ago
Tim Hutt
057f7e4aae
Add test case for or on a new line silently being ignored
...
Issue #1886
8 years ago
Nirbheek Chauhan
185808bf16
vala: Only add --use-header for unity builds
...
Closes https://github.com/mesonbuild/meson/issues/1969
8 years ago
Jussi Pakkanen
4b3eaf1b66
Tag functions in asm properly. Thanks to Matthias Klose for debugging the issue.
8 years ago
Jon Turney
56efd2211f
Consistently use windows.h, not Windows.h
...
This is significant when compiling using gcc on a case-sensitive filesystem.
8 years ago
Elliott Sales de Andrade
12c997b804
Add example of generated header in docs.
8 years ago
Jussi Pakkanen
85a263a670
Failing test for -D dedupping.
8 years ago
Nirbheek Chauhan
73c06780f9
Make external library no-op when used with incompatible target ( #1941 )
...
* tests: Add a test for C library in Vala target
https://github.com/mesonbuild/meson/issues/1939
* Make external library no-op when used with incompatible target
This is how it used to behave earlier, but we accidentally regressed
Closes https://github.com/mesonbuild/meson/issues/1939
8 years ago