nikolaymetchev
01/26/2020, 11:30 AMrusshwolf
01/26/2020, 2:08 PMnikolaymetchev
01/26/2020, 2:17 PMrusshwolf
01/26/2020, 2:23 PMnikolaymetchev
01/27/2020, 9:54 AMnikolaymetchev
01/27/2020, 9:54 AMbuildscript {
repositories {
maven(url = "<http://dl.bintray.com/kotlin/kotlin-eap>")
}
}
plugins {
kotlin("multiplatform") version "1.3.70-eap-42"
}
repositories {
mavenCentral()
maven(url = "<http://dl.bintray.com/kotlin/kotlin-eap>")
}
kotlin {
// For ARM, should be changed to iosArm32 or iosArm64
// For Linux, should be changed to e.g. linuxX64
// For MacOS, should be changed to e.g. macosX64
// For Windows, should be changed to e.g. mingwX64
mingwX64("mingw") {
binaries {
executable {
// Change to specify fully qualified name of your application's entry point:
entryPoint = "poker.main"
// Specify command-line arguments, if necessary:
runTask?.args("")
}
}
}
sourceSets {
// Note: To enable common source sets please comment out 'kotlin.import.noCommonSourceSets' property
// in gradle.properties file and re-import your project in IDE.
mingwX64("mingw").compilations["main"].defaultSourceSet { /* ... */ }
mingwX64("mingw").compilations["main"].cinterops {
create("cl") {
defFile = project.rootDir.resolve("src").resolve("cl").resolve("cl.def")
compilerOpts.add("-ID:/Dev/lightOCLSDK/include")
compilerOpts.add("-msse4.2")
}
}
mingwX64("mingw").compilations["test"].defaultSourceSet {
dependencies {
implementation(kotlin("stdlib"))
}
}
}
}
// Use the following Gradle tasks to run your application:
// :runReleaseExecutableMingw - without debug symbols
// :runDebugExecutableMingw - with debug symbols