上游 · Kotlin compiler options · Native
-generate-test-runner (-tr)
Produce an application for running unit tests from the project.
-generate-no-exit-test-runner (-trn)
Produce an application for running unit tests without an explicit process exit.
-include-binary path (-ib path )
Pack external binary within the generated klib file.
-library path (-l path )
Link with the library. To learn about using libraries in Kotlin/native projects, see Kotlin/Native libraries .
-library-version version (-lv version )
Set the library version.
-linker-option…