title: Using cmake on windows for c++
body: <p>for around 5 consecutive days i have been trying to set up my computer with the c++ environment for programming with libraries such as sdl,glm,opengl. its important for us to be able to run it on unix machines on presentations so im running with cmake.
  i finally got it to work with the cmake-gui, i wont even bother trying anymore with any IDE.</p>
  
  <p>i specified my folder project and where to build the binaries, i got a folder "CMakeFiles" along with a txt "CMakeCache", a CMAKE file "cmake_install.cmake" and a file "Makefile". also in my folder "CMakeFiles" there are lots of other folders such as "CMakeTmp", "CompilerIdC", "CompilerIdCXX etc" and in both folders "Compiler*" has each an .exe which doesnt work! so where is my wanted executable?</p>
  
  <p>i opened cmd and navigated to my folder and tried to write "make" as we are supposed to do according to the intruction. alas, it didnt work very well. hoping you could share your wisdom and help a newbie like me!</p>
  
  <p><strong>so what exactly is needed for compiling projects containing additional libraries? so far i have a compiler, Mingw32, the latest CMake and using the cmake-gui for extracting the binaries but gets makefiles.</strong></p>
  
  <p>EDIT:
  hrrm. is it only me who gets these kind of problems? i can add that i have look thorough about 10 tutorials and 90% of the steps are similar (if compiling with VS which i tried at first):</p>
  
  <ul>
  <li>Download latest SDL</li>
  <li>Make a folder on e.g C:\SDL with two folders, include and lib</li>
  <li>Copy the libs and includes from the downloaded SDL</li>
  <li>Make new VS project, open VC++ directories and add lib/incl folder on e.g C:\SDL</li>
  <li>Add to linker SDL.lib and SDLmain.lib (i made sure they got linked, no problem here)</li>
  <li>Change system to WINDOWS (optional if you dont want two windows)</li>
  <li>Added include to "additional libraries"</li>
  <li>Put the SDL.dll file (which i got from the latest SDL) in my C:\windows\system32(64SysWoW)
  and also in my project file.</li>
  </ul>
  
  <p>so what i am actually looking for is gettning the CMake to work, since it generates and builds sources successfully (with the gui) and i feel im closing in. <strong>do i need to add any additional libraries from sdl to my compiler mingw32 and/or cmake?</strong></p>