libsdl-org / SDL

Simple Directmedia Layer
https://libsdl.org
zlib License
9.61k stars 1.78k forks source link

CMake config needs too much time #9951

Open fknfilewalker opened 4 months ago

fknfilewalker commented 4 months ago

When using SDL through cmake it takes very long to config. Is there some way to speed that up. I think most of the time is spend on the CLIB part. I tried SDL2 and SDL3 and both take very long...

olekolek1000 commented 4 months ago

Are you using windows + CMake? It tends to be quite slow compared to other operating systems

fknfilewalker commented 3 months ago

Yes. Interestingly when generating vs solutions it takes very long to check all libc functions, but withing visual studio code it is much faster. With msvc you can turn of libc and you safe some time but on macos, turning off libc results in compile errors.