# kotlin-kmp-native-wizard **Repository Path**: aohanhongzhi/kmp-native-wizard ## Basic Information - **Project Name**: kotlin-kmp-native-wizard - **Description**: https://kotlinlang.org/docs/native-get-started.html - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: feature/kotlin-call-cpp - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-06-04 - **Last Updated**: 2025-05-05 ## Categories & Tags **Categories**: Uncategorized **Tags**: Kotlin ## README [![official JetBrains project](https://jb.gg/badges/official-plastic.svg)](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub) [![Kotlin](https://img.shields.io/badge/Kotlin-1.9.20-blue.svg?style=flat&logo=kotlin)](https://kotlinlang.org) # Kotlin/Native Template A mostly-empty template to get started creating a Kotlin/Native project. ## Getting Started 1. On the project page, click on the `Use this template` button 2. Click on the `Create a new repository` drop-down item 3. Fill in the details of the new repository you'll be creating under your account 4. Click the `Create repository` button 5. Browse to your repository and make the needed changes there. ## Code of conduct Please read [our code of conduct](https://github.com/jetbrains#code-of-conduct). ## License This project is licensed under the Apache 2.0 License - see the [LICENSE.md](LICENSE.md) file for details # 编译 https://kotlinlang.org/docs/native-get-started.html ## 工程模板 https://github.com/Kotlin/kmp-native-wizard ubuntu 二进制大小就6MB,还可以。 windows 下二进制仅有1.94MB macbook 下二进制仅有1.8MB ![img.png](img.png) ![img_1.png](img_1.png) ![](Snipaste_2024-06-04_21-54-56.png) # 实际项目 https://github.com/Kotlin/kdoctor/ # kotlin 调用 C https://kotlinlang.org/docs/native-c-interop.html#basic-interop-types https://blog.csdn.net/sinat_17133389/article/details/134907522 https://www.youtube.com/watch?v=yVOrbjrfC7M&list=PLSrm9z4zp4mFwug3OIZnL9Fq_txkIhNJc&index=10 ![img_2.png](kotlin-call-cpp.png) ![img_2.png](ide-gradle-sync.png) ![img_2.png](ide-auto-compile.png) # fleet ![](assets/fleet-run.png)