Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- added ability to use static SDL2 library
This is intended for developers only, e.g. for testing SDL backend on macOS
- Loading branch information
1 parent
442f953
commit 1bc67cf
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I think this may be the second time I've seen something like this since FModule was added. Does
FModuleMaybe<!SDL_STATIC_LIBRARY>
(see gtk_dialogs.cpp) for example not work here? Or did I just do a bad job at documenting how to use the library? The point of FModule was to remove as much of the boilerplate as possible and that included toggling between static and dynamic linkage.