Commits

haffax  committed 194d8c9

Use OGRE_HOME environment variable instead of putting hard coded directories in project file. OGRE_HOME in this case points to an ogre source release, OgreSDK might be laid out differently.

  • Participants
  • Parent commits e95f6c7

Comments (0)

Files changed (1)

File MeshMagick_vc2008.vcproj

 			<Tool
 				Name="VCCLCompilerTool"
 				Optimization="0"
-				AdditionalIncludeDirectories=".\include;..\ogre\OgreMain\include"
+				AdditionalIncludeDirectories=".\include;&quot;$(OGRE_HOME)\OgreMain\include&quot;"
 				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;OGRE_STATIC_LIB;MESHMAGICK_STANDALONE"
 				MinimalRebuild="true"
 				BasicRuntimeChecks="3"
 				Name="VCLinkerTool"
 				AdditionalDependencies="OgreMainStatic_d.lib"
 				LinkIncremental="2"
-				AdditionalLibraryDirectories="..\ogre\lib"
+				AdditionalLibraryDirectories="&quot;$(OGRE_HOME)\lib&quot;"
 				GenerateDebugInformation="true"
 				SubSystem="1"
 				RandomizedBaseAddress="1"
 			/>
 			<Tool
 				Name="VCCLCompilerTool"
-				AdditionalIncludeDirectories=".\include;..\ogre\OgreMain\include"
+				AdditionalIncludeDirectories=".\include;&quot;$(OGRE_HOME)\OgreMain\include&quot;"
 				PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;OGRE_STATIC_LIB;MESHMAGICK_STANDALONE"
 				RuntimeLibrary="2"
 				UsePrecompiledHeader="0"
 				Name="VCLinkerTool"
 				AdditionalDependencies="OgreMainStatic.lib"
 				LinkIncremental="1"
-				AdditionalLibraryDirectories="..\ogre\lib"
+				AdditionalLibraryDirectories="&quot;$(OGRE_HOME)\lib&quot;"
 				GenerateDebugInformation="false"
 				SubSystem="1"
 				OptimizeReferences="2"
 			<Tool
 				Name="VCCLCompilerTool"
 				Optimization="0"
-				AdditionalIncludeDirectories=".\include;..\ogre\OgreMain\include"
+				AdditionalIncludeDirectories=".\include;&quot;$(OGRE_HOME)\OgreMain\include&quot;"
 				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE;MESHMAGICK_EXPORTS"
 				MinimalRebuild="true"
 				BasicRuntimeChecks="3"
 				AdditionalDependencies="OgreMain_d.lib"
 				OutputFile="lib\meshmagick_d.dll"
 				LinkIncremental="2"
-				AdditionalLibraryDirectories="..\ogre\lib"
+				AdditionalLibraryDirectories="&quot;$(OGRE_HOME)\lib&quot;"
 				GenerateDebugInformation="true"
 				SubSystem="1"
 				RandomizedBaseAddress="1"
 			/>
 			<Tool
 				Name="VCCLCompilerTool"
-				AdditionalIncludeDirectories=".\include;..\ogre\OgreMain\include"
+				AdditionalIncludeDirectories=".\include;&quot;$(OGRE_HOME)\OgreMain\include&quot;"
 				PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE;MESHMAGICK_EXPORTS"
 				RuntimeLibrary="2"
 				UsePrecompiledHeader="0"
 				AdditionalDependencies="OgreMain.lib"
 				OutputFile="lib\meshmagick.dll"
 				LinkIncremental="1"
-				AdditionalLibraryDirectories="..\ogre\lib"
+				AdditionalLibraryDirectories="&quot;$(OGRE_HOME)\lib&quot;"
 				GenerateDebugInformation="false"
 				SubSystem="1"
 				OptimizeReferences="2"