Nirbheek Chauhan
deff35eef6
Filter out UNIX flags from external deps when using the MSVC compiler
...
This is very useful to prevent compiler noise about invalid cflags; particularly
for the -mms-bitfields cflag which most libraries send to the mingw-gcc
compiler. More can be added later.
9 years ago
Nirbheek Chauhan
440d73902d
Explicitly use the import library while generating link args for a target
9 years ago
Nirbheek Chauhan
e31b6e4a7b
ninjabackend: Try symlinking and ignore if it doesn't work
...
Instead of checking if we're on Windows and not even trying, try to symlink and
if that fails due to insufficient privileges, then just continue. This allows
people who know what they're doing to allow users other than Administrators to
make symlinks on Windows, or allows them to just run Meson as an Administrator.
9 years ago
Jussi Pakkanen
31fc897496
Merge pull request #391 from nirbheek/minor-changes
...
Bunch of minor changes
9 years ago
Nirbheek Chauhan
3dd039487e
compilers: /LD is not needed for PIC support in DLLs
...
On Windows, the advantages of PIC are provided by the runtime DLL loader. /LD is
also only valid as an argument to cl.exe, and the linker link.exe just barfs
when it sees it.
The code assumes that the compiler is the same as the linker which caused this
problem to occur.
9 years ago
Jussi Pakkanen
e0fbde786c
Merge pull request #385 from nirbheek/debugoptimized
...
compilers: Don't pass /D for debugoptimized build type
9 years ago
Nirbheek Chauhan
8bd0f432a0
backends: Clarify the reason behind a grotesque hack
9 years ago
Nirbheek Chauhan
a901024d33
When erroring out due to invalid prefix, print the value
...
Helps with debugging what's going wrong
9 years ago
Nirbheek Chauhan
05547a44fc
Add myself to authors.txt as required by the guide to contributing]
9 years ago
Nirbheek Chauhan
601ff91622
interpreter: Add path() method to ExternalProgramHolder types
...
In practice, this means we can do
flex = find_program('flex')
flex.path() # Gives the full path to the flex binary
9 years ago
Nirbheek Chauhan
36c9a165ed
build.CustomTarget: Also accept mesonlib.File types as 'command' arguments
9 years ago
Nirbheek Chauhan
3fcd056e86
compilers: Don't pass /D for debugoptimized build type
...
/D is the same as -D and stands for define not debug. Passing this would swallow
the next argument.
9 years ago
Jussi Pakkanen
edd61dcf81
When killing a frozen process, take all its children with it. Closes #377 .
9 years ago
Jussi Pakkanen
25793975d7
Can ask pkg-config to provide static libraries. Closes #380 .
9 years ago
Jussi Pakkanen
bbe4656c51
Guard against subdir segments in output files.
9 years ago
Jussi Pakkanen
819da091c2
Use deterministic mode in ar when it is available.
9 years ago
Jussi Pakkanen
fc08f60b9f
Do not cache found programs because it is unreliable. Closes #374 .
9 years ago
Jussi Pakkanen
72a94c13f2
Merge pull request #381 from dnohales/gresource_multi_sourcedir
...
Allow multiple source_dir in GResource
9 years ago
Damián Nohales
5f5ed7fcfb
Add myself to authors.txt
9 years ago
Damián Nohales
8bcd25f5b4
Simplify target generation in GnomeModule.compile_resources
9 years ago
Damián Nohales
b91662a903
Allow multiple source_dir in GResource
...
There are use case where one may want to specify --sourcedir option
multiple times to glib-compile-resources, which will look for
resources in every specified directory.
By doing this, we also need to get rid of the manual GResource XML
parsing and we opted to use the glib-compile-resources command with
the --generate-dependencies option. This command will solve the
multiple source_dir case for us.
9 years ago
Jussi Pakkanen
6a3e29ccd4
If test exes can not be removed (because e.g. an antivirus program holds on to the file), just leave them behind. Closes #378 .
9 years ago
Jussi Pakkanen
4b3c43649e
Put internal include dirs at the beginning so they override ones coming from the system. Closes #372 .
9 years ago
Jussi Pakkanen
9496637a70
Removed need to call check_outputs manually so you can not forget to do it.
9 years ago
Jussi Pakkanen
5586dcf5c0
Text clarification.
9 years ago
Jussi Pakkanen
c87835080d
Restore warning state variable that got lost in refactoring.
9 years ago
Jussi Pakkanen
8cd3c8124a
Can add languages only if they are available. Closes #365 .
9 years ago
Jussi Pakkanen
4cd671e69e
More comparison operators. Closes #363 .
9 years ago
Jussi Pakkanen
755d22afbd
Strip trailing slash from prefix. Closes #366 .
9 years ago
Jussi Pakkanen
0c96dbff3a
String to int conversion. Closes #362 .
9 years ago
Jussi Pakkanen
8d8d696966
Bump version for new development.
9 years ago
Jussi Pakkanen
df47d0b1a5
Updated versions for release.
9 years ago
Jussi Pakkanen
4319f002a1
Tweak setup.py includes.
9 years ago
Jussi Pakkanen
7435df8399
Moved backends to their own module.
9 years ago
Jussi Pakkanen
d6b2053146
Can build Vala shared libraries.
9 years ago
Jussi Pakkanen
58d7db4a6c
Some windows fixes.
9 years ago
Jussi Pakkanen
b91134b806
Better error message when failing to run install script. Closes #361 .
9 years ago
Jussi Pakkanen
9573ec60ad
Vala .d and .vapi should be named after the first vala source file in the target rather than target name.
9 years ago
Jussi Pakkanen
6d55275f6c
Update version number for a new prerelease to pypi.
9 years ago
Tim-Philipp Müller
f5d63cd47e
meson: try harder to infer build and source directories if called without arguments
...
If there's no meson.build file in the current directory
and there is one in the parent directory, assume that
we are in the build directory.
9 years ago
Jussi Pakkanen
6d2b227dc1
Fix swift breakage caused by distutils migration.
9 years ago
Jussi Pakkanen
a5528249ad
Merge branch 'distutils'.
9 years ago
Jussi Pakkanen
2d1aa395e8
Dumped fastvapi and made library linking with Vala work.
9 years ago
Jussi Pakkanen
f7e1d256ad
Fix rpm imports.
9 years ago
Jussi Pakkanen
7e467207dc
Put man page dir in manifest.
9 years ago
Jussi Pakkanen
9644a928d2
Some more command line guarding.
9 years ago
Jussi Pakkanen
7492724655
Fix wraptool.
9 years ago
Jussi Pakkanen
eda57f887a
Improve command line arg behaviour.
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
2f868a19c6
Some text tweaks.
9 years ago