Commit Graph

40 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Tom van Dijck
7af2817869 [core] Use 'cdialect' and 'cppdialect' instead of 'language'. 2017-05-03 17:05:11 -07:00
Sam Surtees
b251234b27 Cleaned up inconsistencies in whitespace 2017-04-26 03:40:43 +10:00
Sam Surtees
fa3328440e Increased consistency of p. usage 2017-04-25 16:41:30 +10:00
Jason Perkins
d1f5c333b0 Clean up the deprecated APIs
- Add "Use … instead." messages to any deprecations that did not have one
- Change deprecation date on APIs without a message to current date
- Remove APIs that have been deprecated for more than a year

h/t to @samsinsane for original PR on which this is based (#741)
2017-04-13 15:37:49 -04:00
Tom van Dijck
d285fa68a6 Refactor language flags to go through the language API.
So you can use 'language "C++11"' instead of 'flags { "C++11" }'
2017-04-11 12:43:58 -07:00
Joshua Bodine
34c844e14b String literals passed to defines() must be escaped for Xcode. 2017-01-21 18:52:01 -07:00
Jason Perkins
e2e2841fc7 Fix out-of-date sources in the Xcode module
I must not have been on the latest revision when I merged the Xcode module into core. This catches things back up to the state of the submodule repository.
2016-12-06 13:52:20 -05:00
Jason Perkins
af7b674265 Move core modules into main repository; drop submodules
As discussed numerous times, get rid of the submodule approach for core modules and just included the sources directly in the main repository.

I have no idea how this will play with existing working copies. It might be necessary to [manually clear out the existing submodules](http://stackoverflow.com/questions/1260748) first.
2016-11-09 14:29:33 -05:00