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/pjsip/build/pjsip_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>{B3F7D4E9-702F-4EB4-ADA8-098D0A83D770}</ProjectGuid> 
    5557    <RootNamespace>pjsip_test</RootNamespace> 
     58    <!-- Specific UWP property --> 
     59    <DefaultLanguage>en-US</DefaultLanguage> 
     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"> 
    132148  </ImportGroup> 
    133 <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release-Static|Win32'" Label="PropertySheets"> 
     149  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release-Static|Win32'" Label="PropertySheets"> 
    134150    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 
    135151        <Import Project="..\..\build\vs\pjproject-vs14-win32-release-defaults.props" /> 
     
    194210  <PropertyGroup> 
    195211    <_ProjectFileVersion>14.0.22823.1</_ProjectFileVersion>      
    196         <TargetName>pjsip-test-$(TargetCPU)-$(Platform)-vc$(VSVer)-$(Configuration)</TargetName> 
    197   </PropertyGroup> 
     212          <TargetName>pjsip-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\pjsip-test-$(TargetCPU)-$(Platform)-vc$(VSVer)-$(Configuration).lib</OutputFile> 
     221    </Lib> 
     222  </ItemDefinitionGroup> 
    198223  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> 
    199224    <ClCompile> 
Note: See TracChangeset for help on using the changeset viewer.