Jarod42
71a1db029c
Fix openmp for xcode.
2022-06-10 18:17:34 +02:00
Chad Engler
065b3acb2f
Improve external include & warning support
2022-01-03 08:31:44 -08:00
Renaud Guillard
1ce82af4d9
xcode4: Fix missing link of sibling project with custom targetextension
...
When a node category cannot be determined by extension,
use the configuration kind when available.
Add unit test to illustrate the case.
2021-06-28 15:51:39 +02:00
Nicholaus Clark
076b9684af
Renormalized line endings in the repository
2021-06-23 20:03:18 -04:00
tempura-sukiyaki
38458a3624
Sort buildinputs
and buildoutputs
on xcode4 ( #1631 )
...
* Sort `buildinputs` and `buildoutputs` on xcode4
* Fix `buildinputs` and `buildoutputs` for Xcode4
2021-06-07 18:03:59 -04:00
starkos
efd2ab50ba
Merge pull request #1619 from nickgravelyn/xcode-embed-libraries
...
Xcode embed libraries
2021-04-19 11:01:51 -04:00
Renaud Guillard
24b2b4abdd
Runpathdirs improvements ( #1538 )
...
* Add mode argument ot toolset.getrunpathdirs()
* Add config.getsiblingtargetdirs()
* Delegate automatic addition of sibling target dirs as run path search paths to actions
* Simplify gcc.getrunpathdirs()
* Restore previous behavior in gmake & gmake2 actions
* Add xcode.getToolSet()
Use clang as default, gcc on MacOS X 10.6 and lower
* runpathdirs support in xcode4 action
Translate runpathdirs to LD_RUNPATH_SEARCH_PATHS Xcode setting
Co-authored-by: Renaud Guillard <renaud@depinxi.be>
2021-04-19 10:58:36 -04:00
Nick Gravelyn
626eedbc46
Split xcodeembedlibraries into embed and embedAndSign
2021-04-16 07:51:01 -07:00
Nick Gravelyn
4ed74246b5
Add xcodeembedlibraries command
2021-04-16 07:51:01 -07:00
Nick Gravelyn
0e93130442
Allow .dylib extension in links for Xcode
...
When entries in links are specified with an extension we treat them
like frameworks for the most part. They are placed into the
Frameworks group and added to the Frameworks build phase. We do have
separate logic for the file reference, only because we never want to
resolve a .dylib link to the /System/Frameworks directory. Instead
we assume a .dylib link that is just a file name, e.g. 'libA.dylib',
is relative to the project the same way as if it were prefixed with
'./'.
2021-04-16 07:51:01 -07:00
Renaud Guillard
dfb93e1640
xcode4 sysincludedirs support update
...
* Use the new Xcode 9+ setting SYSTEM_HEADER_SEARCH_PATHS settings instead of HEADER_SEARCH_PATHS
* Update test
2020-10-23 09:59:04 +02:00
Renaud Guillard
5d06e68d45
xcode4 syslibdirs support
...
* Merge libdirs and syslibdirs to LIBRARY_SEARCH_PATHS setting
* Add test
2020-10-23 09:58:34 +02:00
nickclark2016
9379f284ee
Added C++1z and C++2a dialect options for XCode
2020-09-26 11:35:19 -04:00
Nick Gravelyn
78941e415b
Add Metal shader files as source code
...
Xcode generally puts these in the Resources category so that's what I've
done, but I don't know if that's strictly necessary.
2020-09-13 11:11:40 -07:00
Rafael Lecina
8a37c05075
Add swift tests
2020-08-06 01:07:08 +02:00
sp-rafael-lecina
68f8e9547e
Merge branch 'master' into recognize-swift-files-as-source-code
2020-07-30 22:42:44 +02:00
Rafael Lecina
5dfb248a53
Revert change to use single value settings specific format for xcode
2020-07-30 22:41:33 +02:00
Sam Surtees
926c7982de
Improved ability to override XCode generator
...
- Removed unused function
2020-07-10 23:49:05 +10:00
Rafael Lecina
3468be5982
Add support for .swift file extension on xcode_common.lua
...
Add support for setting swiftversion
2020-07-07 11:30:07 +02:00
Ethan Wallace
acda348b4b
Added new 'warning' levels
...
Added new warning level "Everything" which turns on all available
compiler warnings. Updated "High" and "Extra" to reflect actual
differences in emitted compiler flags.
2020-06-19 14:09:14 -04:00
nickclark2016
4a627cc764
Add C++20 cppdialect for C++ projects
2020-06-01 19:49:55 -04:00
Sam Surtees
a4bba42013
Added support for Objective-C and Objective-C++ in xcode and gmake2
...
- Added unit tests for Objective-C and Objective-C++
2020-03-31 18:14:26 +10:00
Chad Engler
92888e8c33
Add .c++ to a few spots it was missing
2020-03-27 18:50:41 -07:00
starkos
ed92aba9c2
Remove commands optimization which breaks tokens
...
When a build command contains a token which references a configuration, ex. `{cfg.platform}`, the platform optimizations removed by this commit would cause a crash: "Attempt to index a nil value (global 'cfg')".
Fixes #1013
2020-02-13 20:04:24 -05:00
starkos
1692363fd9
Allow wildcards in xcodebuildresources
2019-10-21 07:20:06 -04:00
Paul
73805ea2db
On OSX, convert systemversion to MACOSX_DEPLOYMENT_TARGET
...
Per the discussion in issue #1336 , if systemversion is set
output MACOSX_DEPLOYMENT_TARGET into the resulting xcode project.
This borrows a diff from the (unmerged) PR #1003 , applies it
in isolation, and adds a pair of unit tests to confirm that both
setting and not setting the systemversion results in correct
output.
Closes #1336
2019-09-22 08:06:19 -04:00
Ben Ratzlaff
b17b17a71d
Increase determinism by using relative paths as input to xcode.newid
...
Update unit tests with hashcode instead of overridden xcode.newid implementation
2019-03-13 19:57:41 -07:00
Joshua Bodine
0d928d6093
Implemented the startproject option for xcode by copying the functionality from vs2005.
2019-02-06 21:02:26 -07:00
Sam Surtees
ab02e3c4f8
Fixed issue with per-configuration build commands not returning errors correctly
2019-01-21 20:04:31 +10:00
Samuel Surtees
1d469fc518
Merge pull request #1067 from ratzlaff/xcode_debugformat
...
Add 'Default', 'Dwarf' and 'SplitDwarf' arguments to 'debugformat'
2019-01-11 12:59:39 +10:00
Ross Brackstone
c0ceb0f26d
Added support & tests for XCTest sharedlibtype
2019-01-09 14:12:44 +10:00
Ben Ratzlaff
da90c1ffd0
Add 'Default', 'Dwarf' and 'SplitDwarf' inputs to 'debugformat'
2018-11-17 18:45:08 -07:00
Ben Ratzlaff
ce6ff58da2
Add tests for xcode id generator
2018-11-12 21:27:24 -07:00
tempura-sukiyaki
d269416923
fix options.os
and os.systemTags
for ios suppot
2018-10-18 21:13:56 +09:00
tempura-sukiyaki
5cffdc4f6b
Add os.ios
option in xcode4
2018-10-18 18:52:35 +09:00
tempura-sukiyaki
9122554c08
fix xcodebuildsettings
using false
2018-10-17 21:18:03 +09:00
tempura-sukiyaki
30fd3e990e
Add support for per-file custom build commands in xcode4
2018-09-10 20:28:37 +09:00
tempura-sukiyaki
5a9880ef26
Add xcodesystemcapabilities
in xcode4
2018-09-06 18:57:47 +09:00
Jordi Vilalta Prat
043eaaf290
Merge branch 'master' into fix/xcode-autocompletion
2018-08-22 11:42:59 +02:00
Jordi Vilalta Prat
2724cf672b
Use p.warn() instead of print()
2018-08-22 11:41:37 +02:00
tempura-sukiyaki
fd49222a82
Add support kind:Utility
in xcode4
2018-08-01 17:31:10 +09:00
tempura-sukiyaki
3f1f44eca8
Add sharedlibtype
in xcode4
2018-07-31 20:52:59 +09:00
tempura-sukiyaki
d9b03e790a
Add targetextension
test in xcode4
2018-07-31 18:32:25 +09:00
tempura-sukiyaki
b89eef55c9
Fix targetextension
in xcode4
...
Add support for ConsoleApp.
2018-07-31 15:51:59 +09:00
Jordi Vilalta Prat
6af506bbfa
Merge branch 'master' into fix/xcode-autocompletion
2018-06-15 10:44:17 +02:00
Jordi Vilalta Prat
97e3a07c1c
Don't add a file to a target if it isn't built on any configuration
...
Without this, files are added to the exclude list on all configurations,
which disables autocompletion on Xcode. If a file is just excluded in
some configurations it's handled the old way.
2018-06-15 10:36:35 +02:00
Erin Catto
958217828d
Removed invalid comment
2018-06-03 10:02:37 -07:00
Erin Catto
4c8a14f71f
Fixed Xcode test
2018-05-31 21:54:29 -07:00
Erin Catto
6da758cdd7
Xcode Fixes
...
Fix cppdialect=C++11
Fix angle bracket include complaints
2018-05-31 21:00:15 -07:00
Ben Ratzlaff
be3742dd2a
Get 'compileas' working when using a 'filter "files: ..."' scope.
2018-05-28 15:17:04 -07:00