source: branches/testScripts/INSTALL @ 761

Last change on this file since 761 was 749, checked in by jpfasano, 12 years ago

Added comments on setting INCLUDE environment variable to build OS.

  • Property svn:eol-style set to native
File size: 2.6 KB
Line 
1INSTALL for NightlyBuild
2
3To adapt NightlyBuild for your system, it is proposed to follow the following steps:
4Copy the file NBuserParametersDefault.py to the file NBuserParameters.ny and adapt it to your preferences.
5The NightlyBuild system executes first NBuserParametersDefault.py to get default values for all parameters.
6Afterwards NBuserParameters.ny is executed to overwrite parameter values with user-specific ones.
7In NBuserParameters.ny you can specify:
8- the directory where the projects will be downloaded and built
9- the list of projects to built
10- the build types to built
11- additional flags for the configure call that might be specific to your system (compiler setting,...)
12- the name of a file where logging messages should go to
13- information about the sending of email, e.g., should emails be send, your mail address, SMTP server, ...
14
15Please read the comments in NBuserParametersDefault.ny about detailed information which settings can be made and how they are specified.
16To get things running properly, you will need to specify at least information about the sending of emails.
17
18To build on Windows using the Microsoft compiler and the COIN-OR project supplied solution
19files (.sln) the following hints may be useful:
20- Subversion needs to be installed and runnable from a dos window command line.
21  The following subversion install file has worked for this:
22  http://subversion.tigris.org/files/documents/15/39559/svn-1.4.5-setup.exe
23- Python needs to be installed and runnable from a dos window command line.
24- The environment variables for accessing the microsoft compiler must be setup.
25  Microsoft provides a script to do this:
26  Microsoft Visual Studio 8\Common7\Tools\vsvars32.bat
27- The LIB environment variable needs to be set to the location of some MS provided
28  libraries.  The following commands have been used to achieve this:
29  set LIB=E:\Microsoft Platform SDK for Windows Server 2003 R2\Lib
30  set LIB=E:\Microsoft Visual Studio 8\VC\lib;%LIB%
31- To build OS, the INCLUDE environment variable needs to be set to the location of some MS provided
32  headers.  The following commands have been used to achieve this:
33  set INCLUDE=E:\Microsoft Platform SDK for Windows Server 2003 R2\Include;%INCLUDE%
34
35
36- A summary of the commands that have worked to start nightlyBuild for a DOS window
37  are:
38    "E:\Microsoft Visual Studio 8\Common7\Tools\vsvars32.bat"
39    set LIB=E:\Microsoft Platform SDK for Windows Server 2003 R2\Lib
40    set LIB=E:\Microsoft Visual Studio 8\VC\lib;%LIB%
41    set INCLUDE=E:\Microsoft Platform SDK for Windows Server 2003 R2\Include;%INCLUDE%
42    f:
43    cd \testScripts\
44    nightlyBuild.py
45
Note: See TracBrowser for help on using the repository browser.