anchor.diff:  @echo off
  +setlocal enabledelayedexpansion
   
   :: HOPSAN RELEASE COMPILATION SCRIPT
   :: Written by Robert Braun 2011-10-30
  
positive.code:   set inkscapeDir=%inkscapeDir2%
  )
  
  
  :: Set version numbers (by changing .h files) BEFORE build
  ThirdParty\sed-4.2.1\sed "s|#define HOPSANCOREVERSION.*|#define HOPSANCOREVERSION \"%version%\"|g" -i HopsanCore\include\version.h
  ThirdParty\sed-4.2.1\sed "s|#define HOPSANGUIVERSION.*|#define HOPSANGUIVERSION \"%version%\"|g" -i HopsanGUI\version_gui.h
  
  :: Set splash screen version number
  ThirdParty\sed-4.2.1\sed "s|X\.X\.X|%version%|g" -i HopsanGUI\graphics\splash2.svg
  %inkscapeDir%\inkscape.exe HopsanGUI/graphics/splash2.svg --export-background=rgb(255,255,255) --export-png HopsanGUI/graphics/splash.png
  :: Revert changes in svg
  svn revert HopsanGUI\graphics\splash2.svg
  
  :: Make sure development flag is not defined
  ThirdParty\sed-4.2.1\sed "s|.*#define DEVELOPMENT|//#define DEVELOPMENT|" -i HopsanGUI\common.h
  
  :: Rename TBB so it is not found when compiling with Visual Studio
  IF NOT EXIST HopsanCore\Dependencies\tbb30_20110704oss (
  
negative.code: set innoDir2="C:\Program Files (x86)\Inno Setup 5"
  set scriptFile="HopsanReleaseInnoSetupScript.iss"
  set hopsanDir=%CD%
  set qtsdkDir="C:\Qt"
  set qmakeDir="%qtsdkDir%\Desktop\Qt\4.7.4\mingw\bin"
  set mingwDir="%qtsdkDir%\mingw\bin"
  set jomDir="%qtsdkDir%\QtCreator\bin"
  set msvc2008Dir="C:\Program Files\Microsoft SDKs\Windows\v7.0\bin"
  set msvc2010Dir="C:\Program Files\Microsoft SDKs\Windows\v7.1\bin"
  
  