diff options
| author | ruki <[email protected]> | 2025-02-13 23:23:19 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-02-13 23:23:19 +0800 |
| commit | 5073a4a7a6a80fef383d22f503c76e2dbadc80ac (patch) | |
| tree | 66b5ab6c4f6c99ee44e8baf44281fda205164cc0 /tests/projects | |
| parent | 452cfe7f8803f4c9fd110a80058b03e975b09e30 (diff) | |
add kotlin-native test
Diffstat (limited to 'tests/projects')
| -rw-r--r-- | tests/projects/kotlin-native/console/src/main.kt | 3 | ||||
| -rw-r--r-- | tests/projects/kotlin-native/console/xmake.lua | 7 |
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/projects/kotlin-native/console/src/main.kt b/tests/projects/kotlin-native/console/src/main.kt new file mode 100644 index 000000000..543f5ac8f --- /dev/null +++ b/tests/projects/kotlin-native/console/src/main.kt @@ -0,0 +1,3 @@ +fun main() { + println("hello xmake!") +} diff --git a/tests/projects/kotlin-native/console/xmake.lua b/tests/projects/kotlin-native/console/xmake.lua new file mode 100644 index 000000000..81211d52d --- /dev/null +++ b/tests/projects/kotlin-native/console/xmake.lua @@ -0,0 +1,7 @@ +add_rules("mode.debug", "mode.release") +add_requires("kotlin-native") +target("test") + set_kind("binary") + add_files("src/*.kt") + set_toolchains("@kotlin-native") + |
