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/pjnath/build/pjnath_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>{553C094C-F581-4A80-9540-D5D7B398A2C6}</ProjectGuid> 
    5557    <RootNamespace>pjnath_test</RootNamespace> 
     58    <DefaultLanguage>en-US</DefaultLanguage> 
     59    <!-- Specific UWP property --> 
    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"> 
     
    194205  <PropertyGroup> 
    195206    <_ProjectFileVersion>14.0.22823.1</_ProjectFileVersion> 
    196         <TargetName>pjnath-test-$(TargetCPU)-$(Platform)-vc$(VSVer)-$(Configuration)</TargetName> 
    197   </PropertyGroup> 
     207          <TargetName>pjnath-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\pjnath-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.