Subversion Repositories gelsvn

Rev

Rev 288 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 288 Rev 393
1
// $Id: README_MSVC 288 2006-09-26 09:25:27Z bj $
1
// $Id: README_MSVC 288 2006-09-26 09:25:27Z bj $
2
//
2
//
3
Building instructions for GEL under Visual Studio 7.1 and 8 (2003 and 2005)
3
Building instructions for GEL under Visual Studio 7.1 and 8 (2003 and 2005)
4
 
4
 
5
1. Project configuration
5
1. Project configuration
6
 
6
 
7
We use MPC to maintain .sln and .vcproj files, since the format of these files changes with each new version of Visual studio. The average GEL-user need not bother with this, since .bat files have been created to ease the use. 
7
We use MPC to maintain .sln and .vcproj files, since the format of these files changes with each new version of Visual studio. The average GEL-user need not bother with this, since .bat files have been created to ease the use. 
8
 
8
 
9
More info on MPC can be found on:
9
More info on MPC can be found on:
10
http://www.ociweb.com/products/mpc
10
http://www.ociweb.com/products/mpc
11
 
11
 
12
2. Subsetting
12
2. Subsetting
13
 
13
 
14
The use of MPC allows relatively easy creation of subsets of GEL. An example subset is created using MPC and the Perl script makefiles/CGLA.pl which deletes all non-CGLA source code from GEL.
14
The use of MPC allows relatively easy creation of subsets of GEL. An example subset is created using MPC and the Perl script makefiles/CGLA.pl which deletes all non-CGLA source code from GEL.
15
 
15
 
16
3. Build Configurations
16
3. Build Configurations
17
 
17
 
18
Each project contain four configurations: Debug, Release, Install_Debug and Install. Debug and Release have the usual functionality, while Install_Debug and Install are special:
18
Each project contain four configurations: Debug, Release, Install_Debug and Install. Debug and Release have the usual functionality, while Install_Debug and Install are special:
19
 
19
 
20
We assume, that once GEL is installed, it should be used without adding the source and header files to the particular project. Therefore we install GEL in an outside directory defined by the environment variables GEL_INCLUDE, GEL_LIB and GEL_BIN. In the configuration, this is done by setting the Target Directory to $(GEL_LIB), and, as a post-build event, all header files are copied to $(GEL_INCLUDE). This is done by the the Install_Debug and Install build configurations
20
We assume, that once GEL is installed, it should be used without adding the source and header files to the particular project. Therefore we install GEL in an outside directory defined by the environment variables GEL_INCLUDE, GEL_LIB and GEL_BIN. In the configuration, this is done by setting the Target Directory to $(GEL_LIB), and, as a post-build event, all header files are copied to $(GEL_INCLUDE). This is done by the the Install_Debug and Install build configurations
21
 
21
 
22
The environment variables should be the paths where all 3rd party lib and
22
The environment variables should be the paths where all 3rd party lib and
23
header files are stored (like /usr/local/ on a *NIX system) 
23
header files are stored (like /usr/local/ on a *NIX system) 
24
 
24
 
25
 
25
 
26
 
26
 
27
 
27