Changes between Version 11 and Version 12 of GeneratingVisualStudio2003Project


Ignore:
Timestamp:
Feb 16, 2017, 2:01:13 PM (7 years ago)
Author:
Mateusz Łoskot
Comment:

Deprecate content

Legend:

Unmodified
Added
Removed
Modified
  • GeneratingVisualStudio2003Project

    v11 v12  
    1 = What is =
    2 
    3 Microsoft Visual Studio 2003 and newer versions of that popular programming environment support what is called "Makefile Project". That kind of project can carry complex file trees and the rules for building, re-building and cleaning the project but in reality the file tree is just a convenience to access code and the rules are merely a set of commands to prepare calls to execute the makefiles supported by the GDAL maintainers [wiki:BuildingOnWindows (see previous page)].
    4 
    5 = Features =
    6 
    7 Code completion, IntelliSense, "Go to definition”, "Go to declaration" and step by step debugging works almost as well as in a regular Visual Studio Project.
    8 
    9 = How to use =
    10 
    11 To use GDAL’s Visual Studio Makefile Projects you can use "File/Open/Project..." to load directly makegdal71.vcproj or makegdal80.vcproj for Visual Studio 2003 and 2005 respectively. Then check the configuration and select one of the build option from the "Build" menu.
    12 
    13 Note: You can also add those projects to existing Visual Studio Solution.
    14 
    15 = Configuration =
    16 
    17 To change GDAL build options open and edit "nmake.opt" from "Solution Explorer/makegdal/Make Files/nmake.opt" and follow the instruction in the [wiki:BuildingOnWindows previous page].
    18 
    19 You can change the calls to "nmake" by opening and editing "Project Properties/NMake".
    20 
    21 You can either change the debugging option on "Project Properties/Debugging".
    22 
    23 = Update =
    24 
    25 The .vcproj files are not updated automatically so it is possible that the file tree could be missing a new driver or a new utility source code in GDAL (that will not affect the compilation) but 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 do it yourself by running the batch script “makegdal_gen.bat “ as follows:
    26 
    27 {{{
    28 C:\Dev\gdal>makegdal_gen
    29 Usage: makegdal_gen "MS Visual C++ version" > makegdalNN.vcproj
    30 Examples:
    31    makegdal_gen 7.10 > makegdal71.vcproj
    32    makegdal_gen 8.00 > makegdal80.vcproj
    33 }}}
     1IMPORTANT: GDAL no longer provides project for Visual Studio 2003, 2005, 2008. The [wiki:GeneratingVisualStudioProject script generating Visual Studio project] has also dropped support for those old project formats.