Index: visual_studio/NativeClientVSAddIn/InstallerResources/examples/hello_nacl_cpp/hello_nacl_cpp/hello_nacl_cpp.vcxproj |
diff --git a/visual_studio/NativeClientVSAddIn/InstallerResources/examples/hello_nacl_cpp/hello_nacl_cpp/hello_nacl_cpp.vcxproj b/visual_studio/NativeClientVSAddIn/InstallerResources/examples/hello_nacl_cpp/hello_nacl_cpp/hello_nacl_cpp.vcxproj |
index 39f219f2050cf8602623de4aa13df86a188086f0..9b180877b44822bd22885e32a1dcde4dfa7a63c9 100644 |
--- a/visual_studio/NativeClientVSAddIn/InstallerResources/examples/hello_nacl_cpp/hello_nacl_cpp/hello_nacl_cpp.vcxproj |
+++ b/visual_studio/NativeClientVSAddIn/InstallerResources/examples/hello_nacl_cpp/hello_nacl_cpp/hello_nacl_cpp.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> |
@@ -77,12 +85,24 @@ |
<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</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> |
+ </PropertyGroup> |
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> |
<ClCompile> |
<PrecompiledHeader> |
@@ -127,20 +147,53 @@ |
<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_cpp.nmf" /> |
<None Include="index.html" /> |
</ItemGroup> |
<ItemGroup> |
- <ClCompile Include="hello_nacl_cpp.cpp" /> |
+ <ClCompile Include="hello_nacl_cpp.cc" /> |
</ItemGroup> |
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> |
<ImportGroup Label="ExtensionTargets"> |
</ImportGroup> |
-</Project> |
+</Project> |