| 1 | == Windows build with cmake: == |
| 2 | |
| 3 | Author: David Burken |
| 4 | |
| 5 | Last modified: 21 February 2013 |
| 6 | |
| 7 | Feedback welcome. Please send to the ossim mailing list at "ossim-developer AT lists.sourceforge.net" and reference this page. |
| 8 | |
| 9 | 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. |
| 10 | |
| 11 | '''Environment variables'''[[BR]] |
| 12 | 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:[[BR]] |
| 13 | {{{ |
| 14 | :: File: ossim-vs10.bat |
| 15 | |
| 16 | :: Forward slashes for use with cmake and nmake. |
| 17 | set OSSIM_DEV_HOME_FS=D:/drb/vs10_x86 |
| 18 | |
| 19 | :: Backward Slash windows things. We'll use MS for MicroSoft. |
| 20 | set OSSIM_DEV_HOME=D:\drb\vs10_x86 |
| 21 | |
| 22 | set OSSIM_DEPENDENCIES=%OSSIM_DEV_HOME%\local |
| 23 | set OSSIM_HOME=%OSSIM_DEV_HOME%\ossim |
| 24 | set OSSIM_PREFS_FILE=%OSSIM_DEV_HOME%\ossim-prefs |
| 25 | set QTDIR=D:\Qt3.2 |
| 26 | 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% |
| 27 | }}} |
| 28 | |