Subversion Repositories gelsvn

Rev

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

Rev 114 Rev 202
-
 
1
// $Id: README_MSVC 202 2005-12-19 08:39:17Z bj $
-
 
2
//
-
 
3
Building instructions for GEL under Visual Studio 7.1 and 8 (2003 and 2005)
-
 
4
 
-
 
5
1. Project configuration
-
 
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. 
-
 
8
 
-
 
9
More info on MPC can be found on:
-
 
10
http://www.ociweb.com/products/mpc
-
 
11
 
-
 
12
Note that Perl must be installed to use MPC.
-
 
13
 
1
// author : bj
14
2. Subsetting
-
 
15
 
2
Building instructions for GEL under Visual Studio 7.1
16
The use of MPC allows relatively easy creation of subsets of GEL. An example subset is created using the file build_vc71_solution_CGLA.bat creates the subset .sln and vcproj files using MPC and the Perl script makefiles/CGLA.pl which deletes all non-CGLA source code from GEL.
-
 
17
 
-
 
18
3. Build Configurations
3
 
19
 
4
Each project contain three configurations: Debug, Release and
20
Each project contain three configurations: Debug, Release and
5
Install. Debug and Release have the usual functionality, while Install
21
Install. Debug and Release have the usual functionality, while Install
6
is special.
22
is special.
7
 
23
 
8
We assume, that once GEL is installed, it should be used without
24
We assume, that once GEL is installed, it should be used without
9
adding the source and header files to the particular project. 
25
adding the source and header files to the particular project. 
10
 
26
 
11
Therefore we install GEL in an outside directory defined by the
27
Therefore we install GEL in an outside directory defined by the
12
environment variable GELEXT. In the configuration, this is done by
28
environment variable GELEXT. In the configuration, this is done by
13
setting the Target Directory to  
29
setting the Target Directory to  
14
$(GELEXT)\lib\windows
30
$(GELEXT)\lib\windows
15
 
31
 
16
and, as a post-build event, all header files are copied to 
32
and, as a post-build event, all header files are copied to 
17
$(GELEXt)\include 
33
$(GELEXt)\include 
18
 
34
 
19
The GELEXT variable should be the path where all 3rd party lib and
35
The GELEXT variable should be the path where all 3rd party lib and
20
header files are stored (like /usr/local/ on a *NIX system) 
36
header files are stored (like /usr/local/ on a *NIX system) 
21
 
37
 
22
 
38
 
23
 
39