Files
kotlin-fork/Interop
Svyatoslav Scherbina f8d54fc8f7 Interop: extract constants defined as (preprocessor) macros
Support all macros extending to integer and floating-point constant expressions.

Also do some refactoring.
2017-02-21 16:42:14 +07:00
..

Kotlin-native interop

Usage

Create file ../gradle.properties with contents:

llvmInstallPath=/path/to/llvm

Create a Gradle subproject somewhere under ../, using ../InteropExample as a template.

To generate the interop stubs and libraries and build all sources you can run the following command from ../:

./gradlew InteropExample:build

To run the example (if 'application' plugin is enabled):

./gradlew InteropExample:run