From e6c17f49449b39b6da3a2b8fc1d7d7e2691894ce Mon Sep 17 00:00:00 2001 From: Ilya Matveev Date: Thu, 14 Mar 2019 16:05:56 +0700 Subject: [PATCH] Mention composite build against detached shared in README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 130351c619e..f72a408d87e 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,13 @@ against it, use the `kotlinProjectPath` project property: ./gradlew dist -PkotlinProjectPath=path/to/kotlin/project +To include [Kotlin/Native Shared](https://github.com/JetBrains/kotlin-native-shared) in a composite build and build against +it, use the `sharedProjectPath` project property: + + ./gradlew dist -PsharedProjectPath=path/to/kotlin/native/shared + +It's possible to include in a composite build both Kotlin compiler and Kotlin/Native Shared simultaneously. + After that, you should be able to compile your programs like this: export PATH=./dist/bin:$PATH