Core.vcxproj.bak 11 KB
Newer Older
1 2 3
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <ItemGroup Label="ProjectConfigurations">
4 5 6 7
    <ProjectConfiguration Include="Debug|Win32">
      <Configuration>Debug</Configuration>
      <Platform>Win32</Platform>
    </ProjectConfiguration>
8 9 10 11
    <ProjectConfiguration Include="Debug|ARM">
      <Configuration>Debug</Configuration>
      <Platform>ARM</Platform>
    </ProjectConfiguration>
12 13 14 15
    <ProjectConfiguration Include="Release|Win32">
      <Configuration>Release</Configuration>
      <Platform>Win32</Platform>
    </ProjectConfiguration>
16 17 18 19 20 21 22
    <ProjectConfiguration Include="Release|ARM">
      <Configuration>Release</Configuration>
      <Platform>ARM</Platform>
    </ProjectConfiguration>
  </ItemGroup>
  <PropertyGroup Label="Globals">
    <ProjectGuid>{c8d75245-ffcf-4932-a228-c9cc8bb60b03}</ProjectGuid>
23
    <RootNamespace>Linphone.Core</RootNamespace>
24 25 26 27 28 29
    <DefaultLanguage>en-US</DefaultLanguage>
    <VCTargetsPath Condition="'$(VCTargetsPath11)' != '' and '$(VSVersion)' == '' and '$(VisualStudioVersion)' == ''">$(VCTargetsPath11)</VCTargetsPath>
    <MinimumVisualStudioVersion>11.0</MinimumVisualStudioVersion>
    <TargetPlatformIdentifier>Windows Phone</TargetPlatformIdentifier>
    <TargetPlatformVersion>8.0</TargetPlatformVersion>
    <WinMDAssembly>true</WinMDAssembly>
30
    <ProjectName>Core</ProjectName>
31 32
  </PropertyGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
33 34 35 36 37 38 39 40 41 42 43 44 45
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
    <ConfigurationType>DynamicLibrary</ConfigurationType>
    <UseDebugLibraries>true</UseDebugLibraries>
    <PlatformToolset>v110_wp80</PlatformToolset>
    <MidlEnv>win32</MidlEnv>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
    <ConfigurationType>DynamicLibrary</ConfigurationType>
    <UseDebugLibraries>false</UseDebugLibraries>
    <WholeProgramOptimization>true</WholeProgramOptimization>
    <PlatformToolset>v110_wp80</PlatformToolset>
    <MidlEnv>win32</MidlEnv>
  </PropertyGroup>
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="Configuration">
    <ConfigurationType>DynamicLibrary</ConfigurationType>
    <UseDebugLibraries>true</UseDebugLibraries>
    <PlatformToolset>v110_wp80</PlatformToolset>
    <MidlEnv>arm32</MidlEnv>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'" Label="Configuration">
    <ConfigurationType>DynamicLibrary</ConfigurationType>
    <UseDebugLibraries>false</UseDebugLibraries>
    <WholeProgramOptimization>true</WholeProgramOptimization>
    <PlatformToolset>v110_wp80</PlatformToolset>
    <MidlEnv>arm32</MidlEnv>
  </PropertyGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  <ImportGroup Label="PropertySheets">
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  </ImportGroup>
  <PropertyGroup Label="UserMacros" />
  <PropertyGroup>
    <GenerateManifest>false</GenerateManifest>
  </PropertyGroup>
67
  <PropertyGroup>
68 69 70 71
    <TargetName>$(RootNamespace)</TargetName>
    <CustomBuildAfterTargets>PostBuildEvent</CustomBuildAfterTargets>
    <OutDir>$(SolutionDir)$(PlatformTarget)\$(Configuration)\$(MSBuildProjectName)\</OutDir>
    <IntDir>$(PlatformTarget)\$(Configuration)\</IntDir>
Ghislain MARY's avatar
Ghislain MARY committed
72 73
    <ExtensionsToDeleteOnClean>*.winmd;$(ExtensionsToDeleteOnClean)</ExtensionsToDeleteOnClean>
    <IgnoreImportLibrary>false</IgnoreImportLibrary>
74 75 76
  </PropertyGroup>
  <ItemDefinitionGroup>
    <ClCompile>
77
      <PreprocessorDefinitions>_CRT_SECURE_NO_WARNINGS;WIN32;_WINRT_DLL;WIN32_LEAN_AND_MEAN;IN_LINPHONE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
78 79
      <PrecompiledHeader>NotUsing</PrecompiledHeader>
      <AdditionalUsingDirectories>$(WindowsSDK_WindowsMetadata);$(AdditionalUsingDirectories)</AdditionalUsingDirectories>
Ghislain MARY's avatar
Ghislain MARY committed
80 81
      <CompileAsWinRT>true</CompileAsWinRT>
      <GenerateXMLDocumentationFiles>true</GenerateXMLDocumentationFiles>
Ghislain MARY's avatar
Ghislain MARY committed
82
      <AdditionalIncludeDirectories>$(ProjectDir)../submodules/linphone/oRTP/include;$(ProjectDir)../submodules/linphone/mediastreamer2/include;$(ProjectDir)../submodules/linphone;$(ProjectDir)../submodules/linphone/include;$(ProjectDir)../submodules/belle-sip/include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
83 84 85 86
    </ClCompile>
    <Link>
      <SubSystem>Console</SubSystem>
      <IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries>
87
      <AdditionalDependencies>windowsphonecore.lib;runtimeobject.lib;PhoneAudioSes.lib;liblinphone_no_tunnel.lib;belle-sip_no_tunnel.lib;mediastreamer2.lib;ws2_32.lib;ortp.lib;gsm.lib;speex.lib;speexdsp.lib;%(AdditionalDependencies)</AdditionalDependencies>
88
      <IgnoreSpecificDefaultLibraries>ole32.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
Ghislain MARY's avatar
Ghislain MARY committed
89 90
      <GenerateWindowsMetadata>true</GenerateWindowsMetadata>
      <AdditionalLibraryDirectories>$(SolutionDir)$(Platform)\$(Configuration);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
91 92
    </Link>
    <CustomBuildStep>
Ghislain MARY's avatar
Ghislain MARY committed
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107
      <Command>
        pushd "$(OutDir)"

        WinMdIdl.exe "$(OutDir)$(RootNamespace).winmd"

        WinMdIdl.exe "$(OutDir)Mediastreamer2.WP8Video.winmd"

        MIdl.exe /env $(MidlEnv) /winrt /ns_prefix /metadata_dir "$(FrameworkSdkDir)Windows Metadata" /out "$(SolutionDir)$(ProjectName)ProxyStub" "$(OutDir)$(RootNamespace).idl"

        MIdl.exe /env $(MidlEnv) /winrt /ns_prefix /metadata_dir "$(FrameworkSdkDir)Windows Metadata" /out "$(SolutionDir)$(ProjectName)ProxyStub" "$(OutDir)Mediastreamer2.WP8Video.idl"

        MIdl.exe /env $(MidlEnv) /winrt /ns_prefix /metadata_dir "$(FrameworkSdkDir)Windows Metadata" /out "$(SolutionDir)$(ProjectName)ProxyStub" "$(OutDir)$(RootNamespace).OutOfProcess.idl"

        "$(ProjectDir)OopServerRegistrationHelper.exe" /winmd:"$(OutDir)$(RootNamespace).winmd" /dll_name:$(TargetName) /namespace:$(RootNamespace).OutOfProcess /app_manifest:"$(SolutionDir)Linphone\Properties\WMAppManifest.xml" /helper_dir:"$(SolutionDir)Agents"

108 109
        popd
      </Command>
110 111
    </CustomBuildStep>
    <CustomBuildStep>
Ghislain MARY's avatar
Ghislain MARY committed
112
      <Outputs>$(OutDir)$(RootNamespace).idl;$(OutDir)$(RootNamespace).OutOfProcess.idl;$(SolutionDir)$(ProjectName)ProxyStub\dlldata.c;$(SolutionDir)$(ProjectName)ProxyStub\$(RootNamespace)_i.c;$(SolutionDir)$(ProjectName)ProxyStub\$(RootNamespace)_p.c;$(SolutionDir)$(ProjectName)ProxyStub\$(RootNamespace).h;$(SolutionDir)$(ProjectName)ProxyStub\$(RootNamespace).OutOfProcess.h;$(SolutionDir)$(ProjectName)ProxyStub\$(RootNamespace).OutOfProcess_i.c;$(SolutionDir)$(ProjectName)ProxyStub\$(RootNamespace).OutOfProcess_p.c;$(SolutionDir)Agents\RegistrationHelper.cs;%(Outputs)</Outputs>
113 114
    </CustomBuildStep>
  </ItemDefinitionGroup>
115 116 117 118
  <ItemDefinitionGroup Condition="'$(Configuration)'=='Debug'">
    <ClCompile>
      <PreprocessorDefinitions>_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    </ClCompile>
119 120 121
    <ProjectReference>
      <LinkLibraryDependencies Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'">false</LinkLibraryDependencies>
    </ProjectReference>
122 123 124 125 126 127
  </ItemDefinitionGroup>
  <ItemDefinitionGroup Condition="'$(Configuration)'=='Release'">
    <ClCompile>
      <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
    </ClCompile>
  </ItemDefinitionGroup>
128 129 130 131 132 133 134 135 136 137 138
  <ItemGroup>
    <Reference Include="Windows">
      <IsWinMDFile>true</IsWinMDFile>
    </Reference>
    <Reference Include="platform.winmd">
      <IsWinMDFile>true</IsWinMDFile>
      <Private>false</Private>
    </Reference>
  </ItemGroup>
  <ItemGroup>
    <ClInclude Include="ApiLock.h" />
139
    <ClInclude Include="BackgroundModeLogger.h" />
140
    <ClInclude Include="CallController.h" />
141
    <ClInclude Include="Globals.h" />
142 143 144 145
    <ClInclude Include="LinphoneAddress.h" />
    <ClInclude Include="LinphoneCall.h" />
    <ClInclude Include="LinphoneCallLog.h" />
    <ClInclude Include="LinphoneCallParams.h" />
Sylvain Berfini's avatar
Sylvain Berfini committed
146
    <ClInclude Include="LinphoneCallStats.h" />
147
    <ClInclude Include="LinphoneChatMessage.h" />
148
    <ClInclude Include="LinphoneChatMessageListener.h" />
149
    <ClInclude Include="LinphoneChatRoom.h" />
150 151 152
    <ClInclude Include="LinphoneCoreFactory.h" />
    <ClInclude Include="LinphoneAuthInfo.h" />
    <ClInclude Include="LinphoneCore.h" />
153
    <ClInclude Include="LinphoneCoreListener.h" />
154
    <ClInclude Include="LinphoneProxyConfig.h" />
155
    <ClInclude Include="LpConfig.h" />
156
    <ClInclude Include="Enums.h" />
157
    <ClInclude Include="PayloadType.h" />
158
    <ClInclude Include="Server.h" />
159
    <ClInclude Include="Transports.h" />
Ghislain MARY's avatar
Ghislain MARY committed
160
    <ClInclude Include="Tunnel.h" />
161
    <ClInclude Include="Utils.h" />
162 163
    <ClInclude Include="VideoPolicy.h" />
    <ClInclude Include="VideoSize.h" />
164 165 166
  </ItemGroup>
  <ItemGroup>
    <ClCompile Include="ApiLock.cpp" />
167
    <ClCompile Include="BackgroundModeLogger.cpp" />
168
    <ClCompile Include="CallController.cpp" />
169
    <ClCompile Include="Globals.cpp" />
170 171 172 173 174
    <ClCompile Include="LinphoneAddress.cpp" />
    <ClCompile Include="LinphoneAuthInfo.cpp" />
    <ClCompile Include="LinphoneCall.cpp" />
    <ClCompile Include="LinphoneCallLog.cpp" />
    <ClCompile Include="LinphoneCallParams.cpp" />
Sylvain Berfini's avatar
Sylvain Berfini committed
175
    <ClCompile Include="LinphoneCallStats.cpp" />
176
    <ClCompile Include="LinphoneChatMessage.cpp" />
177
    <ClCompile Include="LinphoneChatRoom.cpp" />
178 179
    <ClCompile Include="LinphoneCore.cpp" />
    <ClCompile Include="LinphoneCoreFactory.cpp" />
180 181 182
    <ClCompile Include="LinphoneProxyConfig.cpp" />
    <ClCompile Include="LpConfig.cpp" />
    <ClCompile Include="PayloadType.cpp" />
183
    <ClCompile Include="Transports.cpp" />
Ghislain MARY's avatar
Ghislain MARY committed
184
    <ClCompile Include="Tunnel.cpp" />
185
    <ClCompile Include="Utils.cpp" />
186 187
    <ClCompile Include="VideoPolicy.cpp" />
    <ClCompile Include="VideoSize.cpp" />
188 189 190
  </ItemGroup>
  <ItemGroup>
    <None Include="OopServerRegistrationHelper.exe">
Ghislain MARY's avatar
Ghislain MARY committed
191 192
      <ExcludedFromBuild>true</ExcludedFromBuild>
      <DeploymentContent>false</DeploymentContent>
193 194
    </None>
  </ItemGroup>
195
  <ItemGroup>
196
    <ProjectReference Include="..\submodules\belle-sip\build\wp8\belle-sip\belle-sip_no_tunnel.vcxproj">
197 198
      <Project>{4c225a82-800b-427b-ba7b-61686a9b347f}</Project>
    </ProjectReference>
199
    <ProjectReference Include="..\submodules\linphone\build\wp8\LibLinphone_no_tunnel.vcxproj">
200 201
      <Project>{08dd0d38-d9b5-4626-b60d-b4d76b571142}</Project>
    </ProjectReference>
202
    <ProjectReference Include="..\submodules\mswp8vid\mswp8vid\mswp8vid.vcxproj">
Ghislain MARY's avatar
Ghislain MARY committed
203 204
      <Project>{0565952a-ea62-46a2-8261-f5b4b490da42}</Project>
    </ProjectReference>
205
  </ItemGroup>
206 207
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  <Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsPhone\v$(TargetPlatformVersion)\Microsoft.Cpp.WindowsPhone.$(TargetPlatformVersion).targets" />
208
</Project>