- <!--
- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
- Daffodil for Visual Studio <http://daffodil.codeplex.com>
- - Native multi-targeting support for Visual Studio 2002 in Visual Studio 2010
- 2.4 [2012-11-09]
- Owen Wengerd, ManuSoft
- http://www.manusoft.com
- Credits
- Some aspects of this project are based on information in this MSDN blog post:
- http://blogs.msdn.com/b/vcblog/archive/2009/12/08/c-native-multi-targeting.aspx
- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
- -->
- <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
- <Import Project="$(VCTargetsPath)\Platforms\Win32\PlatformToolsets\v70\ImportBefore\*.props" Condition="Exists('$(VCTargetsPath)\Platforms\Win32\PlatformToolsets\v70\ImportBefore')" />
- <PropertyGroup>
- <PlatformToolsetVersion>70</PlatformToolsetVersion>
- <VCInstallDir>$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0\Setup\VC@ProductDir)</VCInstallDir>
- <VCInstallDir Condition="'$(VCInstallDir)' == ''">$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\7.0\Setup\VC@ProductDir)</VCInstallDir>
- <VCInstallDir Condition="'$(VCInstallDir)' == ''">$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VCExpress\7.0\Setup\VC@ProductDir)</VCInstallDir>
- <VCInstallDir Condition="'$(VCInstallDir)' == ''">$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VCExpress\7.0\Setup\VC@ProductDir)</VCInstallDir>
- <VSInstallDir>$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0\Setup\VS@ProductDir)</VSInstallDir>
- <VSInstallDir Condition="'$(VSInstallDir)' == ''">$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\7.0\Setup\VS@ProductDir)</VSInstallDir>
- <VSInstallDir Condition="'$(VSInstallDir)' == ''">$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VCExpress\7.0\Setup\VS@ProductDir)</VSInstallDir>
- <VSInstallDir Condition="'$(VSInstallDir)' == ''">$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VCExpress\7.0\Setup\VS@ProductDir)</VSInstallDir>
- <WindowsSdkDir Condition="'$(WindowsSdkDir)' == ''">$(VCInstallDir)PlatformSDK\</WindowsSdkDir>
- <FrameworkDir Condition="'$(UseEnv)' != 'true'">$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework@InstallRoot)</FrameworkDir>
- <FrameworkDir Condition="'$(FrameworkDir)' == ''">$(Registry:HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\.NETFramework@InstallRoot)</FrameworkDir>
- <FrameworkSdkDir Condition="'$(UseEnv)' != 'true'">$(VSInstallDir)FrameworkSDK\</FrameworkSdkDir>
- <FrameworkVersion Condition="'$(UseEnv)' != 'true'">v1.0.3705</FrameworkVersion>
- <ExecutablePath Condition="'$(ExecutablePath)' == ''">$(VCInstallDir)bin;$(VCInstallDir)PlatformSDK\bin;$(VCInstallDir)PlatformSDK\common\bin;$(VSInstallDir)Common7\Tools\bin;$(VSInstallDir)Common7\tools;$(VSInstallDir)Common7\ide;$(ProgramFiles)\HTML Help Workshop;$(FrameworkSDKDir)bin;$(FrameworkDir)$(FrameworkVersion);$(VSInstallDir);$(SystemRoot)\SysWow64;$(FxCopDir);$(PATH);</ExecutablePath>
- <IncludePath Condition="'$(IncludePath)' == ''">$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(VCInstallDir)PlatformSDK\include;$(VCInstallDir)PlatformSDK\common\include;$(FrameworkSDKDir)include;</IncludePath>
- <ReferencePath Condition="'$(ReferencePath)' == ''">$(FrameworkDir)$(FrameworkVersion);$(VCInstallDir)atlmfc\lib;</ReferencePath>
- <LibraryPath Condition="'$(LibraryPath)' == ''">$(VCInstallDir)lib;$(VCInstallDir)atlmfc\lib;$(VCInstallDir)atlmfc\lib\i386;$(VCInstallDir)PlatformSDK\lib;$(VCInstallDir)PlatformSDK\common\lib;$(FrameworkSDKDir)lib;$(VSInstallDir);$(VSInstallDir)lib;</LibraryPath>
- <SourcePath Condition="'$(SourcePath)' == ''">$(VCInstallDir)atlmfc\src\mfc;$(VCInstallDir)atlmfc\src\atl;$(VCInstallDir)crt\src;</SourcePath>
- <ExcludePath Condition="'$(ExcludePath)' == ''">$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(VCInstallDir)PlatformSDK\include;$(VCInstallDir)PlatformSDK\common\include;$(FrameworkSDKDir)include;$(FrameworkDir)$(FrameworkVersion);$(VCInstallDir)atlmfc\lib;</ExcludePath>
- <NativeExecutablePath Condition="'$(NativeExecutablePath)' == ''">$(ExecutablePath)</NativeExecutablePath>
- <TargetFrameworkVersion Condition="'$(TargetFrameworkVersion)' == '' and '$(CLRSupport)' != '' and '$(CLRSupport)' != 'false' and '$(Registry:HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramework\Policy\v1.0@3705)' != ''">v2.0</TargetFrameworkVersion>
- <TargetedRuntimeVersion>v1.0</TargetedRuntimeVersion>
- <UpgradeSubsetToProfile>false</UpgradeSubsetToProfile>
- <GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>
- <ExecuteAsTool>false</ExecuteAsTool>
- <CLRSupport Condition="'$(CLRSupport)' != '' and '$(CLRSupport)' != 'false'">true</CLRSupport>
- </PropertyGroup>
- <ItemDefinitionGroup>
- <ClCompile>
- <FloatConsistency>Default</FloatConsistency>
- <FunctionLevelLinking>false</FunctionLevelLinking>
- <StringPooling>false</StringPooling>
- <TargetProcessor>Blend</TargetProcessor>
- <TreatWChar_tAsBuiltInType>false</TreatWChar_tAsBuiltInType>
- <ForceConformanceInForLoopScope>false</ForceConformanceInForLoopScope>
- <DebugInformationFormat>Disabled</DebugInformationFormat>
- </ClCompile>
- </ItemDefinitionGroup>
- <Import Project="$(VCTargetsPath)\Platforms\Win32\PlatformToolsets\v70\ImportAfter\*.props" Condition="Exists('$(VCTargetsPath)\Platforms\Win32\PlatformToolsets\v70\ImportAfter')" />
- </Project>
这个地方又不会改了 |