Nirbheek Chauhan
03cc991f4f
configure_file: Use utf-8 to write configured file
...
Closes #1085
8 years ago
Jussi Pakkanen
a01919976e
Always specify installed data with a File object. Closes #858 .
8 years ago
Scott D Phillips
ba578db031
mesonlib: close file before (re)moving
...
On windows, attempting to unlink an open file results in a
PermissionError, so close the file and then remove it.
8 years ago
Jussi Pakkanen
5f20b38d44
Force configure input files to be utf-8. Closes #927 .
8 years ago
Patrick Griffis
8b27a48d56
Don't default to lib64 if symlink
...
Some distros, such as Arch, symlink lib64 to lib for compat reasons
and programs shouldn't actually install there.
8 years ago
Jouni Kosonen
1ed3317a8b
Only default to dpkg-architecture output in Debian derivatives
8 years ago
Nirbheek Chauhan
57ce7d4618
Add support for extracting objects in unity builds
...
Not only does extract_all_objects() now work properly again,
extract_objects() also works if you specify a subset of sources all of
which have been compiled into a single unified object.
So, for instance, this allows you to extract all the objects
corresponding to the C sources compiled into a target consisting of
C and C++ sources.
8 years ago
Nirbheek Chauhan
a0551d7d6e
dependencies/boost: Fix 32-bit vs 64-bit on Windows
...
Fixes https://github.com/mesonbuild/meson/issues/526
Also removes useless and incorrect mesonlib.is_32bit() function. We
cannot trust that the architecture that Python is built for is the same
as the one we're targetting.
8 years ago
Tim-Philipp Müller
3aebdb717a
configuration_data: can pass descriptions to setters ( #783 )
...
Add support for passing a description to configuration data
setter methods via a 'description' kwarg. The description
string will be used when meson generates the entire configure
file without a template, autoconf-style.
8 years ago
Jussi Pakkanen
c8213aaf1e
Better file existance checks.
8 years ago
Elliott Sales de Andrade
4c71695e41
Use context manager for file I/O.
...
There are a few cases where a context manager cannot be used, such as
the logger.
8 years ago
Elliott Sales de Andrade
ae12656555
Use global id instead of local for hg tag. ( #710 )
8 years ago
Jussi Pakkanen
e3783f0f59
Check input file for existance. Closes #697 .
8 years ago
Nirbheek Chauhan
4516e8a49f
Add repr() implementations for build targets and File
...
This aids debugging
9 years ago
Jussi Pakkanen
177e286b3c
Can generate config headers without an input file. Closes #549 .
9 years ago
Nirbheek Chauhan
d3e1fe6e1a
mesonlib: Fix typo in version_compare error
9 years ago
Nirbheek Chauhan
8cd359acbb
Regex used for configuration data substitution was too broad ( #520 )
9 years ago
Hemmo Nieminen
af6f4c9b9c
coredata: Centralize builtin option descriptions and definitions.
9 years ago
Hemmo Nieminen
336904b553
Move MesonException from coredata to mesonlib.
9 years ago
Nirbheek Chauhan
11f63105d0
New builtin option: libexecdir for installation of helper executables
9 years ago
Tim-Philipp Müller
48a2b201ea
config file: write commented undef lines same as autoconf
...
For easier diffing to see if anything is missing when porting.
9 years ago
Jussi Pakkanen
f74d6201eb
Guard against ALL THE THINGS!
9 years ago
Jussi Pakkanen
9463c5965e
Swallow stderr of helper process invocation because nobody needs to see it and it causes problems in Debian testing framework.
9 years ago
Jussi Pakkanen
84456537da
Fix some issues that break pypi installs and bump version to upload new version.
9 years ago
Jussi Pakkanen
23b98cd6e6
Renamed meson package to mesonbuild so that we can have a script named meson in the same toplevel dir.
9 years ago
Jussi Pakkanen
8b1039fa30
Organise files into a module structure.
9 years ago
Yoav Alon
a4809cf632
Added support for extended command line to overcome OS command line length limitation
9 years ago
Jussi Pakkanen
8495075cee
Turned builtin options into proper objects.
9 years ago
Jussi Pakkanen
4286bdb86f
Trying to run nonexisting programs can return many different types of exception, so catch everything. Closes #299 .
9 years ago
Jussi Pakkanen
538073a9cf
Created a link test method.
9 years ago
Jussi Pakkanen
0d56955e9c
Created a stringarray option type and added Windows system libs option that uses it.
9 years ago
Jussi Pakkanen
b197d9e279
Can set compiler options with mesonconf.
9 years ago
Jussi Pakkanen
4dff3f9fb3
Refactored option classes to mesonlib.
9 years ago
Jussi Pakkanen
776f899e78
Made boost on windows kinda work.
9 years ago
Jussi Pakkanen
fd78c5a128
Drop non-numeric suffix in version numbers. Closes #258 .
9 years ago
Jussi Pakkanen
9d559b2b39
More robust windows detection and more logs.
9 years ago
Jussi Pakkanen
63572626c6
Copy permission bits from source files and fix a path issue.
9 years ago
Jussi Pakkanen
cd40187d4e
Handle files() in Vala arguments and set up deps correctly.
10 years ago
Jussi Pakkanen
28476aa719
Pass gracefully if dpkg-architecture is not installed.
10 years ago
Jussi Pakkanen
8cecf20404
Create file objects in gtest and gmock.
10 years ago
Jussi Pakkanen
6237695e96
Use File objects for all sources. Fix all basic tests.
10 years ago
Jussi Pakkanen
bf9b5d7b72
The first step in a major refactoring starts by adding a new layer of abstraction.
10 years ago
Jussi Pakkanen
88d88f43a7
Ignore dash portion of version string.
10 years ago
Jussi Pakkanen
3b49b7106b
Better libdir autodetection. Closes #92 .
10 years ago
Jussi Pakkanen
2e93295c2e
Generate configure files immediately when they are declared. Closes #88 .
10 years ago
Jussi Pakkanen
2bc1e26813
Made gtest and gmock work properly on 64 bit Fedora, which uses /usr/lib64. Fixes #40 .
10 years ago
Jussi Pakkanen
22c23ee1fb
Added Debian multilib support.
10 years ago
Axel Waggershauser
0a95e4b4a9
moved helper function detect_vcs into mesonlib.py
10 years ago
Jussi Pakkanen
cd757db899
Can specify version requirements to dependencies.
10 years ago
Jussi Pakkanen
08ef881c86
Extracted compiler definitions to their own file.
10 years ago