title: Compiling project with makefile in CMake
body: <p>I've got ahold of some code which is supposed to be compiled on Linux, but I want it running on Windows. I've got a makefile looking like this:</p>
  <pre><code>server: main.o timerclass.o entityclass.o zoneclass.o networkclass.o systemclass.o
      g++ -o server main.o timerclass.o entityclass.o zoneclass.o networkclass.o systemclass.o -pthread
  
  main.o: main.cpp
      g++ -c main.cpp
  
  timerclass.o: timerclass.cpp
      g++ -c timerclass.cpp
  
  entityclass.o: entityclass.cpp
      g++ -c entityclass.cpp
  
  zoneclass.o: zoneclass.cpp
      g++ -c zoneclass.cpp
  
  networkclass.o: networkclass.cpp
      g++ -c networkclass.cpp
  
  systemclass.o: systemclass.cpp
      g++ -c systemclass.cpp
  </code></pre>
  <p>How would I compile this is cmake?</p>