Please give instructions to set up CLion for using SDL2 library.I am fairly new to CLion and this is also my first time with a full-fledged IDE, so I have very little experience. I am currently learning SDL2 and therefore need to set it up. I have absolutely no clue where to start from.
I have CLion with latest mingw but I do not know which of these to download SDL2-devel-2.0.3-VC.zip (Visual C++ 32/64-bit)
SDL2-devel-2.0.3-mingw.tar.gz (MinGW 32/64-bit) since Clion also uses CMake (like visual c++).
How do I edit the CMakeList? Please help.