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
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
Jussi Pakkanen
84995b2993
Merge pull request #750 from ebassi/integer-modulo
...
Add support to integer modulo operator
8 years ago
TingPing
0e79664155
Minor pkgconfig module cleanups ( #748 )
...
* pkgconfig: Remove unused function
Leftover copy from modtest
* Add self to authors.txt
8 years ago
Jussi Pakkanen
a9da6c5132
Moved targets with same name into subdirs to make all tests pass.
8 years ago
Emmanuele Bassi
5fec1620d2
Add more test cases for is_even/is_odd methods
...
We need to test an odd number as well as an even.
8 years ago
Emmanuele Bassi
128da74038
Add precedence tests for the modulo operator
8 years ago
Emmanuele Bassi
2dd1ec6f8c
Add is_even() and is_odd() integer methods
...
Convenience methods for modulo operations involving even and odd
numbers.
8 years ago
Emmanuele Bassi
00e5962aaa
Add support to integer modulo operator
...
Having support for the '%' operator makes it easier to implement
even/odd version checks, like:
enable_debug = get_option('enable-debug')
if enable_debug == 'auto'
if minor_version % 2 == 0
enable_debug = 'minimum'
else
enable_debug = 'yes'
endif
endif
which would be impossible without resorting to less obvious long-hand
forms like:
a - (b * (a / b))
8 years ago
Jussi Pakkanen
c8213aaf1e
Better file existance checks.
8 years ago
Jussi Pakkanen
cdf0c4f1a9
Merge branch 'QuLogic-context-managers'
8 years ago
Elliott Sales de Andrade
389259c229
Stop "fixing" command line in CustomTargets. ( #737 )
8 years ago
Jussi Pakkanen
fa59fa55e2
Use absolute paths for dep files in Visual Studio.
8 years ago
Elliott Sales de Andrade
859c5e28df
Use context manager in scripts.
8 years ago
Elliott Sales de Andrade
aec1e88c21
Use context manager in test cases.
8 years ago
Elliott Sales de Andrade
0cf065e12b
Use argparse's builtin version printer.
8 years ago
Jussi Pakkanen
fc33f714fd
Merge pull request #725 from thiblahute/gir_subproject_deps
...
gnome: Handle internal dependencies to generate gir files
8 years ago
Saunier Thibault
e411c0b930
Honor dependency `fallback` argument even if the dependency is not required ( #735 )
...
You can potentially have a fallback subproject and if that subproject
fails, you can continue without that dependency
8 years ago
Thibault Saunier
5780c42b70
tests: framworks: 7 gnome: Stop using g_autoptr
8 years ago
Thibault Saunier
082cb075b0
Test building gir file using internal dependencies
8 years ago
Thibault Saunier
6c6c706bb8
gnome: Handle internal dependencies to generate gir files
8 years ago
Elliott Sales de Andrade
6475bdbe20
Properly handle Files used in CustomTarget commands.
8 years ago
Jussi Pakkanen
8e904aaba0
Merge pull request #731 from QuLogic/obey-DESTDIR
...
Always obey DESTDIR even with absolute install_dir
8 years ago
Elliott Sales de Andrade
cd03df4a4c
Fix CustomTargets used as input to CustomTargets. ( #727 )
8 years ago
Elliott Sales de Andrade
38a2a636b5
Refactor DESTDIR determination into a single function.
8 years ago
Elliott Sales de Andrade
3a593d0aca
Always obey DESTDIR even with absolute install_dir.
...
Passing an absolute path to `install_dir` would previously always
attempt to install there, instead of obeying DESTDIR, since os.path.join
will 'reset' on absolute paths.
8 years ago
Elliott Sales de Andrade
181d9a891d
Ensure URLs are closed with a context manager.
8 years ago
Elliott Sales de Andrade
fe0aa7daff
Convert depfixer.Elf class into a context manager.
...
This allows for automatic closing of its internal file handle.
8 years ago