aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-04-23Update version number for release.0.40.0Jussi Pakkanen6-6/+6
2017-04-23Unset compiler envvars in unit tests.Jussi Pakkanen2-9/+20
2017-04-22vala: Add 'VALAFLAGS' to considered environment variablesGuillaume Poirier-Morency2-6/+13
Fix precedence of arguments for Vala tasks and include those considered external (i.e. '-Dvala_args' and 'VALAFLAGS').
2017-04-22Merge pull request #1654 from dcbaker/c-cpp-linkJussi Pakkanen10-17/+238
Add a testcase for linking C and C++ static archives into a shared li…
2017-04-22Merge pull request #1649 from centricular/static-ltoJussi Pakkanen3-26/+54
Fix LTO + static libraries on GCC and Clang
2017-04-22Disabled rpath test due to bug #1635.Jussi Pakkanen1-0/+2
2017-04-22tests/common/146: Also test against external C++ libsNirbheek Chauhan1-3/+37
2017-04-22configure_file: Accept output of configure_file as inputNirbheek Chauhan1-1/+3
2017-04-21tests/common/146: Use C++98 features instead of BoostNirbheek Chauhan2-8/+11
This makes it work on MSVC 2010 and platforms where Boost is not available.
2017-04-21Use linked-libraries to decide what linker to useNirbheek Chauhan1-2/+35
Sometimes you want to link to a C++ library that exports C API, which means the linker must link in the C++ stdlib, and we must use a C++ compiler for linking. The same is also applicable for objc/objc++ etc, so we can keep using clike_langs for the priority order. Closes https://github.com/mesonbuild/meson/issues/1653
2017-04-21Expose the implementation language for external librariesNirbheek Chauhan2-14/+13
Ideally, all dependency objects should support this, but it's a lot of work and isn't supported by all dependency types (like frameworks and pkg-config), so for now just enable it for external libraries.
2017-04-21Add a testcase for linking C and C++ static archives into a shared libraryDylan Baker7-0/+150
This exercises a regression where the C rather than C++ linker is chosen, resulting in symbol errors. Test for #1653
2017-04-21ninja: Don't use @file.rsp with ArLinker on WindowsNirbheek Chauhan1-1/+5
We can't use @file.rsp on Windows with ArLinker because llvm-ar and gcc-ar blindly pass the --plugin argument to `ar` and you cannot pass options as arguments while using the @file.rsp syntax. [5/7] cc @mylib@sta/libfile4.c.obj.rsp [6/7] gcc-ar @libmylib.a.rsp FAILED: libmylib.a gcc-ar @libmylib.a.rsp C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/6.3.0/../../../../x86_64-w64-mingw32/bin/ar.exe: invalid option -- @ https://github.com/mesonbuild/meson/pull/1649 https://ci.appveyor.com/project/jpakkane/meson/build/1.0.2330/job/w3hj9jfdasefsqi9
2017-04-21Use gcc-ar/llvm-ar as the static linker if availableNirbheek Chauhan1-25/+38
Closes https://github.com/mesonbuild/meson/issues/1646
2017-04-21Stricter evaluation of deps. Closes #1648.Jussi Pakkanen1-6/+10
2017-04-21Added missing argument to a few function calls. Closes #1647.Jussi Pakkanen1-8/+11
2017-04-20Don't fail include_directories if the dir is only in the build pathMatthias Klumpp1-3/+7
2017-04-20unit tests: Add a test case for LTO + static librariesNirbheek Chauhan1-0/+11
Tests https://github.com/mesonbuild/meson/issues/1646
2017-04-19Print a warning on duplicated keywords.Jussi Pakkanen1-0/+3
2017-04-19Renamed test to keep numbers sequential.Jussi Pakkanen1-0/+0
2017-04-19Drop terminating fullstop from "Installing blah to blah" messagesPeter Hutterer3-7/+7
Grammatically, this full stop isn't needed and with file names it has a potential to be confusing: Installing /foo/bar/filename.1 to /foo/bar/dirname. The full stop caused me to do a double-take more than once, so let's drop it.
2017-04-17Do not obliterate old rpath because it might be used due to read only data ↵Jussi Pakkanen6-3/+58
sharing. Closes #1619.
2017-04-17Merge pull request #1628 from ximion/dfixJussi Pakkanen6-1/+56
d: Fix linking shared libraries with DMD
2017-04-17Raise clear error if module name doesn't exist.Elliott Sales de Andrade1-2/+5
Don't raise a full backtrace.
2017-04-16Skip all whole archive args if there aren't any.Elliott Sales de Andrade1-1/+1
No need to turn it on and off again if there's nothing requiring it.
2017-04-15d: Add testcase for linking multiple versioned shared librariesMatthias Klumpp5-0/+55
2017-04-15d: Fix linking shared libraries with DMDMatthias Klumpp1-1/+1
2017-04-15tests: skip protocol buffers test if deps are not foundTim-Philipp Müller1-2/+7
2017-04-15Make it possible to only do unity builds on subprojects.Jussi Pakkanen10-12/+32
2017-04-15Merge pull request #1549 from mesonbuild/linkwholeJussi Pakkanen9-1/+129
Add option to link the entire contents of a static library to a target.
2017-04-14dependencies: boost: use system include flag for header includesWade Berrier1-3/+28
... based on the compiler object This addresses issue #1569 Need to be careful about using -isystem with the standard include dirs (thanks to the unit tests for catching this). It may be worthwhile trying to detect what the include dirs are. Other dependencies (GTest) just avoid adding the include dir for those system includes. Do the same here.
2017-04-13Merge pull request #1548 from ssssam/sam/stable-orderingJussi Pakkanen5-10/+39
Stable ordering of some commandlines generated by 'gnome' module
2017-04-13Don't close fds when executing programsJussi Pakkanen2-0/+2
2017-04-13Process VS dependency string as raw bytes.Jussi Pakkanen1-8/+14
2017-04-13gtkdochelper: Fix type file name optionRafael Fontenelle2-1/+2
'gtkdoc-scangobj' script was recently ported to Python (it was Perl), and it now requires providing '--type' option to specify the name of the file to store the types in. Without this option, 'gtkdockelper' will exit with error status 2 and will throw a message "gtkdoc-scangobj: error: unrecognized arguments: <typefile>"
2017-04-13Don't close fds when executing programsMichael Olbrich2-0/+2
Tools that execute meson might open file descriptors for the programs to use. Such as a file descriptor for a logfile.
2017-04-12Sort user commandline options when generating 'scan-build' targetSam Thursfield1-1/+4
We receive these options from the 'argparse' module in a random order. To ensure the build.ninja file doesn't include random variations we should sort them before writing them back out.
2017-04-12vala: Allow installation into default directoriesNirbheek Chauhan5-13/+20
For generated headers, vapis, and GIRs. https://github.com/mesonbuild/meson/pull/1469#issuecomment-292814000
2017-04-11Merge pull request #1596 from centricular/test-rebuildsJussi Pakkanen8-37/+124
Test that build and custom targets are rebuilt on changes
2017-04-11Merge pull request #1606 from dcbaker/vs_modules_defsJussi Pakkanen6-5/+43
Allow passing generated files to shared_module vs_module_def. Closes #1605
2017-04-11Merge pull request #1588 from absmall/methodJussi Pakkanen7-117/+202
Add an option to dependencies called 'method'.
2017-04-11install scripts: Actually check if it was foundNirbheek Chauhan1-1/+1
Closes https://github.com/mesonbuild/meson/issues/1600
2017-04-10Use an enum instead of strings for method names.Aaron Small1-23/+40
If a non-string value is passed as a method, reject this explicitly with a clear error message rather than trying to match with it and failing.
2017-04-10Provide nice error for invalid types to shared_library vs_module_defsDylan Baker1-0/+4
This just provides a nice error message for passing invalid types.
2017-04-10Allow using generated files to shared_library vs_module_defs. Closes #1605Dylan Baker6-6/+40
This detects and allows passing a generated file as a vs_module_def, it also adds a testcase that tests using configure_file to generate the .def file.
2017-04-10vs: Fix depend_files support in custom targetsNirbheek Chauhan3-6/+19
This was totally broken and we didn't notice because we had no tests for it at all.
2017-04-10vs: Pretty-print all vcxproj outputNirbheek Chauhan1-24/+12
We were more hesitant to do this earlier because it might have messed up custom_target command lines, but since we always use a wrapper for that now, it should be ok to do this. Add a test in the form of a funky generator script.
2017-04-10Add tests for target and custom_target rebuildNirbheek Chauhan5-7/+93
Test that changing src tree headers rebuilds targets, and test that changing any file used in a custom_target will rebuild it.
2017-04-10Merge pull request #1598 from centricular/fix-module-instdirJussi Pakkanen3-2/+8
Fix shared module installation directory on Windows
2017-04-10tests/windows/7: Fix test on CygwinNirbheek Chauhan1-2/+2
Not sure how this was missed.