1 | INSTALL for NightlyBuild |
---|
2 | |
---|
3 | To adapt NightlyBuild for your system, it is proposed to follow the following steps: |
---|
4 | Copy the file NBuserParametersDefault.py to the file NBuserParameters.ny and adapt it to your preferences. |
---|
5 | The NightlyBuild system executes first NBuserParametersDefault.py to get default values for all parameters. |
---|
6 | Afterwards NBuserParameters.ny is executed to overwrite parameter values with user-specific ones. |
---|
7 | In 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 | |
---|
15 | Please read the comments in NBuserParametersDefault.ny about detailed information which settings can be made and how they are specified. |
---|
16 | To get things running properly, you will need to specify at least information about the sending of emails. |
---|
17 | |
---|
18 | To build on Windows using the Microsoft compiler and the COIN-OR project supplied solution |
---|
19 | files (.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 | |
---|
32 | - A summary of the commands that have worked to start nightlyBuild for a DOS window |
---|
33 | are: |
---|
34 | "E:\Microsoft Visual Studio 8\Common7\Tools\vsvars32.bat" |
---|
35 | set LIB=E:\Microsoft Platform SDK for Windows Server 2003 R2\Lib |
---|
36 | set LIB=E:\Microsoft Visual Studio 8\VC\lib;%LIB% |
---|
37 | f: |
---|
38 | cd \testScripts\ |
---|
39 | nightlyBuild.py |
---|
40 | |
---|