Commit Graph

6 Commits

Author SHA1 Message Date
Matthieu Gautier 940cea290d Use a 'extra_libs' key instead of 'properties'.
'properties' is too close of the meson definition and we need to duplicate
the entries for 'c_link_args' and 'cpp_link_args'.

By using 'extra_libs' we have a more functional definition of what we want.
2017-03-13 13:18:14 +01:00
Matthieu Gautier 00acba9ee9 Add the notion of toolschain.
- For now, only the win32 is here.
- There no more nativeBuilEnv as the buildEnv can launch command without
  using the toolschain.
2017-03-13 13:18:14 +01:00
Matthieu Gautier cff9642c23 Use ccache if available.
If ccache is availble, use it. It can improve a lot the compilation time.
We do not change the meson_cross_file.txt as, for now, meson doesn't
support ccache when cross-compiling.
2017-03-13 11:50:02 +01:00
Matthieu Gautier 6d18da1587 Do not setup the 'wine' exe_wrapper in meson.
We cannot install it on travis (for now ?) and we don't use it anyway.

This have somehow to be fixed as the wine tool will be necessary to test
binaries and we want tests.
2017-02-07 14:30:41 +01:00
Matthieu Gautier b205526bb2 Do not hardcode binary's name in templates.
This may change from on host platform to another. Use the cross_env.
2017-02-06 17:33:39 +01:00
Matthieu Gautier 9f1942a0e1 Do not depends on custom fedora tools for cross-compile.
Fedora provides a set of (powerfull) tools to correctly pass the right
options to compilation tools (configure, cmake, ...)

This is great but we must not use them as we want to cross-compile from
other distribution (ubuntu).

Now, we do not use those tools and we can easily port cross-compilation to
ubuntu.
2017-02-06 15:33:51 +01:00