Adam C. Foltzer
4eda3ca0fc
add `crate-name` to Rust target args
...
This is required for downstream Rust dependencies to properly import
libraries using `extern crate`.
7 years ago
Jussi Pakkanen
bff37a90fc
Merged buildrpath branch.
7 years ago
Alessandro Decina
328a1f30fd
Add /System/Library/Frameworks to the OSX framework search path
7 years ago
Alessandro Decina
a9559e0d77
Fix linking Objective-C shared libs on OSX.
...
This commit amends 04a2e6de
making
linker.get_std_shared_lib_link_args() always return -shared for
SharedLibrary(es) instead of -bundle. SharedModule(s) get linked with
linker.get_std_shared_module_link_args() which already correctly returns
-bundle.
Before this change -bundle and -install_name ended up being emitted
for Objective-C shared libraries, which caused a linking error.
7 years ago
Karl-Philipp Richter
b32af18e75
added *.pyc to .gitignore
7 years ago
Nicolas Dufresne
12be4b6644
gnome: Fix wrong include path
...
When dealing with the SharedLibrary or StaticLibrary include
directories, we where not taking into acount that path are relative to
the source tree. With proper helper, this works now. This fixues issue
where the gir may be generated bug from headers found in the prefix.
7 years ago
Patrick Griffis
67f0a1a44d
Fix run_target() accepting ConfigureFile for command
7 years ago
Hagai
035b2525ac
build.py: fixed a small issue where hasattr was passed only a name argument.
7 years ago
Jussi Pakkanen
8c39007e41
Renamed test dirs to remove duplicated numbers.
7 years ago
Christoph Reiter
ceea746222
configure_file: warn in case a variable to subsitute is not present in the passed configuration. Fixes #2090
7 years ago
Jussi Pakkanen
979efce04a
Merge pull request #1955 from jon-turney/exe-implib
...
Support implibs for executables on Windows
7 years ago
Jussi Pakkanen
e82edc179f
Check for manual attempts to set rpath and update docs.
7 years ago
Jussi Pakkanen
2269b7f60b
Add build_rpath as new property allowing people to specify rpath entries that are used in the build tree but will be removed on install.
7 years ago
Emmanuele Bassi
381e8313ed
Make error message more informative
...
It's easier to identify a malformed variable assignment if we print it
out.
7 years ago
Nirbheek Chauhan
26834a6198
Link to compiler properties for compiler ids list
...
[skip ci]
7 years ago
Nirbheek Chauhan
675a755e5c
Update compiler ids in Compiler-properties.md
7 years ago
Jussi Pakkanen
1764822ae4
Merge pull request #2046 from martin-ejdestig/mintro_deps_name_key
...
Modify mesonintrospect --dependencies so 1 element in list is 1 depen…
7 years ago
Nirbheek Chauhan
93d1b2989e
Updates to the reference manual
...
Typos, add details about how subprojects work, document compiler ids.
7 years ago
Jon Turney
887e4d1318
Add to release note
7 years ago
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
Martin Ejdestig
4c8c83c967
Add a mesonintrospect --dependencies test
7 years ago
Martin Ejdestig
76c1faf8bf
Modify mesonintrospect --dependencies so 1 element in list is 1 dependency
...
Makes it less awkward for tools to parse the data.
Was modified to return a list, with two elements for each dependency,
instead of a dictionary in ac1c929f66
.
Closes #2018 .
7 years ago
Iñigo Martínez
b43f4841ba
i18n: Fixed gettext permitted Kwargs list
7 years ago
Patrick Griffis
9683082c4c
gnome.genmarshal(): Include generated header in generated source
...
This silences any strict-prototype warnings if enabled.
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
e89b6cdd10
Merge pull request #1374 from mesonbuild/simd
...
Add support for SIMD detection
7 years ago
Jussi Pakkanen
c8981ff111
Added documentation for SIMD module.
7 years ago
TingPing
acb7e3aaa0
docs: Add HexChat to users... again
7 years ago
Tim-Philipp Müller
e1000f1454
Update Users.md: point to upstream GLib repo
...
And link to Gtk+ master branch instead of wip/meson.
7 years ago
TingPing
4d898e494e
docs: Add HexChat to list of users
7 years ago
Nirbheek Chauhan
c9059c7e70
Add more projects to Users.md
7 years ago
Jussi Pakkanen
fc23d9d0f2
Turned SIMD into an unstable module.
7 years ago
Jussi Pakkanen
db34a3a701
Close files reliably.
7 years ago
Jussi Pakkanen
5eb64a6f3e
Revert "Merge pull request #1931 from centricular/use-patched-ninja"
...
This reverts commit aab7ada356
, reversing
changes made to e1b24765af
.
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
Nirbheek Chauhan
a27b4c4640
unittests: Don't pass /nologo to `cl` during detection
...
This causes it to not output the version information to stderr, which
we need to extract the version and the architecture.
Found by Jussi.
7 years ago
Nirbheek Chauhan
afdaedea01
msvc: Split stderr by line and raise exception if empty
...
std.split() splits on whitespace, but we want the first line.
7 years ago
Nirbheek Chauhan
37057abfef
unittests: Check value of cc.is_64 with MSVC
7 years ago
Nirbheek Chauhan
5660c766ab
unittests: Ensure that the compiler version is not blank
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