On Mon, Dec 29, 2008 at 2:33 PM, Ben Lambrechts <
[email protected]> wrote:

>  Could you (indeed everyone that builds on Windows) review the
>> documentation in WINDOWS?
>
>
> HOWTO build GNU Go for windows using CMake and MS Visual Studio
>
> Download and install CMake
> http://www.cmake.org/
>
> Run CMake
> locate the source code
> choose a location for the project files (this can be the same directory)
>
> Press Configure and choose your Visual Studio version from the next screen
> + OK
> CMake gives a message about CMake version => OK
>
> Press Configure again => CMake gives a message about CMake version => OK
> This clears the version message
>
> Press OK => CMake gives another message about CMake version => OK
> You now find the project files in the folder you specified before
>
> Open the GNUGo solution in Visual Studio
> set gnugo as StartUp Project (right-click on it, and select "Set as StartUp
> Project")
>
> Build the solution (Choose "Build Solution" from Build menu)
> Compiler generates a lot warnings, ignore these.
>
> In the directory where you made the project files:
> You find your build in the directory interface\Release (or interface\Debug
> if you were debugging)
>

If you add "CMAKE_MINIMUM_REQUIRED(VERSION 2.6)" as first line in
CMakeLists.txt then you don't get the version messages : then the
instructions are:

 Run CMake
locate the source code
choose a location for the project files (this can be the same directory)

Press Configure and choose your Visual Studio version from the next screen +
OK
Press Configure again
Press OK

You now find the project files in the folder you specified before
Open the GNUGo solution in Visual Studio
set gnugo as StartUp Project (right-click on it, and select "Set as StartUp
Project")

Build the solution (Choose "Build Solution" from Build menu)
Compiler generates a lot warnings, ignore these.

In the directory where you made the project files:
You find your build in the directory interface\Release (or interface\Debug
if you were debugging)
_______________________________________________
gnugo-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnugo-devel

Reply via email to