| Index: visual_studio/NativeClientVSAddIn/InstallerResources/examples/hello_nacl/hello_nacl/hello_nacl.vcxproj
|
| diff --git a/visual_studio/NativeClientVSAddIn/InstallerResources/examples/hello_world_gles/hello_world_gles/hello_world_gles.vcxproj b/visual_studio/NativeClientVSAddIn/InstallerResources/examples/hello_nacl/hello_nacl/hello_nacl.vcxproj
|
| similarity index 55%
|
| copy from visual_studio/NativeClientVSAddIn/InstallerResources/examples/hello_world_gles/hello_world_gles/hello_world_gles.vcxproj
|
| copy to visual_studio/NativeClientVSAddIn/InstallerResources/examples/hello_nacl/hello_nacl/hello_nacl.vcxproj
|
| index 3290d5bc8e1f2c4d07275e5313d5238b19673c52..2807fe04cfcbecd91529c058d4ff2485621347bd 100644
|
| --- a/visual_studio/NativeClientVSAddIn/InstallerResources/examples/hello_world_gles/hello_world_gles/hello_world_gles.vcxproj
|
| +++ b/visual_studio/NativeClientVSAddIn/InstallerResources/examples/hello_nacl/hello_nacl/hello_nacl.vcxproj
|
| @@ -1,10 +1,6 @@
|
| -<?xml version="1.0" encoding="utf-8"?>
|
| +<?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,9 +9,9 @@
|
| <Configuration>Debug</Configuration>
|
| <Platform>PPAPI</Platform>
|
| </ProjectConfiguration>
|
| - <ProjectConfiguration Include="Release|NaCl32">
|
| - <Configuration>Release</Configuration>
|
| - <Platform>NaCl32</Platform>
|
| + <ProjectConfiguration Include="Debug|Win32">
|
| + <Configuration>Debug</Configuration>
|
| + <Platform>Win32</Platform>
|
| </ProjectConfiguration>
|
| <ProjectConfiguration Include="Release|NaCl64">
|
| <Configuration>Release</Configuration>
|
| @@ -25,124 +21,126 @@
|
| <Configuration>Release</Configuration>
|
| <Platform>PPAPI</Platform>
|
| </ProjectConfiguration>
|
| + <ProjectConfiguration Include="Release|Win32">
|
| + <Configuration>Release</Configuration>
|
| + <Platform>Win32</Platform>
|
| + </ProjectConfiguration>
|
| </ItemGroup>
|
| <PropertyGroup Label="Globals">
|
| - <ProjectGuid>{F82336A6-3A85-45E2-9A96-26DEA54280C5}</ProjectGuid>
|
| + <ProjectGuid>{0A0BEABE-8F63-46EA-A60B-AE7DAC7A689D}</ProjectGuid>
|
| <Keyword>Win32Proj</Keyword>
|
| - <RootNamespace>hello_world_gles</RootNamespace>
|
| + <RootNamespace>hello_nacl</RootNamespace>
|
| </PropertyGroup>
|
| <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
| - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Debug|NaCl64'">
|
| - <ToolchainName>newlib</ToolchainName>
|
| - </PropertyGroup>
|
| - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|NaCl32'" Label="Configuration">
|
| - <ToolchainName>newlib</ToolchainName>
|
| + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
| + <ConfigurationType>Application</ConfigurationType>
|
| + <UseDebugLibraries>true</UseDebugLibraries>
|
| + <CharacterSet>Unicode</CharacterSet>
|
| </PropertyGroup>
|
| - <PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Release|NaCl64'">
|
| - <ToolchainName>newlib</ToolchainName>
|
| - </PropertyGroup>
|
| - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|NaCl32'" Label="Configuration">
|
| - <ToolchainName>newlib</ToolchainName>
|
| + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
| + <ConfigurationType>Application</ConfigurationType>
|
| + <UseDebugLibraries>false</UseDebugLibraries>
|
| + <WholeProgramOptimization>true</WholeProgramOptimization>
|
| + <CharacterSet>Unicode</CharacterSet>
|
| </PropertyGroup>
|
| <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
| <ImportGroup Label="ExtensionSettings">
|
| </ImportGroup>
|
| + <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
| + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
| + </ImportGroup>
|
| + <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
| + <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
| + </ImportGroup>
|
| <PropertyGroup Label="UserMacros" />
|
| - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|NaCl64'">
|
| - <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</NaClAddInVersion>
|
| - <VSNaClSDKRoot>$(NACL_SDK_ROOT)\</VSNaClSDKRoot>
|
| - <IncludePath>$(VSNaClSDKRoot)include;</IncludePath>
|
| - <LibraryPath>$(VSNaClSDKRoot)lib;</LibraryPath>
|
| + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
| + <LinkIncremental>true</LinkIncremental>
|
| </PropertyGroup>
|
| - <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|NaCl32'">
|
| - <NaClAddInVersion>1</NaClAddInVersion>
|
| - <VSNaClSDKRoot>$(NACL_SDK_ROOT)\</VSNaClSDKRoot>
|
| - <IncludePath>$(VSNaClSDKRoot)include;</IncludePath>
|
| - <LibraryPath>$(VSNaClSDKRoot)lib;</LibraryPath>
|
| + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
| + <LinkIncremental>false</LinkIncremental>
|
| </PropertyGroup>
|
| <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|PPAPI'">
|
| + <NaClAddInVersion>1.0.1447</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>
|
| - <NaClAddInVersion>1</NaClAddInVersion>
|
| - <LinkIncremental>false</LinkIncremental>
|
| - <IncludePath>$(VSNaClSDKRoot)include;$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSdkDir)include;$(FrameworkSDKDir)\include;</IncludePath>
|
| + <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>
|
| <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>
|
| - <NaClAddInVersion>1</NaClAddInVersion>
|
| <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>
|
| - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|NaCl64'">
|
| + <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|NaCl64'">
|
| + <NaClAddInVersion>1.0.1447</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>
|
| + <VSNaClSDKRoot>$(NACL_SDK_ROOT)\</VSNaClSDKRoot>
|
| + <IncludePath>$(VSNaClSDKRoot)include;</IncludePath>
|
| + <LibraryPath>$(VSNaClSDKRoot)lib;</LibraryPath>
|
| + </PropertyGroup>
|
| + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
| + <ClCompile>
|
| + <PrecompiledHeader>
|
| + </PrecompiledHeader>
|
| + <WarningLevel>Level3</WarningLevel>
|
| + <Optimization>Disabled</Optimization>
|
| + <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
| + </ClCompile>
|
| <Link>
|
| - <AdditionalDependencies>ppapi;ppapi_gles2</AdditionalDependencies>
|
| + <SubSystem>Windows</SubSystem>
|
| + <GenerateDebugInformation>true</GenerateDebugInformation>
|
| </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)\hello_world_gles.nmf -t $(ToolchainName) -s $(ToolchainName) "$(TargetPath)"</Command>
|
| - <Message>Running 'create_nmf'</Message>
|
| - </PostBuildEvent>
|
| </ItemDefinitionGroup>
|
| - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|NaCl32'">
|
| + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
| + <ClCompile>
|
| + <WarningLevel>Level3</WarningLevel>
|
| + <PrecompiledHeader>
|
| + </PrecompiledHeader>
|
| + <Optimization>MaxSpeed</Optimization>
|
| + <FunctionLevelLinking>true</FunctionLevelLinking>
|
| + <IntrinsicFunctions>true</IntrinsicFunctions>
|
| + <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
| + </ClCompile>
|
| <Link>
|
| - <AdditionalDependencies>ppapi;ppapi_gles2</AdditionalDependencies>
|
| + <SubSystem>Windows</SubSystem>
|
| + <GenerateDebugInformation>true</GenerateDebugInformation>
|
| + <EnableCOMDATFolding>true</EnableCOMDATFolding>
|
| + <OptimizeReferences>true</OptimizeReferences>
|
| </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)\hello_world_gles.nmf -t $(ToolchainName) -s $(ToolchainName) "$(TargetPath)"</Command>
|
| - <Message>Running 'create_nmf'</Message>
|
| - </PostBuildEvent>
|
| </ItemDefinitionGroup>
|
| - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|NaCl64'">
|
| + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|PPAPI'">
|
| <Link>
|
| - <AdditionalDependencies>ppapi;ppapi_gles2</AdditionalDependencies>
|
| + <AdditionalDependencies>ppapi_cpp.lib;ppapi.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;</AdditionalDependencies>
|
| </Link>
|
| </ItemDefinitionGroup>
|
| - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|NaCl32'">
|
| + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|PPAPI'">
|
| <Link>
|
| - <AdditionalDependencies>ppapi;ppapi_gles2</AdditionalDependencies>
|
| + <AdditionalDependencies>ppapi_cpp.lib;ppapi.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;</AdditionalDependencies>
|
| </Link>
|
| </ItemDefinitionGroup>
|
| - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|PPAPI'">
|
| + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|NaCl64'">
|
| <Link>
|
| - <AdditionalDependencies>ppapi.lib;ppapi_gles2.lib;</AdditionalDependencies>
|
| + <AdditionalDependencies>ppapi_cpp;ppapi;</AdditionalDependencies>
|
| </Link>
|
| </ItemDefinitionGroup>
|
| - <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|PPAPI'">
|
| + <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|NaCl64'">
|
| <Link>
|
| - <AdditionalDependencies>ppapi.lib;ppapi_gles2.lib;</AdditionalDependencies>
|
| + <AdditionalDependencies>ppapi_cpp;ppapi;</AdditionalDependencies>
|
| </Link>
|
| </ItemDefinitionGroup>
|
| <ItemGroup>
|
| - <None Include="common.js" />
|
| - <None Include="fragment_shader_es2.frag" />
|
| - <None Include="index_glibc.html" />
|
| - <None Include="index_newlib.html" />
|
| - <None Include="index_win.html" />
|
| - <None Include="vertex_shader_es2.vert" />
|
| - </ItemGroup>
|
| - <ItemGroup>
|
| - <ClCompile Include="hello_world.cc" />
|
| - <ClCompile Include="matrix.cc" />
|
| + <None Include="hello_nacl.nmf" />
|
| + <None Include="index.html" />
|
| </ItemGroup>
|
| <ItemGroup>
|
| - <ClInclude Include="matrix.h" />
|
| + <ClCompile Include="hello_nacl.c" />
|
| </ItemGroup>
|
| <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
| <ImportGroup Label="ExtensionTargets">
|
| </ImportGroup>
|
| -</Project>
|
| +</Project>
|
|
|