Hemmo Nieminen
336904b553
Move MesonException from coredata to mesonlib.
9 years ago
Jussi Pakkanen
67377e69b5
Invoke depfixer in-process to make it faster. Closes #480 .
9 years ago
Nicolas Schneider
a33d9d56cf
vs2010: support EXTRA_ARGS for generators
9 years ago
Nicolas Schneider
8787ec3ea2
vs2010: fix object extraction with same source file name
...
This also refactors determine_ext_objs() to use inheritance instead of a
method flag for determining the object output name.
9 years ago
Jussi Pakkanen
0c63f75aaf
Converted coverage into a base option.
9 years ago
Jussi Pakkanen
b5c7cca0dc
Works when mixing Java and C.
9 years ago
Nicolas Schneider
d72cc6e6f8
vs2010: fix object extraction
...
1. Dependencies must be set up with the target's id instead of its
basename.
2. Extracted object output file names must not include the directory
prefix, because MSBuild puts all object files into the same directory
and names them srcfilename.obj instead of dir/filename.obj or
dir_filename.obj.
9 years ago
Nicolas Schneider
e067c4a79d
fix eval_custom_target_command() to use absolute paths for output files
9 years ago
Nicolas Schneider
749aeefe0c
pass meson source and build dirs as env variables for postconf scripts
9 years ago
Nicolas Schneider
9f9f73fa52
add args support for add_postconf_script
9 years ago
Nicolas Schneider
92187501ed
Can add postconfigure script.
9 years ago
Jussi Pakkanen
2d32c39471
Handle built targets in custom rules. Closes #411 .
9 years ago
Minijackson
3b688c6114
Create directories of unity temporary files
9 years ago
Martin Ejdestig
47db4e3d53
Pass warning arguments to compiler even if buildtype is plain
...
Noticed when trying to pass custom optimization flags, and hence setting
buildtype to plain, that warnings for different levels were not passed to
compiler.
This was a bit confusing since mesonconf still displayed "warning_level=3"
and -Werror was passed correctly due to "werror=true". So this change
aligns warning_level behavior with werror. That is, heed what is in
project() in meson.build but user can still override if necessary.
9 years ago
Nirbheek Chauhan
81544feffe
Explicitly use the import library while generating link args for a target
9 years ago
Jussi Pakkanen
aaf6075c89
Reverted implib patch as it broke mingw completely.
9 years ago
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
8bd0f432a0
backends: Clarify the reason behind a grotesque hack
9 years ago
Jussi Pakkanen
7435df8399
Moved backends to their own module.
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
a5508d3fd3
Can run most of test suite (with hacks).
9 years ago
Jussi Pakkanen
8b1039fa30
Organise files into a module structure.
9 years ago
Jussi Pakkanen
4c041e2aec
Can tag include directories as system dirs to reduce compiler warning noise. Closes #345 .
9 years ago
Jussi Pakkanen
7e1df7540d
Handle custom targets that produce static libraries that are then linked to other targets.
9 years ago
Jussi Pakkanen
d64211f570
Moved pkg-config to a module so we no longer need special case code in core for it.
9 years ago
Jussi Pakkanen
bab7edfc10
Create all dirs at the beginning rather than on-demand as a side effect.
9 years ago
Jussi Pakkanen
3c3c977518
Fix incorrect private_dir_abs method.
9 years ago
Jussi Pakkanen
d531f915b1
Can build Swift libraries and link them.
9 years ago
Jussi Pakkanen
43b07729aa
Reworked swift code so now can use multiple source files in one target.
9 years ago
Jussi Pakkanen
70695bead4
Added possibility to have multiple test suites so you can run only a subset of tests. Closes #325 .
9 years ago
Jussi Pakkanen
23c6de3461
Can specify a working directory for tests. Closes #326 .
9 years ago
Jussi Pakkanen
26873801bc
Can define benchmarks and run them.
9 years ago
Jussi Pakkanen
16fa657304
Can use built exes in custom targets.
9 years ago
Jussi Pakkanen
89834657a7
Regression fix.
9 years ago
Jussi Pakkanen
1b697f04cd
Fixed run targets on VS2010.
9 years ago
Jussi Pakkanen
86c401e7b0
Use absolute paths on msvc projecte because their cwd varies. The correct solution would be to build target relative paths but I do not have suffient interest to spend the time.
9 years ago
Jussi Pakkanen
e8cca681ca
Simple custom targets work in VS2010.
9 years ago
Jussi Pakkanen
5be7c011bf
Regenerator script works, but is not run automatically yet.
9 years ago
Jussi Pakkanen
e2313b85d7
Refactored builtin options to a dictionary and created a new default library target type.
9 years ago
Jussi Pakkanen
50663144c3
Can set compiler options, added language versions for Gnu and Clang.
9 years ago
Jussi Pakkanen
d170836051
Windows fix.
9 years ago
Jussi Pakkanen
067935ce76
Added conf option for build tree layout.
9 years ago
Jussi Pakkanen
384365c843
Added outdir() method to build targets so we can make output dirs togglable.
9 years ago
Jussi Pakkanen
0131555e28
Fix all tests except gir, which requires some new functionality.
9 years ago
Jussi Pakkanen
f9060a70bb
Converted a bunch of locations to support different target output path.
9 years ago
Jussi Pakkanen
363bc42c5c
Started target out dir refactoring with some clarifying renamings.
9 years ago
Jussi Pakkanen
6cca79b052
Added multiple selectable warning levels.
9 years ago
Jussi Pakkanen
5467b7d58b
Made Fortran static libraries work. Closes #237 .
9 years ago
Jussi Pakkanen
5ffe46bc6a
Add version numbers to projects and generate a dep manifest.
9 years ago