PDA

View Full Version : [How To] Use Cmake with MaNGOS [Windows]



Nevermoreftw
27-02-11, 07:33 AM
Hey guys.... I noticed that many of the ppz who havent worked with Cmake have big problems with using it. My guide will 100% Help you! So just follow the steps:

Tools and programs you will need:
1.Cmake Download (http://www.cmake.org/cmake/resources/software.html)
2.Microsoft Visual Studio C++ 2010 Download (http://www.microsoft.com/visualstudio/en-us/)
3.Microsft Red C++ 2008 Download (http://www.microsoft.com/downloads/en/details.aspx?FamilyID=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&displaylang=en)
4.Microsft Red C++ 2010 Download (http://www.microsoft.com/downloads/en/details.aspx?FamilyID=a7b7a05e-6de6-4d3a-a423-37bf0912db84)
5.OpenSSL - Download (http://unioncore.googlecode.com/files/Win32OpenSSL-1_0_0b.exe)
6.NetFrame Work - Download (http://www.microsoft.com/downloads/en/details.aspx?FamilyId=333325FD-AE52-4E35-B531-508D977D32A6&displaylang=en)

After Installing all the crap, and pulling the source open Cmake.

http://img535.imageshack.us/img535/5290/76514627.png
1.Choose where is your pulled source
2.Go to C:\Program Files and create folder "MaNGOS"
3.Now go back to Cmake
4.Choose where to be placed the new source, which you will use with visual studio.
5.Click Configure and choose Visual Studio 10
6.After finishing the proccess, click again Configure
7.Now Generate

So thats its it... go to the dir where you choosed for the source and Run "MaNGOS.sln"

http://img14.imageshack.us/img14/8812/52031245.png

Torak Firenze
27-02-11, 11:48 AM
Sick. Am keen to try this out! :)

Nevermoreftw
27-02-11, 03:46 PM
thx ... yeap :P it will defently help you

Wortex
01-03-11, 01:00 AM
Somewhat, I think there's an easier solution:
1. Download everything from the main post.
2. Run "createprojects.bat" in the default mangos source folder.

Nevermoreftw
01-03-11, 05:56 PM
It doesnt work for me, and Cmake is more sure. Anyways ok :)

Dimman
05-03-11, 08:14 PM
+r (fillz)

Nevermoreftw
06-03-11, 04:00 AM
thx :)