Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
A
atbuild
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
AnarchyTools
atbuild
Commits
238b651a
Commit
238b651a
authored
May 12, 2016
by
Drew
3
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #99 from AnarchyTools/ios-framework
Update our framework atllbuild option for iOS
parents
20703c64
ae27be5c
Pipeline
#1906
passed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
attools/src/atllbuild.swift
attools/src/atllbuild.swift
+10
-2
No files found.
attools/src/atllbuild.swift
View file @
238b651a
...
...
@@ -406,12 +406,20 @@ final class ATllbuild : Tool {
if
task
[
Options
.
Framework
.
rawValue
]?
.
bool
==
true
{
#if !os(OSX)
fatalError
(
"
\(
Options
.
Framework
.
rawValue
)
is not supported on this
platform
."
)
fatalError
(
"
\(
Options
.
Framework
.
rawValue
)
is not supported on this
host
."
)
#endif
linkOptions
.
append
(
"-Xlinker"
)
linkOptions
.
append
(
"-install_name"
)
linkOptions
.
append
(
"-Xlinker"
)
linkOptions
.
append
(
"@rpath/
\(
name
)
.framework/Versions/A/
\(
name
)
"
)
switch
(
Platform
.
targetPlatform
)
{
case
.
OSX
:
linkOptions
.
append
(
"@rpath/
\(
name
)
.framework/Versions/A/
\(
name
)
"
)
case
.
iOS
(
let
arch
):
linkOptions
.
append
(
"@rpath/
\(
name
)
.framework/
\(
name
)
"
)
default
:
fatalError
(
"
\(
Options
.
Framework
.
rawValue
)
not supported when targeting
\(
Platform
.
targetPlatform
)
"
)
}
}
if
let
umbrellaHeader
=
task
[
Options
.
UmbrellaHeader
.
rawValue
]?
.
string
{
...
...
Drew
@drewcrawford
mentioned in commit
f78bbb0c
·
May 12, 2016
mentioned in commit
f78bbb0c
mentioned in commit f78bbb0c9ea5f60436c1e00815f0f874ba45df83
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment