summaryrefslogtreecommitdiff
path: root/mesonbuild/backend/xcodebackend.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Whitespace tweaks to reduce Flake8 warningsAlistair Thomas2017-05-291-3/+3
|
* xcode-backend framework fixesblackbox2017-05-231-28/+28
| | | | - frameworks-per-target ( each needs its own uid )
* codestyleblackbox2017-05-231-13/+10
|
* remove debug-markerblackbox2017-05-231-1/+1
|
* XCode frameworks supportblackbox2017-05-231-2/+82
| | | | | | | | | - supported as "Link with Libraries". - Frameworks added as a group to the project - no need to specify custom linker flags anymore, xcodeproj works just like ninja example mason.build file : dep_main += [dependency('appleframeworks', modules : ['Foundation', 'AppKit', 'IOKIT', 'QuartzCore', 'OpenGL', 'GLUT', 'OpenAL'], required : true)]
* Use American English - 'ise' -> 'ize' where applicablePeter Hutterer2017-05-041-1/+1
|
* style: [E502] the backslash is redundant between bracketsMike Sinkovsky2017-01-111-1/+1
|
* style: fix E124 violationsIgor Gnatenko2017-01-011-1/+1
| | | | | | E124: closing bracket does not match visual indentation Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
* style: fix E226 violationsIgor Gnatenko2017-01-011-1/+1
| | | | | | E226: missing whitespace around arithmetic operator Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
* style: fix E225 violationsIgor Gnatenko2017-01-011-67/+67
| | | | | | E225: missing whitespace around operator Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
* Fix space before :.Jussi Pakkanen2016-12-311-20/+21
|
* Skip shared module test on VS because it fails for some reason nobody ↵Jussi Pakkanen2016-12-071-0/+1
| | | | understands.
* Use context manager for file I/O.Elliott Sales de Andrade2016-08-271-20/+16
| | | | | There are a few cases where a context manager cannot be used, such as the logger.
* Overhaul versioning and naming of librariesNirbheek Chauhan2016-07-011-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit contains several changes to the naming and versioning of shared and static libraries. The details are documented at: https://github.com/mesonbuild/meson/pull/417 Here's a brief summary: * The results of binary and compiler detection via environment functions are now cached so that they can be called repeatedly without performance penalty. This is necessary because every build.SharedLibrary object has to know whether the compiler is MSVC or not (output filenames depend on that), and so the compiler detection has to be called for each object instantiation. * Linux shared libraries don't always have a library version. Sometimes only soversions are specified (and vice-versa), so support both. * Don't use versioned filenames when generating DLLs, DLLs are never versioned using the suffix in the way that .so libraries are. Hence, they don't use "aliases". Only Linux shared libraries use those. * OS X dylibs do not use filename aliases at all. They only use the soversion in the dylib name (libfoo.X.dylib), and that's it. If there's no soversion specified, the dylib is called libfoo.dylib. Further versioning in dylibs is supposed to be done with the -current_version argument to clang, but this is TBD. https://developer.apple.com/library/mac/documentation/DeveloperTools/Conceptual/DynamicLibraries/100-Articles/DynamicLibraryDesignGuidelines.html#//apple_ref/doc/uid/TP40002013-SW23 * Install DLLs into bindir and import libraries into libdir * Static libraries are now always called libfoo.a, even with MSVC * .lib import libraries are always generated when building with MSVC * .dll.a import libraries are always generated when building with MinGW/GCC or MinGW/clang * TODO: Use dlltool if available to generate .dll.a when .lib is generated and vice-versa. * Library and executable suffix/prefixes are now always correctly overriden by the values of the 'name_prefix' and 'name_suffix' keyword arguments.
* backends: Don't duplicate test setup data file nameNirbheek Chauhan2016-04-151-4/+3
| | | | | | Instead, return the values of the test and benchmark setup data files so that the ninja/osx/vs backends can use those filenames instead of hard-coding them.
* Move MesonException from coredata to mesonlib.Hemmo Nieminen2016-04-011-1/+1
|
* Fix Xcode backendRogiel Sulzbach2016-02-251-14/+21
| | | | | | | | This makes the following changes: * Explicitly closes the file for force flushing (this fixes an issue on which the last 2 or 3 lines weren't being written to disk) * Adds another check on the PBXBuildFile stage to get the file name if the returned source type is a File instead of a string Fixes issue #337
* Moved backends to their own module.Jussi Pakkanen2016-01-231-0/+776