Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(200)

Unified Diff: visual_studio/NativeClientVSAddIn/InstallerResources/examples/hello_nacl/hello_nacl/hello_nacl.vcxproj

Issue 11191009: Add new VS AddIn examples. (Closed) Base URL: http://nativeclient-sdk.googlecode.com/svn/trunk/src
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: visual_studio/NativeClientVSAddIn/InstallerResources/examples/hello_nacl/hello_nacl/hello_nacl.vcxproj
diff --git a/visual_studio/NativeClientVSAddIn/InstallerResources/examples/hello_nacl/hello_nacl/hello_nacl.vcxproj b/visual_studio/NativeClientVSAddIn/InstallerResources/examples/hello_nacl/hello_nacl/hello_nacl.vcxproj
index 2807fe04cfcbecd91529c058d4ff2485621347bd..75cc376f93f1847a60dda2e797c318da03f04ebd 100644
--- a/visual_studio/NativeClientVSAddIn/InstallerResources/examples/hello_nacl/hello_nacl/hello_nacl.vcxproj
+++ b/visual_studio/NativeClientVSAddIn/InstallerResources/examples/hello_nacl/hello_nacl/hello_nacl.vcxproj
@@ -1,6 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
+ <ProjectConfiguration Include="Debug|NaCl32">
+ <Configuration>Debug</Configuration>
+ <Platform>NaCl32</Platform>
+ </ProjectConfiguration>
<ProjectConfiguration Include="Debug|NaCl64">
<Configuration>Debug</Configuration>
<Platform>NaCl64</Platform>
@@ -13,6 +17,10 @@
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
+ <ProjectConfiguration Include="Release|NaCl32">
+ <Configuration>Release</Configuration>
+ <Platform>NaCl32</Platform>
+ </ProjectConfiguration>
<ProjectConfiguration Include="Release|NaCl64">
<Configuration>Release</Configuration>
<Platform>NaCl64</Platform>
@@ -60,25 +68,37 @@
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|PPAPI'">
- <NaClAddInVersion>1.0.1447</NaClAddInVersion>
+ <NaClAddInVersion>1</NaClAddInVersion>
<ExecutablePath>$(VCInstallDir)bin;$(WindowsSdkDir)bin\NETFX 4.0 Tools;$(WindowsSdkDir)bin;$(VSInstallDir)Common7\Tools\bin;$(VSInstallDir)Common7\tools;$(VSInstallDir)Common7\ide;$(ProgramFiles)\HTML Help Workshop;$(FrameworkSDKDir)\bin;$(MSBuildToolsPath32);$(VSInstallDir);$(SystemRoot)\SysWow64;$(FxCopDir);$(PATH);</ExecutablePath>
<IncludePath>$(VSNaClSDKRoot)include\win;$(VSNaClSDKRoot)include;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSdkDir)include;$(FrameworkSDKDir)\include</IncludePath>
<LibraryPath>$(VSNaClSDKRoot)lib\win_x86_32_host\$(Configuration);$(VCInstallDir)lib;$(VCInstallDir)atlmfc\lib;$(WindowsSdkDir)lib;$(FrameworkSDKDir)\lib</LibraryPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|PPAPI'">
- <NaClAddInVersion>1.0.1447</NaClAddInVersion>
+ <NaClAddInVersion>1</NaClAddInVersion>
<ExecutablePath>$(VCInstallDir)bin;$(WindowsSdkDir)bin\NETFX 4.0 Tools;$(WindowsSdkDir)bin;$(VSInstallDir)Common7\Tools\bin;$(VSInstallDir)Common7\tools;$(VSInstallDir)Common7\ide;$(ProgramFiles)\HTML Help Workshop;$(FrameworkSDKDir)\bin;$(MSBuildToolsPath32);$(VSInstallDir);$(SystemRoot)\SysWow64;$(FxCopDir);$(PATH);</ExecutablePath>
<IncludePath>$(VSNaClSDKRoot)include;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSdkDir)include;$(FrameworkSDKDir)\include;</IncludePath>
<LibraryPath>$(VSNaClSDKRoot)lib\win_x86_32_host\$(Configuration);$(VCInstallDir)lib;$(VCInstallDir)atlmfc\lib;$(WindowsSdkDir)lib;$(FrameworkSDKDir)\lib</LibraryPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|NaCl64'">
- <NaClAddInVersion>1.0.1447</NaClAddInVersion>
+ <NaClAddInVersion>1</NaClAddInVersion>
+ <VSNaClSDKRoot>$(NACL_SDK_ROOT)\</VSNaClSDKRoot>
+ <IncludePath>$(VSNaClSDKRoot)include;</IncludePath>
+ <LibraryPath>$(VSNaClSDKRoot)lib;</LibraryPath>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|NaCl32'">
+ <NaClAddInVersion>1</NaClAddInVersion>
<VSNaClSDKRoot>$(NACL_SDK_ROOT)\</VSNaClSDKRoot>
<IncludePath>$(VSNaClSDKRoot)include;</IncludePath>
<LibraryPath>$(VSNaClSDKRoot)lib;</LibraryPath>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|NaCl64'">
- <NaClAddInVersion>1.0.1447</NaClAddInVersion>
+ <NaClAddInVersion>1</NaClAddInVersion>
+ <VSNaClSDKRoot>$(NACL_SDK_ROOT)\</VSNaClSDKRoot>
+ <IncludePath>$(VSNaClSDKRoot)include;</IncludePath>
+ <LibraryPath>$(VSNaClSDKRoot)lib;</LibraryPath>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|NaCl32'">
+ <NaClAddInVersion>1</NaClAddInVersion>
<VSNaClSDKRoot>$(NACL_SDK_ROOT)\</VSNaClSDKRoot>
<IncludePath>$(VSNaClSDKRoot)include;</IncludePath>
<LibraryPath>$(VSNaClSDKRoot)lib;</LibraryPath>
@@ -127,14 +147,47 @@
<Link>
<AdditionalDependencies>ppapi_cpp;ppapi;</AdditionalDependencies>
</Link>
+ <PostBuildEvent>
+ <Command>set PATH=$(Path)
+mkdir $(ToolchainName)
+python.exe "$(VSNaClSDKRoot)\tools\create_nmf.py" -D "$(VSNaClSDKRoot)\toolchain\win_x86_$(ToolchainName)\bin\x86_64-nacl-objdump.exe" -L "$(VSNaClSDKRoot)\toolchain\win_x86_$(ToolchainName)\x86_64-nacl\lib" -L "$(VSNaClSDKRoot)\toolchain\win_x86_$(ToolchainName)\x86_64-nacl\lib32" -o $(ToolchainName)\$(ProjectName).nmf -t $(ToolchainName) -s $(ToolchainName) "$(TargetPath)"</Command>
+ <Message>Running 'create_nmf'</Message>
+ </PostBuildEvent>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|NaCl32'">
+ <Link>
+ <AdditionalDependencies>ppapi_cpp;ppapi;</AdditionalDependencies>
+ </Link>
+ <PostBuildEvent>
+ <Command>set PATH=$(Path)
+mkdir $(ToolchainName)
+python.exe "$(VSNaClSDKRoot)\tools\create_nmf.py" -D "$(VSNaClSDKRoot)\toolchain\win_x86_$(ToolchainName)\bin\x86_64-nacl-objdump.exe" -L "$(VSNaClSDKRoot)\toolchain\win_x86_$(ToolchainName)\x86_64-nacl\lib" -L "$(VSNaClSDKRoot)\toolchain\win_x86_$(ToolchainName)\x86_64-nacl\lib32" -o $(ToolchainName)\$(ProjectName).nmf -t $(ToolchainName) -s $(ToolchainName) "$(TargetPath)"</Command>
+ <Message>Running 'create_nmf'</Message>
+ </PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|NaCl64'">
<Link>
<AdditionalDependencies>ppapi_cpp;ppapi;</AdditionalDependencies>
</Link>
+ <PostBuildEvent>
+ <Command>set PATH=$(Path)
+mkdir $(ToolchainName)
+python.exe "$(VSNaClSDKRoot)\tools\create_nmf.py" -D "$(VSNaClSDKRoot)\toolchain\win_x86_$(ToolchainName)\bin\x86_64-nacl-objdump.exe" -L "$(VSNaClSDKRoot)\toolchain\win_x86_$(ToolchainName)\x86_64-nacl\lib" -L "$(VSNaClSDKRoot)\toolchain\win_x86_$(ToolchainName)\x86_64-nacl\lib32" -o $(ToolchainName)\$(ProjectName).nmf -t $(ToolchainName) -s $(ToolchainName) "$(TargetPath)"</Command>
+ <Message>Running 'create_nmf'</Message>
+ </PostBuildEvent>
+ </ItemDefinitionGroup>
+ <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|NaCl32'">
+ <Link>
+ <AdditionalDependencies>ppapi_cpp;ppapi;</AdditionalDependencies>
+ </Link>
+ <PostBuildEvent>
+ <Command>set PATH=$(Path)
+mkdir $(ToolchainName)
+python.exe "$(VSNaClSDKRoot)\tools\create_nmf.py" -D "$(VSNaClSDKRoot)\toolchain\win_x86_$(ToolchainName)\bin\x86_64-nacl-objdump.exe" -L "$(VSNaClSDKRoot)\toolchain\win_x86_$(ToolchainName)\x86_64-nacl\lib" -L "$(VSNaClSDKRoot)\toolchain\win_x86_$(ToolchainName)\x86_64-nacl\lib32" -o $(ToolchainName)\$(ProjectName).nmf -t $(ToolchainName) -s $(ToolchainName) "$(TargetPath)"</Command>
+ <Message>Running 'create_nmf'</Message>
+ </PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
- <None Include="hello_nacl.nmf" />
<None Include="index.html" />
</ItemGroup>
<ItemGroup>

Powered by Google App Engine
This is Rietveld 408576698