CSAI Build Instructions: Difference between revisions
From Spring
Jump to navigationJump to search
Hughperkins (talk | contribs) First created |
Hughperkins (talk | contribs) →Building CSAI: noted that compiling only C# AI does not require C++ compiler |
||
| Line 2: | Line 2: | ||
CSAI is built using nant, the Microsoft Visual C++ 2003 compiler, and Framework .Net 1.1 | CSAI is built using nant, the Microsoft Visual C++ 2003 compiler, and Framework .Net 1.1 | ||
Note that if you only wish to modify the C# AI, ie the CSAI directory, you only need nant and the Framework .Net 1.1. You wont need the Visual C++ compiler or the platform SDK. | |||
nant requires the C++ compiler and platform SDK if you change a file in the CSAILoader or CSAIInterfaces directory. | |||
=== You will need === | === You will need === | ||
Revision as of 08:16, 24 October 2006
Building CSAI
CSAI is built using nant, the Microsoft Visual C++ 2003 compiler, and Framework .Net 1.1
Note that if you only wish to modify the C# AI, ie the CSAI directory, you only need nant and the Framework .Net 1.1. You wont need the Visual C++ compiler or the platform SDK.
nant requires the C++ compiler and platform SDK if you change a file in the CSAILoader or CSAIInterfaces directory.
You will need
- nant
- Framework .Net 1.1
- Visual C++ 2003 compiler
- Microsoft Platform SDK
- Spring
- Spring sourcecode
Build instructions
- open the msvcvars.bat cmd prompt and go to the CSharpAI directory
- open AllCSAI.build file with a text editor, and specify the locations of:
- spring (directory containing spring.exe)
- spring sourcecode
- Microsoft Platform SDK
- add nant to PATH
- type "nant" and press return
With everything configured ok, the dlls should build and be copied into the appropriate place in the Spring application directory tree.