Ignore:
Timestamp:
Dec 10, 2015 1:58:38 AM (8 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-apps/build/sample_debug.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>{A0F1AA62-0F6F-420D-B09A-AC04B6862821}</ProjectGuid> 
    55     <RootNamespace>sample_debug</RootNamespace> 
     57    <RootNamespace>sample_debug</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" /> 
     
    127136    <UseOfMfc>false</UseOfMfc> 
    128137    <CharacterSet>MultiByte</CharacterSet> 
     138  </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> 
    129145  </PropertyGroup> 
    130146  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> 
     
    194210  <PropertyGroup> 
    195211    <_ProjectFileVersion>14.0.22823.1</_ProjectFileVersion> 
    196         <TargetName>sample-debug-$(TargetCPU)-$(Platform)-vc$(VSVer)-$(Configuration)</TargetName> 
    197   </PropertyGroup> 
     212          <TargetName>sample-debug-$(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\sample-debug-$(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.