Ignore:
Timestamp:
Jan 23, 2017 4:32:34 AM (8 years ago)
Author:
nanang
Message:

Re #1900: Reintegrated works in UWP branch to trunk.

Location:
pjproject/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk

  • pjproject/trunk/pjmedia/build/pjmedia_test.vcxproj

    r5168 r5539  
    5151    </ProjectConfiguration> 
    5252  </ItemGroup> 
     53  <!-- Import common config --> 
     54  <Import Project="..\..\build\vs\pjproject-vs14-common-config.props" /> 
    5355  <PropertyGroup Label="Globals"> 
    5456    <ProjectGuid>{21C0CECF-69DD-4F70-BC2B-9B4DE7F15277}</ProjectGuid> 
    55     <RootNamespace>pjmedia_test</RootNamespace> 
     57    <RootNamespace>pjmedia_test</RootNamespace>     
     58    <!-- Specific UWP property --> 
     59    <DefaultLanguage>en-US</DefaultLanguage> 
    5660  </PropertyGroup> 
    5761  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> 
     
    128132    <CharacterSet>MultiByte</CharacterSet> 
    129133  </PropertyGroup> 
     134  <!-- Override the PlatformToolset --> 
     135  <PropertyGroup> 
     136    <PlatformToolset>$(BuildToolset)</PlatformToolset> 
     137    <CharacterSet Condition="'$(API_Family)'!='WinDesktop'"></CharacterSet> 
     138    <ConfigurationType Condition="'$(API_Family)'=='WinDesktop'">Application</ConfigurationType> 
     139    <ConfigurationType Condition="'$(API_Family)'=='UWP' Or '$(API_Family)'=='WinPhone8'">StaticLibrary</ConfigurationType> 
     140  </PropertyGroup>   
    130141  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> 
    131142  <ImportGroup Label="ExtensionSettings"> 
    132143  </ImportGroup> 
    133 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release-Static|Win32'" Label="PropertySheets"> 
     144  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release-Static|Win32'" Label="PropertySheets"> 
    134145    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 
    135146        <Import Project="..\..\build\vs\pjproject-vs14-win32-release-defaults.props" /> 
     
    194205  <PropertyGroup> 
    195206    <_ProjectFileVersion>14.0.22823.1</_ProjectFileVersion> 
    196         <TargetName>pjmedia-test-$(TargetCPU)-$(Platform)-vc$(VSVer)-$(Configuration)</TargetName> 
    197   </PropertyGroup> 
     207          <TargetName>pjmedia-test-$(TargetCPU)-$(Platform)-vc$(VSVer)-$(Configuration)</TargetName> 
     208  </PropertyGroup> 
     209  <!-- Compile and link option definition --> 
     210  <ItemDefinitionGroup> 
     211    <ClCompile> 
     212      <RuntimeLibrary Condition="'$(API_Family)'=='UWP'">MultiThreadedDebugDLL</RuntimeLibrary> 
     213    </ClCompile> 
     214    <Lib> 
     215      <OutputFile>..\lib\pjmedia-test-$(TargetCPU)-$(Platform)-vc$(VSVer)-$(Configuration).lib</OutputFile> 
     216    </Lib> 
     217  </ItemDefinitionGroup> 
    198218  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> 
    199219    <ClCompile> 
Note: See TracChangeset for help on using the changeset viewer.