corrects samples/tetris/sdl.def link (#696)
This commit is contained in:
committed by
Nikolay Igotti
parent
f40e4898f0
commit
73ce4348f2
@@ -36,11 +36,11 @@ For some tests, use:
|
|||||||
./gradlew backend.native:tests:run
|
./gradlew backend.native:tests:run
|
||||||
|
|
||||||
To generate interoperability stubs create library definition file
|
To generate interoperability stubs create library definition file
|
||||||
(take a look on [`samples/tetris/sdl.def`](https://github.com/JetBrains/kotlin-native/blob/master/samples/tetris/sdl.def)) and run `cinterop` tool like this:
|
(take a look on [`samples/tetris/.../sdl.def`](https://github.com/JetBrains/kotlin-native/blob/master/samples/tetris/src/main/c_interop/sdl.def)) and run `cinterop` tool like this:
|
||||||
|
|
||||||
cinterop -def lib.def
|
cinterop -def lib.def
|
||||||
|
|
||||||
See provided [samples](https://github.com/JetBrains/kotlin-native/tree/master/samples) and [`INTEROP.md`](https://github.com/JetBrains/kotlin-native/blob/master/INTEROP.md) for more details.
|
See provided [samples](https://github.com/JetBrains/kotlin-native/tree/master/samples) and [`INTEROP.md`](https://github.com/JetBrains/kotlin-native/blob/master/INTEROP.md) for more details.
|
||||||
|
|
||||||
Interop tool generates library in .klib library format, see [`LIBRARIES.md`](https://github.com/JetBrains/kotlin-native/blob/master/LIBRARIES.md)
|
Interop tool generates library in .klib library format, see [`LIBRARIES.md`](https://github.com/JetBrains/kotlin-native/blob/master/LIBRARIES.md)
|
||||||
for more details on the file format.
|
for more details on the file format.
|
||||||
|
|||||||
Reference in New Issue
Block a user