Jussi Pakkanen
737fde65fa
Bring back the old manual search to cc.find_library.
2016-04-04 22:18:14 +03:00
Jussi Pakkanen
6841672eb5
Import fix. Closes #498 .
2016-04-04 18:34:46 +03:00
Jussi Pakkanen
16b3e22016
Removed lingering coverage flags.
2016-04-04 01:41:56 +03:00
Jussi Pakkanen
873ffe782c
Merge pull request #390 from nirbheek/msvc-module-defs
...
Add support for passing a module definitions file for exporting symbols while linking
2016-04-03 18:12:18 +03:00
Jussi Pakkanen
e0792295bc
Whitespace fixing.
2016-04-03 18:00:41 +03:00
Jussi Pakkanen
4352398caf
Fix output dir of coverage-html.
2016-04-03 17:27:14 +03:00
Jussi Pakkanen
6291fb4056
Put buildtype flags to vala compiles.
2016-04-03 16:44:18 +03:00
Jussi Pakkanen
3415c3a693
Add coverage option to compilers.
2016-04-02 19:13:26 +03:00
Jussi Pakkanen
a42a4d7bf3
If should be elif.
2016-04-02 01:03:13 +03:00
Jussi Pakkanen
9587715585
Fix Windows.
2016-04-01 22:51:36 +03:00
Jussi Pakkanen
ea092fefc2
Use individual tempdirs for building and installing in unit tests.
2016-04-01 20:20:48 +03:00
Jussi Pakkanen
5bb94b901d
Merge pull request #486 from nioncode/vs-transitivedeps
...
vs2010: fix transitive dependencies
2016-03-31 22:20:19 +03:00
Jussi Pakkanen
02277c9ddb
Merge pull request #488 from nioncode/vs-extrafiles
...
vs2010: add extra_files to project
2016-03-31 22:20:05 +03:00
Jussi Pakkanen
519df3defa
Only check cl banner string on Windows. Closes #491 .
2016-03-31 21:46:26 +03:00
Jussi Pakkanen
26f647d728
And private libraries.
2016-03-30 22:15:25 +03:00
Jussi Pakkanen
67377e69b5
Invoke depfixer in-process to make it faster. Closes #480 .
2016-03-30 22:09:36 +03:00
Jussi Pakkanen
c0c9a96c36
Can set requires manually into generated pc files.
2016-03-30 21:38:18 +03:00
Jussi Pakkanen
74265135bd
Add global arguments to vala compilations.
2016-03-30 21:27:02 +03:00
Nirbheek Chauhan
1713fa0297
Add shared_library argument for a Visual Studio module definitions file
...
On MSVC, shared libraries only export symbols that have been explicitly exported
either as part of the symbol prototype or via a module definitions file.
On compilers other than MSVC, all symbols are exported in the shared library by
default and the format for the list of symbols to export is different, so this
is only used with the VisualStudio compiler.
The module defs file path can either be relative to the current source directory
or an absolute path using meson.source_root() + '/some/path'
2016-03-30 16:24:35 +05:30
Nicolas Schneider
b970ef692f
vs2010: add extra_files to project
2016-03-30 12:38:28 +02:00
Nicolas Schneider
33e842e50a
vs2010: fix transitive dependencies
2016-03-30 00:35:07 +02:00
Jussi Pakkanen
f3386d10c3
Merge branch 'vs-privinc'
2016-03-29 22:50:15 +03:00
Jussi Pakkanen
833520afb5
Merge branch 'vs-fixinclude'
2016-03-29 22:45:45 +03:00
Jussi Pakkanen
1d89d091f8
Merge branch 'vs-extraargs'
2016-03-29 22:32:48 +03:00
Jussi Pakkanen
5ea24bafdd
Merge branch 'samename'
2016-03-29 22:25:16 +03:00
Nicolas Schneider
a33d9d56cf
vs2010: support EXTRA_ARGS for generators
2016-03-29 12:08:34 +02:00
Nicolas Schneider
c2a9f81b68
vs2010: fix generated files' path
...
Generated files should always come with the correct relative path set,
so we don't have to modify it at all.
2016-03-29 12:08:34 +02:00
Nicolas Schneider
ba8b650cda
vs2010: fix relative path to target private dir for generators
...
backend.get_target_private_dir() includes the target directory in the path.
However, we want to treat all paths relative from the target directory,
because that's where our VS project file lives in.
2016-03-29 12:08:34 +02:00
Nicolas Schneider
330be891c1
vs2010: fix generator command
...
A shebang line on Windows will be resolved to [binary, script_path].
Thus, we need to use both instead of just taking the first element of the
command.
2016-03-29 12:08:09 +02:00
Nicolas Schneider
30e2a5feae
vs2010: fix include directories
...
Everything in the VS project file is relative to the project file itself.
The project file gets put in the target.subdir, so to include files from
there we just need to use '.'. To include from the private dir, we
need to use the relative path from the target dir to the target private
dir.
2016-03-29 11:50:50 +02:00
Nicolas Schneider
9c17f0cd93
vs2010: support private include dirs
2016-03-29 11:49:40 +02:00
Jussi Pakkanen
37d7473615
Merge pull request #478 from centricular/sizeof_no_symbol
...
Return -1 from cc.sizeof if the symbol could not be found
2016-03-28 18:36:35 +03:00
Nirbheek Chauhan
a8c6fd6aa4
compilers: Return -1 from cc.sizeof if the symbol could not be found
...
Allows people to avoid adding a separate check for the symbol existing in case
it's platform-specific
2016-03-28 20:43:15 +05:30
Nicolas Schneider
fd8180ddcb
move source file conflict detection into Vs2010 backend
2016-03-28 14:42:52 +02:00
Jussi Pakkanen
46c324eb6e
Error out if trying to install with Python 2.
2016-03-28 13:00:08 +03:00
Nicolas Schneider
84804fc531
vs2010: use copy of buildtype_args to not change global state
...
We do not want the modifications of general_args to propagate to the
global buildtype_args.
2016-03-25 11:01:07 +01:00
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.
2016-03-25 09:49:30 +01:00
Nicolas Schneider
3de7c34714
add test for extracting two objects with the same source file name
2016-03-24 23:44:44 +01:00
Nicolas Schneider
0c4aab6eed
vs2010: support same source file names in different subdirs
2016-03-24 23:44:44 +01:00
Jussi Pakkanen
7019daaab0
Binary name clarification.
2016-03-24 18:13:32 +02:00
Jussi Pakkanen
317a735b07
Error out if using a not found binary in the build. Closes #469 .
2016-03-23 21:26:55 +02:00
Tim-Philipp Müller
8945c85f96
Fix up typo in precompiled headers base option handling
2016-03-20 22:57:49 +00:00
Jussi Pakkanen
5b3c9e262b
Check option files too.
2016-03-20 22:52:46 +02:00
Jussi Pakkanen
d87eb7d290
Merge branch 'base_options'.
2016-03-20 22:04:24 +02:00
Jussi Pakkanen
9071c8fc45
Merge branch 'Custom target absolute paths'.
2016-03-20 21:39:49 +02:00
Jussi Pakkanen
c1a0bd9a52
Merge pull request #441 from nioncode/vs-compile-args
...
vs2010: fix compile args
2016-03-20 21:24:48 +02:00
Jussi Pakkanen
8b619420f9
Open Meson and option files explicitly as utf-8. Closes #467 .
2016-03-20 21:21:23 +02:00
Jussi Pakkanen
a405f7a499
Grab base options from the command line.
2016-03-20 20:43:32 +02:00
Jussi Pakkanen
79de463993
Converted precompiled headers into a base option.
2016-03-20 19:35:42 +02:00
Jussi Pakkanen
0c63f75aaf
Converted coverage into a base option.
2016-03-20 19:16:49 +02:00