Skip to content

Commit

Permalink
build: extra targets temporarily removed to speed up compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
morisil committed Sep 11, 2024
1 parent e66060c commit 10c0db7
Show file tree
Hide file tree
Showing 3 changed files with 94 additions and 67 deletions.
51 changes: 39 additions & 12 deletions xemantic-osc-ableton/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,21 +20,48 @@ kotlin {

explicitApi()

jvm {}

jvm()
// // iOS
// iosX64()
// iosArm64()
// iosSimulatorArm64()
//
// // Desktop
// mingwX64()
linuxX64()
// linuxArm64()
// macosX64()
// macosArm64()
//
// // other apple
// watchosSimulatorArm64()
// watchosX64()
// watchosArm32()
// watchosArm64()
// tvosSimulatorArm64()
// tvosX64()
// tvosArm64()
// watchosDeviceArm64()
//
// // other android
// androidNativeArm32()
// androidNativeArm64()
// androidNativeX86()
// androidNativeX64()
//
// // Web
js {
browser {}
browser()
nodejs()
}

val hostOs = System.getProperty("os.name")
val isMingwX64 = hostOs.startsWith("Windows")
@Suppress("UNUSED_VARIABLE")
val nativeTarget = when {
hostOs == "Mac OS X" -> macosX64()
hostOs == "Linux" -> linuxX64()
isMingwX64 -> mingwX64()
else -> throw GradleException("Host OS is not supported in Kotlin/Native.")
}
// @Suppress("OPT_IN_USAGE")
// wasmJs {
// // To build distributions for and run tests use one or several of:
// browser()
// nodejs()
// //d8()
// }

sourceSets {

Expand Down
56 changes: 28 additions & 28 deletions xemantic-osc-api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,34 +23,34 @@ kotlin {

jvm {}

// iOS
iosX64()
iosArm64()
iosSimulatorArm64()

// Desktop
mingwX64()
linuxX64()
linuxArm64()
macosX64()
macosArm64()

// other apple
watchosSimulatorArm64()
watchosX64()
watchosArm32()
watchosArm64()
tvosSimulatorArm64()
tvosX64()
tvosArm64()
watchosDeviceArm64()

// other android
androidNativeArm32()
androidNativeArm64()
androidNativeX86()
androidNativeX64()

// // iOS
// iosX64()
// iosArm64()
// iosSimulatorArm64()
//
// // Desktop
// mingwX64()
linuxX64()
// linuxArm64()
// macosX64()
// macosArm64()
//
// // other apple
// watchosSimulatorArm64()
// watchosX64()
// watchosArm32()
// watchosArm64()
// tvosSimulatorArm64()
// tvosX64()
// tvosArm64()
// watchosDeviceArm64()
//
// // other android
// androidNativeArm32()
// androidNativeArm64()
// androidNativeX86()
// androidNativeX64()
//
// Web
js {
browser()
Expand Down
54 changes: 27 additions & 27 deletions xemantic-osc-collections/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,33 +22,33 @@ kotlin {

jvm {}

// iOS
iosX64()
iosArm64()
iosSimulatorArm64()

// Desktop
mingwX64()
linuxX64()
linuxArm64()
macosX64()
macosArm64()

// other apple
watchosSimulatorArm64()
watchosX64()
watchosArm32()
watchosArm64()
tvosSimulatorArm64()
tvosX64()
tvosArm64()
watchosDeviceArm64()

// other android
androidNativeArm32()
androidNativeArm64()
androidNativeX86()
androidNativeX64()
// // iOS
// iosX64()
// iosArm64()
// iosSimulatorArm64()
//
// // Desktop
// mingwX64()
linuxX64()
// linuxArm64()
// macosX64()
// macosArm64()
//
// // other apple
// watchosSimulatorArm64()
// watchosX64()
// watchosArm32()
// watchosArm64()
// tvosSimulatorArm64()
// tvosX64()
// tvosArm64()
// watchosDeviceArm64()
//
// // other android
// androidNativeArm32()
// androidNativeArm64()
// androidNativeX86()
// androidNativeX64()

// Web
js {
Expand Down

0 comments on commit 10c0db7

Please sign in to comment.