Add a note on static linking

This commit is contained in:
Michael Campagnaro 2023-11-21 14:35:41 -05:00
parent c202b30d19
commit 2991b0e92c

View File

@ -1,3 +1,9 @@
// Jon said: "Static linking for runtime is actually the default (even if there is a dll). no_dll means you can't call it at compile-time because a dll is necessary for the compiler to load."
// The lib that is created with the DLL is
// just a stub lib. If you want static linking without any need for a DLL then
// build an actual static lib and use #library,no_static_library
// @incomplete I'm probably doing something wrong below, so review the above and play around with it.
AT_COMPILE_TIME :: true;
COMPILE :: true; // Enable to compile the miniaudio library from source before generating bindings.
COMPILE_DEBUG :: false; // Compile a debug or release version of miniaudio