mercurialeclipse.eclipselabs.org.codespot.com/hg.wiki/update_site/stable Install MercurialEclipse / MercurialEclipse & Windows Binaries for MercurialEclipse. Restart Eclipse, you can now manage a mercurial repository within Eclipse . Getting source and building applicationClonign Mercurial RepositoryGo to New > Project... then choose Mercurial > Clone existing Mercurial Repository Let fill correct values, as shown below : Image Modified Click Next. Wait a few seconds, then choose the branch you want to use. Click Next then click FInish. You have now a new project into your eclipse IDE. Change C++ settings to build itChange project's natureNow, you have a project, let's say to Eclipse that it is a C++ one. Go to File > New > Other... Under C++ category, choose : Convert to a C/C++ Project (Add C/C++ Nature) On following window, just choose C++ as type, executable one, and MinGW GCC as toolchain. You are prompted to open "C++ perspective", just say yes. A perspective in eclipse is just a set of usefull windows, depending on language your are using. Icon beside project name should now looks like this : Image Modified Now, you have to add a target to your project, in order to laucnh cmake command, that will generate Makefile. After first build, CMake generation will be launched automatically if one of the CMakeLists.txt is modified, but you will have to launch it manually if you add or remove a file. Right click on your project, select "Make Targets", then "Create". Fill like shown below (adapt path to your one, is this example, my project is wowmodelviewe_hg, in path c:\Users\jerome\eclipse_wp\, and building dir is CMakeBuild) : Image Modified You can now launch Cmake generation inside eclipse : type "shift + F9", select previously created, then click "build". Last step to be able to compile WoW Model Viewer inside Eclipse : create a build target corresponding to our environment. Right click on your project, then select properties. Fill opened windows like shown below : Image Modified In this window, replace wowmodelviewer_hg by your project name. Click Apply, then OK. Go to Project menu, then Build Project. WoW Model Viewer is now built in your computer, resulting compilation can be found in WoWModelViewer folder in your project. |