Rev 213 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
// $Id: README_MSVC 258 2006-08-15 11:39:34Z bj $
//
Building instructions for GEL under Visual Studio 7.1 and 8 (2003 and 2005)
1. Project configuration
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.
More info on MPC can be found on:
http://www.ociweb.com/products/mpc
2. Subsetting
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.
3. Build Configurations
Each project contain three configurations: Debug, Release and
Install. Debug and Release have the usual functionality, while Install
is special.
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)
The environment variables should be the paths where all 3rd party lib and
header files are stored (like /usr/local/ on a *NIX system)
IMPORTANT!!! Under Visual Studio 8 the following preprocessor defenition must be made to all projects using GEL, including GEL!!:
Under debug configuration goto:
'properties -> C/C++ -> Preprocessor'. Set the following two properties/definitions in 'Preprocessor Defenitions' '_SECURE_SCL=0' and '_HAS_ITERATOR_DEBUGGING=0'
Under Release and all other configurations goto:
'properties -> C/C++ -> Preprocessor'. Set the following property/defenition in 'Preprocessor Defenitions' '_SECURE_SCL=0'