wiki:GeneratingVisualStudio2003Project

Version 2 (modified by ilucena, 16 years ago) ( diff )

--

Microsoft Visual Studio 2003 and early version of that popular programming environment supports what is called “Makefile Projects”. That kind of project can carry complex file trees and the rules for building, re-building and clear the project. But in reality the file tree is just a convenience and the rules are merely a command line script to prepare calls to “nmake.exe”.

Features:

Code completion, IntelliSense, “Go to definition”, “Go to declaration” and step by step debugging works almost as good as in a regular Visual Studio Project.

How to use:

To use GDAL’s Visual Studio Makefile Projects you can load directly the projects file makegdal71.vcproj or makegdal80.vcproj if you are using Visual Studio 2003 or Visual Studio 2005 respectively.

Configuration

To change options, after opened the project, click on Solution Explorer tree item: makegdal/Make Files/nmake.opt and follow the same instruction as in the previous page.

Update

The .vcproj files are constantly updated but not automatically so it is possible that the file tree could be missing a new driver or a new utility source code in GDAL but that will not going to affect the compilation.

If you want to generate a updated version of the project file or if you want to generate project files to a newer version of Visual Studio you can run the batch script “makegdal_gen.bat “ as follows:

C:\Dev\gdal>makegdal_gen Usage: makegdal_gen "MS Visual C++ version" > makegdalNN.vcproj Examples:

makegdal_gen 7.10 > makegdal71.vcproj makegdal_gen 8.00 > makegdal80.vcproj

Note: See TracWiki for help on using the wiki.