BuildingOnWindows.wiki
changeset 212 d47acc7f7185
parent 195 a4eb962ff8a3
child 266 76e82a7897f1
--- a/BuildingOnWindows.wiki	Mon Mar 26 18:57:19 2012 +0000
+++ b/BuildingOnWindows.wiki	Tue Apr 03 09:35:20 2012 +0000
@@ -17,7 +17,7 @@
    * Link (OS 32 bits): http://mercurial.selenic.com/release/windows/Mercurial-2.0.2.exe
    * Link (OS 64 bits): http://mercurial.selenic.com/release/windows/Mercurial-2.0.2-x64.exe
  # _Windows building archive_ - it contains everything you need to compile Hedgewars on Windows.
-   * Link: http://hedgewars.org/download/hedgewars-win32-buildscripts.zip
+   * Link: http://hedgewars.googlecode.com/files/hedgewars-win32-buildscripts.zip
 
 = Setup =
  # Install CMake, but please *ensure* you select "Add CMake to the system PATH for all users", so you can run CMake directly from command line.
@@ -54,5 +54,16 @@
  # You can now build hedgewars, by running the *tools/build_windows.bat* command.
  # After building it, you can run it from the Desktop - using the *Hedgewars* shortcut.
 
+= Additional Setup for Visual Studio 2010 =
+To build Hedgewars using Visual Studio 2010, you will need to update a few SDL files using this zip file (http://hedgewars.googlecode.com/files/hedgewars-VS2010-additional.zip). Just download and overwrite it into your currect hedgewars project folder. This is mainly an update to SDL_mixer (updating it to version 1.2.12), and changing the SDLconfig.h file to work with the sperate platform headers instead of the current one.
+
+Next you will need to change some project settings. If you don't have the SDL directives set correctly in CMake then your project files will be incorect (they still may be incorrect even if you did get them set right). You need to change the following Project Settings for the 'hedgewars' project.
+ # Make sure that under C/C++ => Additional Include Directories you have \hedgewars\misc\winutils\include\.
+ # Change the Linker => Input => Additional Dependencies option to have the following at the end:
+  * \hedgewars\misc\winutils\lib\SDL.lib
+  * \hedgewars\misc\winutils\lib\SDLmain.lib
+  * \hedgewars\misc\winutils\lib\SDL_mixer.lib
+ # Adjust the Output Directory under the General settings to be just \hedgewars\bin\.
+
 = Building process =
 Run the *tools/build_windows.bat* file each time you want to build the source. Please note that there might some incompatibilities with the environment paths of this script in case that you are running MinSYS or Cygwin: we are quite confident that if you use such software you're quite able to correctly set up any paths.
\ No newline at end of file