wiki:DavesWindowsBuild

Version 1 (modified by dburken, 11 years ago) ( diff )

--

Windows build with cmake:

Author: David Burken

Last modified: 21 February 2013

Feedback welcome. Please send to the ossim mailing list at "ossim-developer AT lists.sourceforge.net" and reference this page.

Note: Windows command shell commands start with ">", unix commands start with $, anything else will be notes, comments. If you see a $ <some_command> The part after slash slash is a comment.

Environment variables
I put my build environment in a separate file that I source. I do this because I have more than one workspace, i.e. osgeo, geoeye, geoeye-dev. This is a snip from ossim-vs10.bat file:

:: File: ossim-vs10.bat

:: Forward slashes for use with cmake and nmake.
set OSSIM_DEV_HOME_FS=D:/drb/vs10_x86

:: Backward Slash windows things.  We'll use MS for MicroSoft.
set OSSIM_DEV_HOME=D:\drb\vs10_x86

set OSSIM_DEPENDENCIES=%OSSIM_DEV_HOME%\local
set OSSIM_HOME=%OSSIM_DEV_HOME%\ossim
set OSSIM_PREFS_FILE=%OSSIM_DEV_HOME%\ossim-prefs
set QTDIR=D:\Qt3.2
set PATH=D:\cmake\cmake-2.8.10.2-win32-x86\bin;%OSSIM_DEV_HOME%\build\bin;%OSSIM_DEV_HOME%\local\bin;C:\Program Files (x86)\XEmacs\XEmacs-21.4.22\i586-pc-win32;D:\Qt3.2\bin;%PATH%
Note: See TracWiki for help on using the wiki.