summaryrefslogtreecommitdiff
path: root/mesonbuild/backend/xcodebackend.py
Commit message (Collapse)AuthorAgeFilesLines
...
* LGTM fix.xcodewarnoptJussi Pakkanen2021-04-051-1/+1
|
* Use warning args in the Xcode backend.Jussi Pakkanen2021-04-051-14/+18
|
* Use actual build type rather than hardcoding "debug".Jussi Pakkanen2021-04-051-14/+14
|
* Set debug info in the Xcode native way.Jussi Pakkanen2021-04-051-4/+2
|
* Set optimization level in the Xcode native way.Jussi Pakkanen2021-04-051-3/+11
|
* Refactor Xcode target generation to its own method.Jussi Pakkanen2021-04-051-116/+122
|
* Fix LGTM issues.xcoderefactorJussi Pakkanen2021-04-041-8/+5
|
* Move constant to module level.Jussi Pakkanen2021-04-041-19/+19
|
* Delete old implementation.Jussi Pakkanen2021-04-041-498/+47
|
* Add last few things we skipped.Jussi Pakkanen2021-04-041-2/+15
|
* Fix all the minor things that got broken.Jussi Pakkanen2021-04-041-35/+48
|
* Converted the last bit.Jussi Pakkanen2021-04-041-3/+35
|
* Convert build configuration.Jussi Pakkanen2021-04-041-3/+97
|
* Convert a few more.Jussi Pakkanen2021-04-041-11/+71
|
* Convert PBXGroup.Jussi Pakkanen2021-04-041-5/+72
|
* Convert a few more.Jussi Pakkanen2021-04-041-10/+51
|
* Reduce verbosity.Jussi Pakkanen2021-04-031-21/+27
|
* Convert one more object type and some scaffolding.Jussi Pakkanen2021-04-031-6/+73
|
* Start refactoring the xcode backend by creating proper classes for pbx ↵Jussi Pakkanen2021-04-031-5/+92
| | | | primitives.
* mass rewrite of string formatting to use f-strings everywhereEli Schwartz2021-03-041-34/+34
| | | | performed by running "pyupgrade --py36-plus" and committing the results
* xcode-backend: add implicit includesJeff Moguillansky2021-02-041-3/+7
| | | | | Move helper functions get_source_dir_include_args and get_build_dir_include_args to backend base class
* xcode-backend: set global link argsJeff Moguillansky2021-02-041-0/+3
|
* xcode-backend: fix include pathsJeff Moguillansky2021-02-041-1/+2
| | | | | Add project directory as include path Add include paths from dependencies for all languages (c, c++, objc, objc++)
* build: add function get_build_targets to Build classJeff Moguillansky2021-01-301-33/+33
| | | | | | | | Add function to Build class to get targets of type BuildTarget Update xcode backend to call get_build_targets when iterating over targets. This resolves crash in xcode backend when using custom targets: AttributeError: ‘CustomTarget’ object has no attribute ‘objects’
* xcode-backend: fix include pathsJeff Moguillansky2021-01-281-0/+3
| | | | Add include paths from dependencies
* split mesonlib into a packageDylan Baker2021-01-231-1/+1
| | | | | | | | | | | | | | | | | | Currently mesonlib does some import tricks to figure out whether it needs to use windows or posix specific functions. This is a little hacky, but works fine. However, the way the typing stubs are implemented for the msvcrt and fnctl modules will cause mypy to fail on the other platform, since the functions are not implemented. To aleviate this (and for slightly cleaner design), I've split mesonlib into a pacakge with three modules. A universal module contains all of the platform agnositc code, a win32 module contains window specific code, a posix module contains the posix specific code, and a platform module contains no-op implementations. Then the package's __init__ file imports all of the universal functions and all of the functions from the approriate platform module, or the no-op versions as fallbacks. This makes mypy happy, and avoids `if`ing all over the code to switch between the platform specific code.
* Use a single coredata dictionary for optionsDylan Baker2021-01-041-1/+1
| | | | | | | This patches takes the options work to it's logical conclusion: A single flat dictionary of OptionKey: UserOptions. This allows us to simplify a large number of cases, as we don't need to check if an option is in this dict or that one (or any of 5 or 6, actually).
* Fixed using files object in subdir with xcode backendOskar Sigvardsson2020-10-041-1/+1
| | | | | Fixes bug #589. When generating string from file object, it didn't take subdir into account.
* backend: refactor: set self.interpreter in the constructorDaniel Mensinger2020-01-281-4/+5
|
* xcode 64 bit for catalina [skip ci]Michael Hirsch, Ph.D2019-10-181-1/+1
|
* xcodebackend: Fix iterating compilers after host/build changesDylan Baker2019-06-301-1/+1
| | | | Fixes #5570
* Purge `is_cross` and friends without changing user interfacesJohn Ericson2019-06-091-2/+2
| | | | | | | | | | | | In most cases instead pass `for_machine`, the name of the relevant machines (what compilers target, what targets run on, etc). This allows us to use the cross code path in the native case, deduplicating the code. As one can see, environment got bigger as more information is kept structured there, while ninjabackend got a smaller. Overall a few amount of lines were added, but the hope is what's added is a lot simpler than what's removed.
* Fixed unnecessary .items()Daniel Mensinger2019-04-291-2/+2
|
* Fix unused variables warningsDaniel Mensinger2019-04-291-2/+2
|
* Don't use len() to test for container emptinessDylan Baker2019-04-251-2/+2
| | | | | | I ran the numbers once before (it's in the meson history) but it's *much* faster to *not* use len for testing if a container is empty or not.
* xcode backend: Add target dependency link argsDavid Vanderson2019-02-241-0/+2
|
* Pass arguments from in xcode projectsGuillermo Ignacio Enriquez Gutierrez2018-10-081-4/+7
|
* Xcode project now supports assembly filesGuillermo Ignacio Enriquez Gutierrez2018-10-081-1/+7
|
* Fix Xcode backend: Add build dir to SYSTEM_HEADER_SEARCH_PATHS so generated ↵Guillermo Ignacio Enriquez Gutierrez2018-10-011-8/+22
| | | | headers can be included/imported in sources
* Fix Xcode backend: support for precompiled headers. Only one header per ↵Guillermo Ignacio Enriquez Gutierrez2018-09-251-6/+11
| | | | target is supported
* Partially fix targets that use precompiled header with --backend=xcode. ↵Guillermo Ignacio Enriquez Gutierrez2018-09-241-0/+15
| | | | Various compiled headers are not working yet [skip ci]
* Sort some objects before writing as Xcode expects [skip ci]Guillermo Ignacio Enriquez Gutierrez2018-09-241-38/+45
|
* Fix `build --backend=xcode` (#4220)Guillermo Ignacio Enriquez Gutierrez2018-09-191-23/+33
| | | | | | | | * Fix exception when running * Fix xcode project typos, indentation and other minor aesthetics diffs * Use tab code \t instead of real tab
* Fix shared library building on xcode.Jukka Laurila2018-03-121-1/+1
|
* Fix xcode backend to run "meson test" instead of the nonexistent meson_test.py.Jukka Laurila2018-03-091-3/+1
|
* Fix flake8 'imported but unused' reportsJon Turney2018-03-031-1/+1
| | | | | | | | | | | | | | | | $ flake8 | grep F401 ./meson.py:17:1: F401 'mesonbuild.mesonlib' imported but unused ./meson.py:18:1: F401 'locale' imported but unused ./run_unittests.py:24:1: F401 'sys' imported but unused ./mesonbuild/minit.py:2:1: F401 'pyclbr.Function' imported but unused ./mesonbuild/minit.py:18:1: F401 'os' imported but unused ./mesonbuild/backend/vs2010backend.py:15:1: F401 'sys' imported but unused ./mesonbuild/backend/xcodebackend.py:19:1: F401 'sys' imported but unused ./mesonbuild/dependencies/ui.py:20:1: F401 'shutil' imported but unused ./mesonbuild/modules/python3.py:15:1: F401 'sys' imported but unused ./mesonbuild/modules/unstable_icestorm.py:15:1: F401 '..compilers' imported but unused ./mesonbuild/modules/unstable_icestorm.py:15:1: F401 '..mlog' imported but unused ./test cases/common/98 gen extra/srcgen3.py:3:1: F401 'os' imported but unused
* Use os.path: basename() and dirname() instead of split()Aleksey Filippov2018-01-301-1/+1
| | | | | | | | | | | | According to Python documentation[1] dirname and basename are defined as follows: os.path.dirname() = os.path.split()[0] os.path.basename() = os.path.split()[1] For the purpose of better readability split() is replaced by appropriate function if only one part of returned tuple is used. [1]: https://docs.python.org/3/library/os.path.html#os.path.split
* Review fixes.Jussi Pakkanen2017-11-211-1/+1
|
* Replaced sys.executable use with the mesonlib equivalent.Jussi Pakkanen2017-11-201-1/+1
|
* Removed consecutive identical variable assignments.Jussi Pakkanen2017-07-161-1/+0
|