ProjectDir instead of SolutionDir

Jules Robichaud Gagnon

12-06-2008 15:20:07

Hello JohnJ,

I send you a little patch to replace the $(SolutionDir) to $(ProjectDir) of PagedGeometry.vcproj because if we want to add PagedGeometry project the Example solution, it will cause problem at the compilation of PagedGeometry since the solution dir is different.




Index: PagedGeometryLib.vcproj
===================================================================
--- PagedGeometryLib.vcproj (revision 2448)
+++ PagedGeometryLib.vcproj (working copy)
@@ -1,245 +1,245 @@
-<?xml version="1.0" encoding="Windows-1252"?>
-<VisualStudioProject
- ProjectType="Visual C++"
- Version="8.00"
- Name="PagedGeometry"
- ProjectGUID="{81B75BE3-29D7-40F4-B96D-035BC637B316}"
- RootNamespace="PagedGeometryLib"
- Keyword="Win32Proj"
- >
- <Platforms>
- <Platform
- Name="Win32"
- />
- </Platforms>
- <ToolFiles>
- </ToolFiles>
- <Configurations>
- <Configuration
- Name="Debug|Win32"
- OutputDirectory="$(SolutionDir)\lib\"
- IntermediateDirectory="$(SolutionDir)\obj\debug\"
- ConfigurationType="4"
- CharacterSet="1"
- BuildLogFile="$(SolutionDir)\obj\debug\BuildLog.htm"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="0"
- AdditionalIncludeDirectories="&quot;$(OGRE_HOME)\include&quot;;include"
- PreprocessorDefinitions="WIN32;_DEBUG;_LIB"
- MinimalRebuild="true"
- BasicRuntimeChecks="3"
- RuntimeLibrary="3"
- FloatingPointModel="2"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- Detect64BitPortabilityProblems="true"
- DebugInformationFormat="4"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLibrarianTool"
- OutputFile="$(OutDir)\$(ProjectName)_d.lib"
- AdditionalLibraryDirectories=""
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- <Configuration
- Name="Release|Win32"
- OutputDirectory="$(SolutionDir)\lib\"
- IntermediateDirectory="$(SolutionDir)\obj\release\"
- ConfigurationType="4"
- CharacterSet="1"
- WholeProgramOptimization="1"
- BuildLogFile="$(SolutionDir)\obj\release\BuildLog.htm"
- >
- <Tool
- Name="VCPreBuildEventTool"
- />
- <Tool
- Name="VCCustomBuildTool"
- />
- <Tool
- Name="VCXMLDataGeneratorTool"
- />
- <Tool
- Name="VCWebServiceProxyGeneratorTool"
- />
- <Tool
- Name="VCMIDLTool"
- />
- <Tool
- Name="VCCLCompilerTool"
- Optimization="2"
- InlineFunctionExpansion="1"
- FavorSizeOrSpeed="1"
- WholeProgramOptimization="true"
- AdditionalIncludeDirectories="&quot;$(OGRE_HOME)\include&quot;;include"
- PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
- StringPooling="true"
- RuntimeLibrary="2"
- FloatingPointModel="2"
- UsePrecompiledHeader="0"
- WarningLevel="3"
- Detect64BitPortabilityProblems="true"
- DebugInformationFormat="3"
- />
- <Tool
- Name="VCManagedResourceCompilerTool"
- />
- <Tool
- Name="VCResourceCompilerTool"
- />
- <Tool
- Name="VCPreLinkEventTool"
- />
- <Tool
- Name="VCLibrarianTool"
- AdditionalLibraryDirectories=""
- />
- <Tool
- Name="VCALinkTool"
- />
- <Tool
- Name="VCXDCMakeTool"
- />
- <Tool
- Name="VCBscMakeTool"
- />
- <Tool
- Name="VCFxCopTool"
- />
- <Tool
- Name="VCPostBuildEventTool"
- />
- </Configuration>
- </Configurations>
- <References>
- </References>
- <Files>
- <Filter
- Name="Source Files"
- Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
- UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
- >
- <File
- RelativePath=".\source\BatchedGeometry.cpp"
- >
- </File>
- <File
- RelativePath=".\source\BatchPage.cpp"
- >
- </File>
- <File
- RelativePath=".\source\GrassLoader.cpp"
- >
- </File>
- <File
- RelativePath=".\source\ImpostorPage.cpp"
- >
- </File>
- <File
- RelativePath=".\source\PagedGeometry.cpp"
- >
- </File>
- <File
- RelativePath=".\source\PropertyMaps.cpp"
- >
- </File>
- <File
- RelativePath=".\source\StaticBillboardSet.cpp"
- >
- </File>
- <File
- RelativePath=".\source\TreeLoader2D.cpp"
- >
- </File>
- <File
- RelativePath=".\source\TreeLoader3D.cpp"
- >
- </File>
- </Filter>
- <Filter
- Name="Header Files"
- Filter="h;hpp;hxx;hm;inl;inc;xsd"
- UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
- >
- <File
- RelativePath=".\include\BatchedGeometry.h"
- >
- </File>
- <File
- RelativePath=".\include\BatchPage.h"
- >
- </File>
- <File
- RelativePath=".\include\GrassLoader.h"
- >
- </File>
- <File
- RelativePath=".\include\ImpostorPage.h"
- >
- </File>
- <File
- RelativePath=".\include\PagedGeometry.h"
- >
- </File>
- <File
- RelativePath=".\include\PropertyMaps.h"
- >
- </File>
- <File
- RelativePath=".\include\StaticBillboardSet.h"
- >
- </File>
- <File
- RelativePath=".\include\TreeLoader2D.h"
- >
- </File>
- <File
- RelativePath=".\include\TreeLoader3D.h"
- >
- </File>
- </Filter>
- </Files>
- <Globals>
- </Globals>
-</VisualStudioProject>
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="8.00"
+ Name="PagedGeometry"
+ ProjectGUID="{81B75BE3-29D7-40F4-B96D-035BC637B316}"
+ RootNamespace="PagedGeometryLib"
+ Keyword="Win32Proj"
+ >
+ <Platforms>
+ <Platform
+ Name="Win32"
+ />
+ </Platforms>
+ <ToolFiles>
+ </ToolFiles>
+ <Configurations>
+ <Configuration
+ Name="Debug|Win32"
+ OutputDirectory="$(ProjectDir)\lib\"
+ IntermediateDirectory="$(ProjectDir)\obj\debug\"
+ ConfigurationType="4"
+ CharacterSet="1"
+ BuildLogFile="$(ProjectDir)\obj\debug\BuildLog.htm"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="0"
+ AdditionalIncludeDirectories="&quot;$(OGRE_HOME)\include&quot;;include"
+ PreprocessorDefinitions="WIN32;_DEBUG;_LIB"
+ MinimalRebuild="true"
+ BasicRuntimeChecks="3"
+ RuntimeLibrary="3"
+ FloatingPointModel="2"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="4"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLibrarianTool"
+ OutputFile="$(OutDir)\$(ProjectName)_d.lib"
+ AdditionalLibraryDirectories=""
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ <Configuration
+ Name="Release|Win32"
+ OutputDirectory="$(ProjectDir)\lib\"
+ IntermediateDirectory="$(ProjectDir)\obj\release\"
+ ConfigurationType="4"
+ CharacterSet="1"
+ WholeProgramOptimization="1"
+ BuildLogFile="$(ProjectDir)\obj\release\BuildLog.htm"
+ >
+ <Tool
+ Name="VCPreBuildEventTool"
+ />
+ <Tool
+ Name="VCCustomBuildTool"
+ />
+ <Tool
+ Name="VCXMLDataGeneratorTool"
+ />
+ <Tool
+ Name="VCWebServiceProxyGeneratorTool"
+ />
+ <Tool
+ Name="VCMIDLTool"
+ />
+ <Tool
+ Name="VCCLCompilerTool"
+ Optimization="2"
+ InlineFunctionExpansion="1"
+ FavorSizeOrSpeed="1"
+ WholeProgramOptimization="true"
+ AdditionalIncludeDirectories="&quot;$(OGRE_HOME)\include&quot;;include"
+ PreprocessorDefinitions="WIN32;NDEBUG;_LIB"
+ StringPooling="true"
+ RuntimeLibrary="2"
+ FloatingPointModel="2"
+ UsePrecompiledHeader="0"
+ WarningLevel="3"
+ Detect64BitPortabilityProblems="true"
+ DebugInformationFormat="3"
+ />
+ <Tool
+ Name="VCManagedResourceCompilerTool"
+ />
+ <Tool
+ Name="VCResourceCompilerTool"
+ />
+ <Tool
+ Name="VCPreLinkEventTool"
+ />
+ <Tool
+ Name="VCLibrarianTool"
+ AdditionalLibraryDirectories=""
+ />
+ <Tool
+ Name="VCALinkTool"
+ />
+ <Tool
+ Name="VCXDCMakeTool"
+ />
+ <Tool
+ Name="VCBscMakeTool"
+ />
+ <Tool
+ Name="VCFxCopTool"
+ />
+ <Tool
+ Name="VCPostBuildEventTool"
+ />
+ </Configuration>
+ </Configurations>
+ <References>
+ </References>
+ <Files>
+ <Filter
+ Name="Source Files"
+ Filter="cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx"
+ UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
+ >
+ <File
+ RelativePath=".\source\BatchedGeometry.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\source\BatchPage.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\source\GrassLoader.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\source\ImpostorPage.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\source\PagedGeometry.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\source\PropertyMaps.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\source\StaticBillboardSet.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\source\TreeLoader2D.cpp"
+ >
+ </File>
+ <File
+ RelativePath=".\source\TreeLoader3D.cpp"
+ >
+ </File>
+ </Filter>
+ <Filter
+ Name="Header Files"
+ Filter="h;hpp;hxx;hm;inl;inc;xsd"
+ UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
+ >
+ <File
+ RelativePath=".\include\BatchedGeometry.h"
+ >
+ </File>
+ <File
+ RelativePath=".\include\BatchPage.h"
+ >
+ </File>
+ <File
+ RelativePath=".\include\GrassLoader.h"
+ >
+ </File>
+ <File
+ RelativePath=".\include\ImpostorPage.h"
+ >
+ </File>
+ <File
+ RelativePath=".\include\PagedGeometry.h"
+ >
+ </File>
+ <File
+ RelativePath=".\include\PropertyMaps.h"
+ >
+ </File>
+ <File
+ RelativePath=".\include\StaticBillboardSet.h"
+ >
+ </File>
+ <File
+ RelativePath=".\include\TreeLoader2D.h"
+ >
+ </File>
+ <File
+ RelativePath=".\include\TreeLoader3D.h"
+ >
+ </File>
+ </Filter>
+ </Files>
+ <Globals>
+ </Globals>
+</VisualStudioProject>