aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/backend
AgeCommit message (Collapse)AuthorFilesLines
2021-04-07Fix Xcode targets in subdirs.xcodeevenmoreJussi Pakkanen1-4/+0
2021-04-07Remove unneeded variable.Jussi Pakkanen1-3/+3
2021-04-07Avoid rebuilding the target list all the time.Jussi Pakkanen1-30/+32
2021-04-07Skip compilers that are not used for a given target.Jussi Pakkanen1-0/+2
2021-04-07Fix shared libs and using one source in multiple targets.Jussi Pakkanen1-57/+89
2021-04-07Fix building static libs with the Xcode backend.Jussi Pakkanen1-1/+2
2021-04-05LGTM fix.xcodewarnoptJussi Pakkanen1-1/+1
2021-04-05Use warning args in the Xcode backend.Jussi Pakkanen1-14/+18
2021-04-05Use actual build type rather than hardcoding "debug".Jussi Pakkanen1-14/+14
2021-04-05Set debug info in the Xcode native way.Jussi Pakkanen1-4/+2
2021-04-05Set optimization level in the Xcode native way.Jussi Pakkanen1-3/+11
2021-04-05Refactor Xcode target generation to its own method.Jussi Pakkanen1-116/+122
2021-04-04Fix LGTM issues.Jussi Pakkanen1-8/+5
2021-04-04Move constant to module level.Jussi Pakkanen1-19/+19
2021-04-04Delete old implementation.Jussi Pakkanen1-498/+47
2021-04-04Add last few things we skipped.Jussi Pakkanen1-2/+15
2021-04-04Fix all the minor things that got broken.Jussi Pakkanen1-35/+48
2021-04-04Converted the last bit.Jussi Pakkanen1-3/+35
2021-04-04Convert build configuration.Jussi Pakkanen1-3/+97
2021-04-04Convert a few more.Jussi Pakkanen1-11/+71
2021-04-04Convert PBXGroup.Jussi Pakkanen1-5/+72
2021-04-04Convert a few more.Jussi Pakkanen1-10/+51
2021-04-03Reduce verbosity.Jussi Pakkanen1-21/+27
2021-04-03Convert one more object type and some scaffolding.Jussi Pakkanen1-6/+73
2021-04-03Start refactoring the xcode backend by creating proper classes for pbx ↵Jussi Pakkanen1-5/+92
primitives.
2021-03-29Do not add custom target dir automatically when implicit false.Jussi Pakkanen1-4/+2
2021-03-26backends: Remove @PRIVATE_OUTDIR_(ABS)@ substitutionXavier Claessens1-12/+0
It is not documented and does not seems to be used anywhere.
2021-03-23devenv: Set GI_TYPELIB_PATH and LD_LIBRARY_PATH (#8548)Xavier Claessens1-3/+18
2021-03-19split program related classes and functions out of dependenciesDylan Baker1-7/+8
Dependencies is already a large and complicated package without adding programs to the list. This also allows us to untangle a bit of spaghetti that we have.
2021-03-16clangformat: Add clang-format-check targetXavier Claessens1-2/+8
2021-03-16Add `meson devenv` command and meson.add_devenv()Xavier Claessens1-0/+19
2021-03-16EnvironmentVariables: Simplify and annotateXavier Claessens1-4/+4
2021-03-14ninjabackend: Use rsp_file_syntax methodDylan Baker1-21/+12
This also makes us of the new enum value in the backend, for better type saftey.
2021-03-09change RSP quote style decision logicRemi Thebault1-3/+12
Take into account LDC on Windows Fixes #8494
2021-03-06Fix Fortran dep scanner for upper case file extensions. Closes #8395.Jussi Pakkanen1-1/+1
2021-03-04mass rewrite of string formatting to use f-strings everywhereEli Schwartz4-89/+89
performed by running "pyupgrade --py36-plus" and committing the results
2021-03-04various python neatness cleanupsEli Schwartz1-1/+1
All changes were created by running "pyupgrade --py3-only --keep-percent-format" and committing the results. I have not touched string formatting for now. - use set literals - simplify .format() parameter naming - remove __future__ - remove default "r" mode for open() - use OSError rather than compatibility aliases - remove stray parentheses in function(generator) scopes
2021-03-03Windows Subsystem for Linux can run .exe without mono interpreterXavier Claessens1-1/+1
Fixes: #8445
2021-02-27install_man locale supportJason Woodward1-2/+8
Rather than having to manually build the locale aware man paths with `install_data('foo.fr.1', install_dir: join_paths(get_option('mandir'), 'fr', 'man1'), rename: 'foo.1')` Support doing `install_man('foo.fr.1', locale: 'fr')`
2021-02-26rust: a meson -l argument could be etiher a static or dynamic libraryDylan Baker1-2/+2
I made an incorrect assumption that -l arguments would always be static libraries, but they might well be shared libraries.
2021-02-26Merge pull request #8404 from dcbaker/submit/rust-c-dependenciesJussi Pakkanen1-4/+18
Fix linking Rust with C dependencies
2021-02-25Allow custom target output to be processed by generatorsMatthias Klumpp1-9/+17
2021-02-23rust: replace for loop with any()Dylan Baker1-4/+1
This is a little cleaner, and short circuits correctly, unlike the loop it replaces
2021-02-23rust: fix linking with external dependenciesDylan Baker1-0/+17
Rust can link with any dependency that uses c linkage, which is pretty much what we assume across the board anyway.
2021-02-22minstall: Add --skip-subprojects optionXavier Claessens1-33/+34
By default all subprojects are installed. If --skip-subprojects is given with no value only the main project is installed. If --skip-subprojects is given with a value, it should be a coma separated list of subprojects to skip and all others will be installed. Fixes: #2550.
2021-02-19Fix combining C and Fortran. Closes #8377.Jussi Pakkanen1-2/+5
2021-02-18Don't access other enum members from selfMiro Hrončok1-3/+4
This is deprecated in Python 3.10. Instead, acces them from the class. Fixes https://github.com/mesonbuild/meson/issues/8318
2021-02-17Substitute @CURRENT_SOURCE_DIR@ in run_target() and custom_target()Xavier Claessens1-0/+2
run_target() does some variable substitutions since 0.57.0. This is a new behavior, and undocumented, caused by sharing more code with custom_target(). More consistency is better, so document it now. custom_target() was doing variable substitution in the past, because it shared some code with generator(), but that was undocumented. Some refactoring in 0.57.0 caused it to not replace @CURRENT_SOURCE_DIR@, @SOURCE_DIR@, and @BUILD_DIR@ anymore. This patch adds back @CURRENT_SOURCE_DIR@ and document it. It does not add back @SOURCE_DIR@ because it is duplicate with @SOURCE_ROOT@ that has a better name. Also do not add back @BUILD_DIR@ which is duplicate of @PRIVATE_DIR@, and not @BUILD_ROOT@ surprisingly, adding to the confusion.
2021-02-16Fix VS C++ module support.Jussi Pakkanen1-1/+2
2021-02-09backends: Fix custom_target() with configure_file() exeXavier Claessens1-0/+3