Ignore:
Timestamp:
Dec 10, 2015 1:58:38 AM (9 years ago)
Author:
riza
Message:

Re #1900: Initial implementation with pjsua cli/telnet sample app.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/uwp/pjnath/build/pjnath_test.vcxproj

    r5168 r5210  
    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 --> 
     60    <AppContainerApplication Condition="'$(API_Family)'=='UWP'">true</AppContainerApplication> 
     61    <ApplicationType Condition="'$(API_Family)'=='UWP'">Windows Store</ApplicationType> 
     62    <WindowsTargetPlatformVersion Condition="'$(API_Family)'=='UWP'">$(PlatformVersion)</WindowsTargetPlatformVersion> 
     63    <WindowsTargetPlatformMinVersion Condition="'$(API_Family)'=='UWP'">$(PlatformVersion)</WindowsTargetPlatformMinVersion> 
     64    <ApplicationTypeRevision Condition="'$(API_Family)'=='UWP'">$(AppTypeRev)</ApplicationTypeRevision> 
    5665  </PropertyGroup> 
    5766  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> 
     
    128137    <CharacterSet>MultiByte</CharacterSet> 
    129138  </PropertyGroup> 
     139  <!-- Override the PlatformToolset --> 
     140  <PropertyGroup> 
     141    <PlatformToolset>$(BuildToolset)</PlatformToolset> 
     142    <CharacterSet Condition="'$(API_Family)'!='WinDesktop'"></CharacterSet> 
     143    <ConfigurationType Condition="'$(API_Family)'=='WinDesktop'">Application</ConfigurationType> 
     144    <ConfigurationType Condition="'$(API_Family)'=='UWP' Or '$(API_Family)'=='WinPhone8'">StaticLibrary</ConfigurationType> 
     145  </PropertyGroup>   
    130146  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> 
    131147  <ImportGroup Label="ExtensionSettings"> 
     
    194210  <PropertyGroup> 
    195211    <_ProjectFileVersion>14.0.22823.1</_ProjectFileVersion> 
    196         <TargetName>pjnath-test-$(TargetCPU)-$(Platform)-vc$(VSVer)-$(Configuration)</TargetName> 
    197   </PropertyGroup> 
     212          <TargetName>pjnath-test-$(TargetCPU)-$(Platform)-vc$(VSVer)-$(Configuration)</TargetName> 
     213  </PropertyGroup> 
     214  <!-- Compile and link option definition --> 
     215  <ItemDefinitionGroup> 
     216    <ClCompile> 
     217      <RuntimeLibrary Condition="'$(API_Family)'=='UWP'">MultiThreadedDebugDLL</RuntimeLibrary> 
     218    </ClCompile> 
     219    <Lib> 
     220      <OutputFile>..\lib\pjnath-test-$(TargetCPU)-$(Platform)-vc$(VSVer)-$(Configuration).lib</OutputFile> 
     221    </Lib> 
     222  </ItemDefinitionGroup> 
    198223  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> 
    199224    <ClCompile> 
Note: See TracChangeset for help on using the changeset viewer.