Commit Graph

84 Commits

Author SHA1 Message Date
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
Thomas Desveaux
da3915d30d Merge remote-tracking branch 'origin/master' into omit-frame-pointer 2018-04-16 19:30:28 +02:00
thomas desveaux
b21b43aa92 Update XCode module to new omitframepointer API 2018-04-15 18:09:08 +02:00
Sam Surtees
15426309b3 Fixed issue with floatingpoint "Strict" causing errors in XCode 2018-04-15 22:25:27 +10:00
Thomas Desveaux
6ad87a76c1 Implement unsignedchar for xcode 2018-04-10 21:54:51 +02:00
Samuel Surtees
5348773851
Merge pull request #952 from tempura-sukiyaki/xcode4-targetextension
Add support for `targetextension` in xcode4
2018-03-24 16:29:47 +10:00
Tom van Dijck
c92c7a595e Improve determinism in sln output. 2017-11-30 09:39:17 -08:00
tempura-sukiyaki
1c65a141b0 Add support for targetextension in xcode4 2017-11-29 00:44:00 +09:00
huulong
23f4242448 Move c(pp) language standard definitions outside Xcode functions 2017-09-29 21:55:57 +02:00
huulong
c9ea228366 Fix c(pp)dialect generating uppercase C(++)xx in Xcode build configuration, replace gnu99 with explicit compiler default 2017-09-20 22:29:41 +02:00
Sam Surtees
98a14ff624 Added basic iOS support to XCode4 2017-08-31 02:56:41 +10:00