Ignore:
Timestamp:
Jan 18, 2017 7:01:37 AM (8 years ago)
Author:
riza
Message:

Re #1900: Misc updates, some projects are platform specific. Prevent it from being built for the unintended platform.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/uwp/pjsip-apps/src/pjsua/winrt/cli/comp/pjsua_cli_uwp_comp.vcxproj

    r5470 r5528  
    110110  <ImportGroup Label="ExtensionSettings"> 
    111111  </ImportGroup> 
    112   <ImportGroup Condition="'$(API_Family)'=='UWP'"> 
    113     <Import Project="pjsua_cli_shared_comp.vcxitems" Label="Shared" /> 
    114   </ImportGroup> 
     112  <Import Project="pjsua_cli_shared_comp.vcxitems" Label="Shared" />   
    115113  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> 
    116114    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> 
     
    271269      <OutputFile>..\lib\pjsua-cli-uwp-comp-$(TargetCPU)-$(Platform)-vc$(VSVer)-$(Configuration).dll</OutputFile> 
    272270    </Link> 
    273   </ItemDefinitionGroup> 
    274   <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> 
     271  </ItemDefinitionGroup>   
     272  <!--Don't build this project unless it's for UWP--> 
     273  <Import Condition="'$(API_Family)'=='UWP'" Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> 
     274  <Import Condition="'$(API_Family)'!='UWP'" Project="..\..\..\..\..\..\..\build\vs\pjproject-vs14-build-targets.targets" />       
    275275  <ImportGroup Label="ExtensionTargets"> 
    276276  </ImportGroup> 
Note: See TracChangeset for help on using the changeset viewer.