Jussi Pakkanen
84d4dc3bbb
Merge pull request #812 from centricular/older-gcc-pedantic
...
compilers: Fall back to -pedantic with older GCC
8 years ago
Sam Thursfield
8784c35dde
Give a helpful exception when target has no name ( #816 )
8 years ago
Thibault Saunier
89d3a18f65
Add a meson.version() method returning the version of meson in use ( #792 )
...
So user can activate/deactivate features based on it.
8 years ago
Nirbheek Chauhan
e8dc13248e
compilers: Fix typo in visual studio warning argument
8 years ago
Nirbheek Chauhan
e459fd2f53
compilers: Fall back to -pedantic with older GCC
...
Fixes https://github.com/mesonbuild/meson/issues/242
8 years ago
Jussi Pakkanen
f1b6c89d9c
Option for ndebug.
8 years ago
Elliott Sales de Andrade
28e1f3ba13
Fix pkgconfig libraries passed to GIR targets.
8 years ago
Elliott Sales de Andrade
7a6534e054
GIR: Handle all dependencies and internal libraries.
8 years ago
Elliott Sales de Andrade
68a2e5c9c9
Also add GIR include_directories to header search path.
8 years ago
Elliott Sales de Andrade
9009f8267e
Allow GirTargets as includes for another GirTarget.
8 years ago
Elliott Sales de Andrade
3ae327a2ac
Pull dependency directly from GIR's target library.
8 years ago
Elliott Sales de Andrade
d0b6f0b7a4
Add dependency's include paths to GIR generation.
8 years ago
Elliott Sales de Andrade
f2ccad64fc
Determine GIR include paths like targets.
...
These paths are now generated similar to
NinjaBackend.generate_single_compile where IncludeDirs create includes
of both the build directory path and the source directory path.
This also fixes a bug with include_directories, where the path string
supplied to the IncludeDirs initializer was used for the search path,
instead of the actual location to which it referred. Often, this was a
'.', and not a really useful path.
8 years ago
Thibault Saunier
a2e7ebc575
Add a new 'environment' object to be used to build test environment ( #781 )
...
Allowing user to fine tune tests environment variables
8 years ago
Jussi Pakkanen
8fd8c16a87
Merge pull request #782 from tp-m/config-data-set-quoted
...
config data: add .set_quoted() convenience method to set quoted string
8 years ago
Jussi Pakkanen
7d24f96d2d
Merge pull request #774 from mesonbuild/compilerreorg
...
Move compiler common functionality to own class
8 years ago
Jussi Pakkanen
3d8876bf59
Download without status updates if server does not report file size. Closes #771 .
8 years ago
Tim-Philipp Müller
09fdc7f815
configuration_data: add .set_quoted() convenience method to set quoted string
...
Quotes in the string will be escaped C-string style with \", but
nothing else will be escaped.
8 years ago
Jussi Pakkanen
49583ccfab
Revert #737 . Closes #773 .
8 years ago
Jussi Pakkanen
c970d656b1
All_args should always be a list. Closes #778 .
8 years ago
Jussi Pakkanen
c334eeda76
Merge pull request #684 from mesonbuild/pdb
...
Create pdb files with MSVC
8 years ago
Nirbheek Chauhan
91c5f07a8e
run_tests.py: Ignore .pdb files while validating install
...
Their presence depends on build options and compiler, and we don't
currently have the test infrastructure to deal with this.
8 years ago
Nirbheek Chauhan
0840a908f2
ninjabackend: Add support for installing .pdb files
...
.pdb files are files created by MSVC which have debug symbols. These are
created when /ZI or /Zi is passed to the compiler and /DEBUG to the
linker.
8 years ago
Nirbheek Chauhan
4228a6dab6
vs: Never serialize debug file generation with /FS
...
/FS forces .pdb file writing to be serialized through MSPDBSRV.EXE,
which is supposed to solve concurrency issues (esp. with anti-viruses),
but it doesn't actually always work. It also isn't needed anymore since
we don't use a shared vcXXX.pdb temporary file for pdb writing and use
/Fd to explicitly set a per-target pdb filename instead.
Not serializing the PDB writing will make a large difference on fast
disks when linking multiple libraries and executables simultaneously.
8 years ago
grindhold
167deda665
module pkgconfig: added install_dir attribute ( #776 )
...
the pkgconfig module automatically specified to install the
pkgconfig file to {libdir}/pkgconfig. Default settings in meson
already include multiarch-directories like x86_64-gnu-linux into
the libdir. pkgconfig usually does not check inside multiarch-dirs
for any pkgconfig-files.
to make this a bit more flexible, this commit introduces the
install_dir attribute for pkgconfig.generate. if it is set, the
default install path will be overridden by the users input
8 years ago
Jussi Pakkanen
873558b2b4
Reorganisation.
8 years ago
Jussi Pakkanen
e57c626337
Clang C++ compiler uses common class.
8 years ago
Jussi Pakkanen
20083c0694
Factored Clang common stuff in its own class.
8 years ago
Jussi Pakkanen
26f9adf6a6
Moved base options to base class, because they are always the same.
8 years ago
Jussi Pakkanen
5833d23e76
Made objc compilers use Gnu class.
8 years ago
Jussi Pakkanen
85c2f67079
Made C++ compiler use GNU class.
8 years ago
Jussi Pakkanen
2336624f4a
Refactored GNU common functionality into its own class.
8 years ago
Jussi Pakkanen
c7e5e558f9
More PDB explanation.
8 years ago
Jussi Pakkanen
19ecad5b24
Mark all dependencies for run targets.
8 years ago
Jussi Pakkanen
6f2b29e0f7
Can use files() in run_command.
8 years ago
Jussi Pakkanen
b1e4b8e143
Merge pull request #768 from mesonbuild/rtfixes
...
Fixes for run_targets
8 years ago
Thibault Saunier
5d30ea99ea
meson_test: Add env variables to the test logs file ( #767 )
...
So users can more easily reproduce the test without the
launcher
8 years ago
Jussi Pakkanen
d26ab47072
Can use custom targets as executables to run in a run_target.
8 years ago
Jussi Pakkanen
9235fd4ec1
Permit use of file objects in run targets.
8 years ago
Jussi Pakkanen
3f62fb788b
Remove unneeded shebang line that was triggering some linters.
8 years ago
Elliott Sales de Andrade
b6ee5725c2
Fix option initialization for win32 cross-compile. ( #762 )
8 years ago
Jussi Pakkanen
165f8a913d
Better error message when trying to use subprojects as dependencies.
8 years ago
Jussi Pakkanen
69433025ca
Update version for new development.
8 years ago
Jussi Pakkanen
c013298426
Update version number for release.
8 years ago
Jussi Pakkanen
b289547971
Force clang to error out on unknown arguments. Closes #755 .
8 years ago
Jussi Pakkanen
ba0456748e
Prefer pkg-config to sdl2-config.
8 years ago
Jussi Pakkanen
1ae45e3eb2
Updated authors.
8 years ago
Iain Lane
84d5f97b21
loop over `sizes'
...
I ran `ac_converter.py`, and it crashed
```
Traceback (most recent call last):
File "ac_converter.py", line 299, in <module>
for elem, typename in size:
```
I think it's a typo like this.
8 years ago
Jussi Pakkanen
bd23131eca
Some platforms require linking against libintl explicitly.
8 years ago
Elliott Sales de Andrade
a7cf241334
Fix validation of man page extension. ( #749 )
...
If the extension does not exist or is not a number, the error message is
not raised because the assumptions cause a different exception.
8 years ago