I am trying to build SDL2-2.0.8 on Windows with clang-cl, Ninja.
Unfortunately it seems like that shipped CMake scripts with SDL2 are
false detecting my compiler and trying to treat it as GCC or simple Clang.
With MSVC it builds and works. Has anyone else run into the same problem?
Are there solutions to this ?
[build] clang-cl.exe: warning: unknown argument ignored in clang-cl: ‘-idirafter’ [-Wunknown-argument]
[build] clang-cl.exe: error: cannot specify ‘/Fo_deps\sdl2-build\CMakeFiles\SDL2-static.dir\src\dynapi\SDL_dynapi.c.obj’ when compiling multiple source files
Thanks in advance!