Small doc updates
This commit is contained in:
+3
-3
@@ -46,9 +46,9 @@ between threads are allowed.
|
|||||||
|
|
||||||
Download Kotlin N redistributable and unpack it. You can run command line compiler with
|
Download Kotlin N redistributable and unpack it. You can run command line compiler with
|
||||||
|
|
||||||
./dist/bin/kotlinc <some_file>.kt <dir_with_kt_files> -o <executable>.kexe
|
bin/kotlinc <some_file>.kt <dir_with_kt_files> -o <executable>.kexe
|
||||||
|
|
||||||
During the first run it will download all external dependencies such as LLVM.
|
During the first run it will download all the external dependencies, such as LLVM.
|
||||||
|
|
||||||
One may use `'-h'` flag to `kotlinc` to see available flags.
|
One may use `'-h'` flag to `kotlinc` to see available flags.
|
||||||
|
|
||||||
@@ -81,4 +81,4 @@ Notice that property delegation (including lazy properties) *does* work.
|
|||||||
|
|
||||||
Due to significant difference in exception handling model on MS Windows and
|
Due to significant difference in exception handling model on MS Windows and
|
||||||
other LLVM targets, current _Kotlin N_ may not produce executables working on
|
other LLVM targets, current _Kotlin N_ may not produce executables working on
|
||||||
MS Windows. This situation could be improved in upcoming releases.
|
MS Windows. This situation could be improved in upcoming releases.
|
||||||
|
|||||||
@@ -0,0 +1,12 @@
|
|||||||
|
# OpenGL application
|
||||||
|
|
||||||
|
This example shows interaction with OpenGL library, to render classical 3D test model.
|
||||||
|
|
||||||
|
To build use `./build.sh` script without arguments (or specify `TARGET` variable if cross-compiling).
|
||||||
|
|
||||||
|
To run use
|
||||||
|
|
||||||
|
./OpenGlTeapot.kexe
|
||||||
|
|
||||||
|
It will render 3D model of teapot. Feel free to experiment with it, the whole power of OpenGL
|
||||||
|
is at your hands.
|
||||||
@@ -0,0 +1,18 @@
|
|||||||
|
# Sockets demo
|
||||||
|
|
||||||
|
Compile the echo server (in EAP only supported on Mac host):
|
||||||
|
|
||||||
|
./build.sh
|
||||||
|
|
||||||
|
Run the server:
|
||||||
|
|
||||||
|
./EchoServer.kexe 3000 &
|
||||||
|
|
||||||
|
Test the server by conecting to it, for example with telnet:
|
||||||
|
|
||||||
|
telnet localhost 3000
|
||||||
|
|
||||||
|
Write something to console and watch server echoing it back.
|
||||||
|
|
||||||
|
~~Quit telnet by pressing ctrl+] ctrl+D~~
|
||||||
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
#Tetris game
|
# Tetris game
|
||||||
|
|
||||||
This example shows implementation of simple Tetris game using SDL
|
This example shows implementation of simple Tetris game using SDL
|
||||||
(Simple DirectMedia Layer) library for rendering. SDL allows easy development
|
(Simple DirectMedia Layer) library for rendering. SDL allows easy development
|
||||||
|
|||||||
Reference in New Issue
Block a user