Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added support to iosSimulator64Arm platform #108

Merged
merged 1 commit into from
May 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 23 additions & 3 deletions geojson/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ kotlin {
}
mingwX64("mingw")
macosX64("macos")
ios("ios")
iosArm64()
iosX64()
iosSimulatorArm64()

sourceSets {
all {
Expand Down Expand Up @@ -60,13 +62,11 @@ kotlin {

val nativeMain by getting {
getByName("macosMain").dependsOn(this)
getByName("iosMain").dependsOn(this)
getByName("mingwMain").dependsOn(this)
}

val nativeTest by getting {
getByName("macosTest").dependsOn(this)
getByName("iosTest").dependsOn(this)
getByName("mingwTest").dependsOn(this)
}

Expand All @@ -91,6 +91,26 @@ kotlin {
dependsOn(commonBench)
dependsOn(nativeMain)
}

val iosX64Main by getting
val iosArm64Main by getting
val iosSimulatorArm64Main by getting
val iosMain by creating {
dependsOn(nativeMain)
iosX64Main.dependsOn(this)
iosArm64Main.dependsOn(this)
iosSimulatorArm64Main.dependsOn(this)
}

val iosX64Test by getting
val iosArm64Test by getting
val iosSimulatorArm64Test by getting
val iosTest by creating {
dependsOn(nativeTest)
iosX64Test.dependsOn(this)
iosArm64Test.dependsOn(this)
iosSimulatorArm64Test.dependsOn(this)
}
}
}

Expand Down
24 changes: 21 additions & 3 deletions turf/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ kotlin {
linuxX64("native")
mingwX64("mingw")
macosX64("macos")
ios("ios")
iosArm64()
iosX64()
iosSimulatorArm64()

sourceSets["commonMain"].dependencies {
api(project(":geojson"))
Expand Down Expand Up @@ -53,13 +55,29 @@ kotlin {
sourceSets {
val nativeMain by getting {}
getByName("macosMain").dependsOn(nativeMain)
getByName("iosMain").dependsOn(nativeMain)
getByName("mingwMain").dependsOn(nativeMain)
val iosX64Main by getting
val iosArm64Main by getting
val iosSimulatorArm64Main by getting
val iosMain by creating {
dependsOn(nativeMain)
iosX64Main.dependsOn(this)
iosArm64Main.dependsOn(this)
iosSimulatorArm64Main.dependsOn(this)
}

val nativeTest by getting {}
getByName("macosTest").dependsOn(nativeTest)
getByName("iosTest").dependsOn(nativeTest)
getByName("mingwTest").dependsOn(nativeTest)
val iosX64Test by getting
val iosArm64Test by getting
val iosSimulatorArm64Test by getting
val iosTest by creating {
dependsOn(nativeTest)
iosX64Test.dependsOn(this)
iosArm64Test.dependsOn(this)
iosSimulatorArm64Test.dependsOn(this)
}

all {
with(languageSettings) {
Expand Down