aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-02-19Renamed test directory.versionfileJussi Pakkanen12-0/+0
2019-02-19Disable cygwin and lld platforms.Jussi Pakkanen1-0/+9
2019-02-18Add symbol export file support to MSVC.Jussi Pakkanen6-13/+32
2019-02-18Add support for symbol export files on Linux.Jussi Pakkanen5-13/+43
2019-02-18Move linker test to common tests to prepare for cross-platform support.Jussi Pakkanen13-0/+0
2019-02-18d: Translate the -isystem flag for LDC and DMDMatthias Klumpp1-0/+11
2019-02-18runpython: insert script's dir into import pathAndrei Alexeyev1-0/+1
Fixes #4947
2019-02-18Improve handling of gui_appAndrei Alexeyev2-4/+14
This does two things: * On windows GCC-like compilers, the subsystem is always explicitly specified (either -mwindows or -mconsole). MSVC is already explicit. * The gui_app linker flags are now added after those mandated by external dependencies. This is because some misguided libraries (such as SDL) think that hijacking `main()` and forcing `-mwindows` in link flags is clever. We must unconditionally override such misuses to let gui_app work as intended.
2019-02-18Fix console log from generator with multiple output nodesjml17952-4/+11
2019-02-18use compile_args instead of compiler_args [skip ci]Jonathan Poelen1-2/+2
2019-02-18Correct pkg-config method in Qt dependency docs [skip ci]Florian Märkl1-1/+1
2019-02-17mconf: Limit the line length of the choices columnDaniel Mensinger1-1/+15
2019-02-16i18n: Catch additional GLib functionsFrediano Ziglio1-0/+8
Add some missing functions having C-format strings to the list. Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
2019-02-16Merge pull request #4858 from mensinda/rwKWARGSJussi Pakkanen15-60/+634
rewriter: Add support for kwargs modification
2019-02-16Merge pull request #4917 from nioncode/vs-fixTargetDependenciesJussi Pakkanen1-10/+26
vs: use project references in vcxproj instead of the sln file
2019-02-15Fix cross file initialization of CPPFLAGSJohn Ericson1-1/+7
'c_arg' entries should become *both* compiler options and external peprocessor options for C. (And likewise for a few other languages.) Seems inconsistent to me, but this is the status quo.
2019-02-15Remove remaining cross-specific compiler-args codeJohn Ericson3-25/+19
Since the consolidation of flags in `compiler_options.*`, this cross/native special casing is not needed.
2019-02-15Remove a useless `cross_args` which is always emptyJohn Ericson1-3/+1
2019-02-15Remove get_cross_extra_flagsJohn Ericson8-69/+30
This is no longer needed, we just remove conditionals around it.
2019-02-14Fix cross static linker lookupJohn Ericson1-1/+1
Need to search based off of `cross_comp`, not `comp`. Fixes #4822
2019-02-13vs: link dependencies of link_whole targetsNicolas Schneider1-6/+15
Otherwise, msbuild will not create any output for targets that don't have any sources.
2019-02-13vs: do not automatically link dependenciesNicolas Schneider1-0/+4
2019-02-13vs: use project references in vcxproj instead of the sln fileNicolas Schneider1-8/+11
This shows dependencies clearly in the 'references' view of VS and properly propagates the dependencies when building a single vcxproj with msbuild.
2019-02-13ninja: Always treat PCHs as an implicit dependencyAndrei Alexeyev1-8/+1
In addition to MSVC, which was worked around previously, GCC also does not list includes from the PCH in the depfile by default, unless -fpch-deps is given. I think it's best to stay safe and not rely on any particular behavior from the compiler here.
2019-02-13Fortran 2008/2018 Coarray supportMichael Hirsch, Ph.D7-3/+73
2019-02-13Fixes for CUDA compiler shared library linking.Olexa Bilaniuk6-8/+160
Also adds test case for shared library linking. Closes #4912, at least on Linux. The future 0.50.0 does not yet claim to support CUDA on systems other than Linux and backends other than Ninja.
2019-02-13BUGFIX: Fortran openmpMichael Hirsch, Ph.D5-23/+36
2019-02-13Merge pull request #4918 from nioncode/vs-fixUpToDateChecksJussi Pakkanen1-51/+36
vs: fix up to date checks
2019-02-13add type hintingMichael Hirsch, Ph.D1-44/+45
more type hints syntax modernization / robustify syntax typo more effective directory collection
2019-02-13New logo and license text. Closes #4921. [skip ci]Jussi Pakkanen5-58/+311
2019-02-13Add werror flags to nvcc. Closes #4911.Jussi Pakkanen1-0/+3
2019-02-12vs: refactor regen target creationNicolas Schneider1-28/+16
2019-02-12vs: always consider run, install, and test targets out-of-dateNicolas Schneider1-26/+23
Pre/PostBuildEvents do not run if no other build steps are out-of-date. For most run targets (including install and test) that have no other build steps, VS considers these to be always up-to-date after they have been built once. On the other hand, CustomBuild has clearly defined inputs and outputs that define whether the target is up-to-date or not. By using a nonexistent file as output of CustomBuild, it is always considered out-of-date. This aligns the VS behavior with ninja. `ninja install` unconditionally installs, `ninja test` always runs the tests, and a run target always gets executed, without any checks whether it is up-to-date or not.
2019-02-12Merge pull request #4743 from dcbaker/native-file-extendedJussi Pakkanen19-24/+252
Extend native files to store install path information
2019-02-12vs: remove regen project dependency from solution fileNicolas Schneider1-2/+0
We now set up the project as a reference inside the vcxproj, so the explicit order in the solution is not needed anymore.
2019-02-12vs: add reconfigure checks for each targetNicolas Schneider1-3/+9
Previously, this was only added to C/C++ targets, but not for others. Thus, if you'd change a setting through `meson configure`, this was not picked up, e.g. the install target said it was up-to-date and when force rebuilding it, it also did not use the new settings until the build dir was manually reconfigured.
2019-02-12Merge pull request #4826 from mensinda/confDefOptsJussi Pakkanen4-12/+60
mconf: Use introspection to print the project default options (fixes #2543)
2019-02-11mesonlib: Use class syntax for defining MachineChoiceDylan Baker1-1/+9
Mypy struggles with the imperative form of Enum declaration, and upstream doesn't consider it a bug, they recomend using the class form for enums that are going to be externally exposed.
2019-02-11allow paths to be set in the cross fileDylan Baker5-5/+81
Just like the previous patch, but for cross files Fixes #1433
2019-02-11allow setting directory locations in a native fileDylan Baker15-20/+118
This allows the person running configure (either a developer, user, or distro maintainer) to keep a configuration of where various kinds of files should end up.
2019-02-11environment: Add class for storing directories from cross and config filesDylan Baker1-1/+41
2019-02-11BUGFIX: ignore non-ascii Fortran charactersMichael Hirsch, Ph.D1-4/+3
2019-02-10Renamed type classesDaniel Mensinger1-30/+30
2019-02-09BUGFIX: handle Fortran 2003 "use" syntaxMichael Hirsch, Ph.D1-1/+3
2019-02-09mtest: Don't use thread executor when enabled gdb in test_setupYeongjin Jeong1-3/+4
If the global gdb option of mesontest is disabled (e.g. not set '--gdb') and the gdb option of test_setup is enabled, an exception will be thrown. Because signal.signal function can only be called from the main thread. If attempting to call it from other threads will cause a ValueError exception to be raised.
2019-02-09Merge pull request #4860 from nioncode/fixPchJussi Pakkanen14-13/+96
Fix missing PCH dependencies
2019-02-08fix documentation typo for default_library option [skip ci]ericLemanissier1-1/+1
2019-02-07Fix Cuda doc page heading. [skip ci]Jussi Pakkanen1-1/+1
2019-02-05dub: fix detecting packages with different compilers and archsLuís Ferreira1-2/+2
Fix 'not founded' message for packages with another name for specific configurations instead of just 'library'. Signed-off-by: Luís Ferreira <lsferreira169@gmail.com>
2019-02-05Fortran 2008 submodule (#4874)Michael Hirsch, Ph.D9-7/+131