Subversion Repositories gelsvn

Rev

Rev 258 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 258 Rev 288
Line 1... Line 1...
1
// $Id: README_MSVC 258 2006-08-15 11:39:34Z 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
 
Line 13... Line 13...
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 three configurations: Debug, Release and
-
 
19
Install. Debug and Release have the usual functionality, while Install
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:
20
is special.
-
 
21
 
-
 
22
We assume, that once GEL is installed, it should be used without
-
 
23
adding the source and header files to the particular project. 
-
 
24
 
-
 
25
Therefore we install GEL in an outside directory defined by the
-
 
26
environment variables GEL_INCLUDE, GEL_LIB and GEL_BIN. In the configuration, this is done by
-
 
27
setting the Target Directory to $(GEL_LIB)
-
 
28
 
19
 
29
and, as a post-build event, all header files are copied to 
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
30
$(GEL_INCLUDE) 
-
 
31
 
21
 
32
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
33
header files are stored (like /usr/local/ on a *NIX system) 
23
header files are stored (like /usr/local/ on a *NIX system) 
34
 
24
 
35
 
25
 
36
IMPORTANT!!! Under Visual Studio 8 the following preprocessor defenition must be made to all projects using GEL, including GEL!!:
-
 
37
Under debug configuration goto:
-
 
38
'properties -> C/C++ -> Preprocessor'. Set the following two properties/definitions in 'Preprocessor Defenitions' '_SECURE_SCL=0' and '_HAS_ITERATOR_DEBUGGING=0'
-
 
39
Under Release and all other configurations goto:
-
 
40
'properties -> C/C++ -> Preprocessor'. Set the following  property/defenition in 'Preprocessor Defenitions' '_SECURE_SCL=0' 
-
 
41
 
-
 
42
 
26