Skip to content

Commit 43486e9

Browse files
committed
Added compilation of C sources with kotlin embedded clang
1 parent c4a0bf6 commit 43486e9

File tree

19 files changed

+2401
-40
lines changed

19 files changed

+2401
-40
lines changed

buildSrc/build.gradle.kts

Lines changed: 0 additions & 17 deletions
This file was deleted.

core/build.gradle.kts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
import org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi
2-
import pl.lemanski.kotlin.compile.GreetingPluginExtension
32

43
plugins {
54
alias(libs.plugins.kotlinMultiplatform)
65
id("maven-publish")
7-
id("pl.lemanski.kotlin.compile")
86
}
97

108
group = "pl.lemanski.pandamidi"
@@ -49,8 +47,4 @@ publishing {
4947
repositories {
5048
mavenLocal()
5149
}
52-
}
53-
54-
configure<GreetingPluginExtension> {
55-
message = "Hello from GreetingPlugin!"
5650
}

native/include/mwc/midi_wav_converter.h

Lines changed: 0 additions & 9 deletions
This file was deleted.
File renamed without changes.

native/lib/libmwc.a

-53.4 KB
Binary file not shown.

native/lib/libtsf.a

4.85 KB
Binary file not shown.

native/libmwc.def

Lines changed: 0 additions & 4 deletions
This file was deleted.

native/libtsf.def

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
package = tinySoundFont
22
headerFilter = "tsf/*"
3-
headers = tsf/tsf.h
4-
staticLibraries.mingw_x64 = libmwc.a
3+
headers = tsf/tsfCInterop.h
4+
staticLibraries.mingw_x64 = libtsf.a

native/src/tsf.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#define TSF_IMPLEMENTATION
2+
#include "tsf.h"
3+
4+
// stub

0 commit comments

Comments
 (0)