aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/backend
AgeCommit message (Collapse)AuthorFilesLines
2021-05-21Add swift executable support in Xcode.swiftxcodeJussi Pakkanen3-7/+14
2021-05-19backends: use a set for processed targets instead of a dictDylan Baker2-4/+4
We're only interested in the keys, not in the value (which was always set to True), so a set is a better data structure anyway.
2021-05-19ninjabackend: Fix vala type annotationsDylan Baker1-24/+26
2021-05-19rust: override get_linker_always_argsDylan Baker1-2/+1
instead of opencoding what should be there in the rust compile rule
2021-05-18Add a rust test for internal c linkageDylan Baker1-5/+12
We have code to support this, but no tests. That seems pretty bad. And better yet, it doesn't work on MSVC in some cases.
2021-05-17ninjabackend: fix linking dynamic c libraries with rustDylan Baker1-1/+1
The correct name is "dylib" not "shared"
2021-05-15Visual Studio Address Sanitizer updatesPeter Harris1-0/+10
* Allow address sanitizer for Visual Studio 2019 version 16.9 Address Sanitizer was first supported with the current syntax in Visual Studio 16.9.0 (cl version 19.28.29910). * VS: Convert /fsanitize=address to project file setting
2021-05-08ninjabackend: Add pch includes as early as possible not to be overriddenMarco Trevisan (Treviño)1-4/+18
When pch are used for a target meson will make the compiler to include the pre-compiled header. While this is useful, this needs to happen before any other header has been included, otherwise: 1) we won't take advantage of pch for anything else previously included 2) gcc will just fail as it won't even try to look for a pre-compiled header in this case [1] This case can happen quite a easily when a dependency provides an included header in its cflags. As per this, split _generate_single_compile() in two phases, one is responsible of initializing the compiler data, while the other is defining commands for the context. In this way, when pch can be used, we can insert the pch inclusion earlier than any other provided by the target. [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100462
2021-04-29Xcode: fix project cleaning.Jussi Pakkanen1-2/+2
2021-04-26introspection: export all sources for custom targetsJason Francis1-0/+2
Also adds some test cases for source files in target_sources.
2021-04-25Xcode: make Swift projects work.Jussi Pakkanen3-7/+14
2021-04-25Xcode: add objective C++ flags to plain C++ because Xcode requires it.Jussi Pakkanen1-1/+3
2021-04-25Xcode: add objective C flags to plain C because Xcode requires it.Jussi Pakkanen1-2/+9
2021-04-24Xcode: fix linking to customtargetindex objects.Jussi Pakkanen1-7/+28
2021-04-23Xcode: even more command line argument expansion.Jussi Pakkanen1-1/+6
2021-04-23Xcode: Quote McQuoteface.Jussi Pakkanen1-2/+2
2021-04-23Xcode: handle CustomTargetIndexes.Jussi Pakkanen1-6/+20
2021-04-23Xcode: ever more quoting.Jussi Pakkanen1-1/+4
2021-04-23Xcode: only add source and build dirs if implicit_include_directories is set.Jussi Pakkanen1-2/+3
2021-04-22Xcode: do not link shared modules against executables.Jussi Pakkanen1-0/+2
2021-04-22Xcode: add missing quote character.Jussi Pakkanen1-1/+1
2021-04-22Xcode: fix shell quotings.Jussi Pakkanen1-2/+2
2021-04-22Xcode: skip link language override test.Jussi Pakkanen1-1/+1
2021-04-21Xcode: put all include dirs via a property rather than a cmd line arg.Jussi Pakkanen2-8/+15
2021-04-21Xcode: add target private dir to include path.Jussi Pakkanen1-0/+1
2021-04-21Xcode: quote some entries as needed.Jussi Pakkanen1-2/+8
2021-04-20Xcode: fix file objects in various places.Jussi Pakkanen1-13/+31
2021-04-20Xcode: fix compiling shared modules.Jussi Pakkanen1-4/+20
2021-04-19Xcode: regenerato project file when build conf changes.Jussi Pakkanen3-24/+74
2021-04-19Xcode: replace all backslashes with eight backslashes. Because obviously.Jussi Pakkanen1-0/+4
2021-04-18Xcode: fix generators that take custom targets as inputs.Jussi Pakkanen1-81/+120
2021-04-18Xcode: add proper target dependencies to custom targets.Jussi Pakkanen1-3/+5
2021-04-18Xcode: fix running commands that lie in the build root dir.Jussi Pakkanen2-3/+3
2021-04-18Xcode: fix custom target chaining.Jussi Pakkanen2-3/+3
2021-04-18Xcode: made custom targets into top level AggregateTargets.Jussi Pakkanen1-6/+114
2021-04-16Xcode: make the test target depend on build_all target.Jussi Pakkanen1-1/+6
2021-04-16Xcode: fix custom targets that produce objs and libs.Jussi Pakkanen3-24/+33
2021-04-16Xcode: handle capturing generators.Jussi Pakkanen1-1/+7
2021-04-15Xcode: this is what happens when you do not treat command lines as arrays.Jussi Pakkanen1-0/+1
2021-04-15Xcode: remove some unnecessary dict entries.Jussi Pakkanen1-22/+0
2021-04-15Xcode: add functionality for sources created with a generator.Jussi Pakkanen1-16/+85
2021-04-14Xcode: do not process custom target outputs on targets they are not used in.Jussi Pakkanen1-6/+10
2021-04-14Xcode: add sanity check asserts.Jussi Pakkanen1-12/+26
2021-04-14Xcode: fix path of extracted objects in subdirs.Jussi Pakkanen1-1/+1
2021-04-14Xcode: use correct key for file id lookup.Jussi Pakkanen1-3/+5
2021-04-11Xcode: can generate object files with generators.Jussi Pakkanen1-0/+85
2021-04-11Xcode: fix setting up inlude args for source and build dirs.Jussi Pakkanen2-5/+18
2021-04-11Xcode: fix linking of static libs that link to other libs.Jussi Pakkanen1-6/+18
2021-04-11VS: Disable MSBuild warnings for always-generated targetsJesse Natalie1-2/+5
Without this, VS will generate warning MSB8065: Custom build for item "<path>\custom_target.rule" succeeded, but specified output "<path>\outofdate.file" has not been created. This may cause incremental build to work incorrectly.
2021-04-10Xcode: use common language options like std version.Jussi Pakkanen1-1/+3