Skip to content

Commit 076b930

Browse files
Fix KDMAPI build
1 parent bd6d5a9 commit 076b930

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

.github/workflows/deploy.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -217,10 +217,7 @@ jobs:
217217
- name: Create draft release
218218
uses: softprops/action-gh-release@v1
219219
with:
220-
generate_release_notes: true
221-
append_body: true
222220
body: |
223-
224221
## Files
225222
- `.so`, `.dylib` and `.dll` files are part of the C/C++ API release of XSynth for each platform and architecture
226223
- `xsynth.h` is the header file to be used with the libraries mentioned above

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
- [`soundfonts`](https://github.com/BlackMIDIDevs/xsynth/tree/master/soundfonts): A module to parse soundfonts to be used in XSynth.
99
- [`realtime`](https://github.com/BlackMIDIDevs/xsynth/tree/master/realtime): The real-time rendering module within XSynth.
1010
- [`render`](https://github.com/BlackMIDIDevs/xsynth/tree/master/render): A command line utility for rendering MIDIs to audio using XSynth.
11+
- [`kdmapi`](https://github.com/BlackMIDIDevs/xsynth/tree/master/render): A cdylib wrapper around XSynth to act as a drop in replacement for OmniMIDI/KDMAPI.
1112

1213
## Demos
1314

kdmapi/build.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
fn main() {
22
if cfg!(windows) {
33
// Building on Windows
4-
println!("cargo:rustc-cdylib-link-arg=/DEF:Ordinals.def")
4+
println!("cargo:rustc-cdylib-link-arg=/DEF:kdmapi/Ordinals.def")
55
} else if std::env::var_os("CARGO_CFG_WINDOWS").is_some() {
66
// Cross building for Windows
7-
println!("cargo:rustc-cdylib-link-arg=Ordinals.def")
7+
println!("cargo:rustc-cdylib-link-arg=kdmapi/Ordinals.def")
88
}
99
}

0 commit comments

Comments
 (0)