swig_csharp_pjsua2.vcxproj 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <ItemGroup Label="ProjectConfigurations">
  4. <ProjectConfiguration Include="Debug|ARM64">
  5. <Configuration>Debug</Configuration>
  6. <Platform>ARM64</Platform>
  7. </ProjectConfiguration>
  8. <ProjectConfiguration Include="Debug|Win32">
  9. <Configuration>Debug</Configuration>
  10. <Platform>Win32</Platform>
  11. </ProjectConfiguration>
  12. <ProjectConfiguration Include="Debug|x64">
  13. <Configuration>Debug</Configuration>
  14. <Platform>x64</Platform>
  15. </ProjectConfiguration>
  16. <ProjectConfiguration Include="Release|ARM64">
  17. <Configuration>Release</Configuration>
  18. <Platform>ARM64</Platform>
  19. </ProjectConfiguration>
  20. <ProjectConfiguration Include="Release|Win32">
  21. <Configuration>Release</Configuration>
  22. <Platform>Win32</Platform>
  23. </ProjectConfiguration>
  24. <ProjectConfiguration Include="Release|x64">
  25. <Configuration>Release</Configuration>
  26. <Platform>x64</Platform>
  27. </ProjectConfiguration>
  28. </ItemGroup>
  29. <!-- Import common config -->
  30. <Import Project="..\..\build\vs\pjproject-vs14-common-config.props" />
  31. <PropertyGroup Label="Globals">
  32. <ProjectGuid>{549DFCA7-7B0C-410D-BCEC-9C204AD45638}</ProjectGuid>
  33. <TargetName>pjsua2</TargetName>
  34. <RootNamespace>swig_csharp_pjsua2</RootNamespace>
  35. <WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
  36. </PropertyGroup>
  37. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
  38. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
  39. <ConfigurationType>DynamicLibrary</ConfigurationType>
  40. <PlatformToolset>v140</PlatformToolset>
  41. <CharacterSet>MultiByte</CharacterSet>
  42. <WholeProgramOptimization>true</WholeProgramOptimization>
  43. <CLRSupport>true</CLRSupport>
  44. </PropertyGroup>
  45. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
  46. <ConfigurationType>DynamicLibrary</ConfigurationType>
  47. <PlatformToolset>v140</PlatformToolset>
  48. <CharacterSet>MultiByte</CharacterSet>
  49. <CLRSupport>true</CLRSupport>
  50. </PropertyGroup>
  51. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
  52. <ConfigurationType>DynamicLibrary</ConfigurationType>
  53. <PlatformToolset>v140</PlatformToolset>
  54. <CharacterSet>MultiByte</CharacterSet>
  55. <WholeProgramOptimization>true</WholeProgramOptimization>
  56. <CLRSupport>true</CLRSupport>
  57. </PropertyGroup>
  58. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="Configuration">
  59. <ConfigurationType>DynamicLibrary</ConfigurationType>
  60. <PlatformToolset>v140</PlatformToolset>
  61. <CharacterSet>MultiByte</CharacterSet>
  62. <WholeProgramOptimization>true</WholeProgramOptimization>
  63. </PropertyGroup>
  64. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
  65. <ConfigurationType>DynamicLibrary</ConfigurationType>
  66. <PlatformToolset>v140</PlatformToolset>
  67. <CharacterSet>MultiByte</CharacterSet>
  68. <CLRSupport>true</CLRSupport>
  69. </PropertyGroup>
  70. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="Configuration">
  71. <ConfigurationType>DynamicLibrary</ConfigurationType>
  72. <PlatformToolset>v140</PlatformToolset>
  73. <CharacterSet>MultiByte</CharacterSet>
  74. </PropertyGroup>
  75. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  76. <ImportGroup Label="ExtensionSettings">
  77. </ImportGroup>
  78. <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="PropertySheets">
  79. <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  80. <Import Project="..\..\build\vs\pjproject-vs14-win32-release-defaults.props" />
  81. <Import Project="..\..\build\vs\pjproject-vs14-release-dynamic-defaults.props" />
  82. </ImportGroup>
  83. <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="PropertySheets">
  84. <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  85. <Import Project="..\..\build\vs\pjproject-vs14-win32-common-defaults.props" />
  86. <Import Project="..\..\build\vs\pjproject-vs14-debug-static-defaults.props" />
  87. </ImportGroup>
  88. <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
  89. <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  90. <Import Project="..\..\build\vs\pjproject-vs14-win64-release-defaults.props" />
  91. <Import Project="..\..\build\vs\pjproject-vs14-release-dynamic-defaults.props" />
  92. </ImportGroup>
  93. <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'" Label="PropertySheets">
  94. <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  95. <Import Project="..\..\build\vs\pjproject-vs14-arm64-release-defaults.props" />
  96. <Import Project="..\..\build\vs\pjproject-vs14-release-dynamic-defaults.props" />
  97. </ImportGroup>
  98. <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
  99. <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  100. <Import Project="..\..\build\vs\pjproject-vs14-win64-common-defaults.props" />
  101. <Import Project="..\..\build\vs\pjproject-vs14-debug-static-defaults.props" />
  102. </ImportGroup>
  103. <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'" Label="PropertySheets">
  104. <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
  105. <Import Project="..\..\build\vs\pjproject-vs14-arm64-common-defaults.props" />
  106. <Import Project="..\..\build\vs\pjproject-vs14-debug-static-defaults.props" />
  107. </ImportGroup>
  108. <PropertyGroup Label="UserMacros" />
  109. <PropertyGroup>
  110. <_ProjectFileVersion>14.0.25431.1</_ProjectFileVersion>
  111. <OutDir>..\src\swig\csharp\output\</OutDir>
  112. </PropertyGroup>
  113. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
  114. <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
  115. <CodeAnalysisRules />
  116. <CodeAnalysisRuleAssemblies />
  117. <LibraryPath>D:\work\opt\lib;$(LibraryPath)</LibraryPath>
  118. </PropertyGroup>
  119. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
  120. <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
  121. <CodeAnalysisRules />
  122. <CodeAnalysisRuleAssemblies />
  123. </PropertyGroup>
  124. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  125. <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
  126. <CodeAnalysisRules />
  127. <CodeAnalysisRuleAssemblies />
  128. <LibraryPath>D:\work\opt\lib;$(LibraryPath)</LibraryPath>
  129. </PropertyGroup>
  130. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
  131. <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
  132. <CodeAnalysisRules />
  133. <CodeAnalysisRuleAssemblies />
  134. <LibraryPath>D:\work\opt\lib;$(LibraryPath)</LibraryPath>
  135. </PropertyGroup>
  136. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
  137. <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
  138. <CodeAnalysisRules />
  139. <CodeAnalysisRuleAssemblies />
  140. </PropertyGroup>
  141. <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  142. <CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
  143. <CodeAnalysisRules />
  144. <CodeAnalysisRuleAssemblies />
  145. <LibraryPath>D:\work\opt\lib;$(LibraryPath)</LibraryPath>
  146. </PropertyGroup>
  147. <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
  148. <ClCompile>
  149. <Optimization>Disabled</Optimization>
  150. <AdditionalIncludeDirectories>../../pjsip/include;../../pjlib/include;../../pjlib-util/include;../../pjmedia/include;../../pjnath/include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  151. <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
  152. <WarningLevel>Level3</WarningLevel>
  153. </ClCompile>
  154. <Link>
  155. <AdditionalDependencies>Iphlpapi.lib;dsound.lib;dxguid.lib;netapi32.lib;mswsock.lib;ws2_32.lib;odbc32.lib;odbccp32.lib;ole32.lib;user32.lib;gdi32.lib;advapi32.lib;%(AdditionalDependencies)</AdditionalDependencies>
  156. <OutputFile>..\src\swig\csharp\output\pjsua2.dll</OutputFile>
  157. <IgnoreSpecificDefaultLibraries>msvcrt.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
  158. <GenerateDebugInformation>true</GenerateDebugInformation>
  159. <TargetMachine>MachineX86</TargetMachine>
  160. </Link>
  161. </ItemDefinitionGroup>
  162. <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
  163. <Midl>
  164. <TargetEnvironment>X64</TargetEnvironment>
  165. </Midl>
  166. <ClCompile>
  167. <Optimization>Disabled</Optimization>
  168. <AdditionalIncludeDirectories>../../pjsip/include;../../pjlib/include;../../pjlib-util/include;../../pjmedia/include;../../pjnath/include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  169. <RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
  170. <WarningLevel>Level3</WarningLevel>
  171. </ClCompile>
  172. <Link>
  173. <AdditionalDependencies>Iphlpapi.lib;dsound.lib;dxguid.lib;netapi32.lib;mswsock.lib;ws2_32.lib;odbc32.lib;odbccp32.lib;ole32.lib;user32.lib;gdi32.lib;advapi32.lib;%(AdditionalDependencies)</AdditionalDependencies>
  174. <OutputFile>..\src\swig\csharp\output\pjsua2.dll</OutputFile>
  175. <IgnoreSpecificDefaultLibraries>msvcrt.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
  176. <GenerateDebugInformation>true</GenerateDebugInformation>
  177. <TargetMachine>MachineX64</TargetMachine>
  178. </Link>
  179. </ItemDefinitionGroup>
  180. <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">
  181. <Midl />
  182. <ClCompile>
  183. <Optimization>Disabled</Optimization>
  184. <AdditionalIncludeDirectories>../../pjsip/include;../../pjlib/include;../../pjlib-util/include;../../pjmedia/include;../../pjnath/include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  185. <MinimalRebuild>true</MinimalRebuild>
  186. <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
  187. <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
  188. <WarningLevel>Level3</WarningLevel>
  189. <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
  190. </ClCompile>
  191. <Link>
  192. <AdditionalDependencies>Iphlpapi.lib;dsound.lib;dxguid.lib;netapi32.lib;mswsock.lib;ws2_32.lib;odbc32.lib;odbccp32.lib;ole32.lib;user32.lib;gdi32.lib;advapi32.lib;%(AdditionalDependencies)</AdditionalDependencies>
  193. <OutputFile>..\src\swig\csharp\output\pjsua2.dll</OutputFile>
  194. <IgnoreSpecificDefaultLibraries>msvcrt.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
  195. <GenerateDebugInformation>true</GenerateDebugInformation>
  196. </Link>
  197. </ItemDefinitionGroup>
  198. <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
  199. <ClCompile>
  200. <AdditionalIncludeDirectories>../../pjsip/include;../../pjlib/include;../../pjlib-util/include;../../pjmedia/include;../../pjnath/include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  201. <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
  202. <WarningLevel>Level3</WarningLevel>
  203. <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
  204. </ClCompile>
  205. <Link>
  206. <AdditionalDependencies>Iphlpapi.lib;dsound.lib;dxguid.lib;netapi32.lib;mswsock.lib;ws2_32.lib;odbc32.lib;odbccp32.lib;ole32.lib;user32.lib;gdi32.lib;advapi32.lib;%(AdditionalDependencies)</AdditionalDependencies>
  207. <OutputFile>..\src\swig\csharp\output\pjsua2.dll</OutputFile>
  208. <IgnoreSpecificDefaultLibraries>msvcrt.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
  209. <GenerateDebugInformation>true</GenerateDebugInformation>
  210. <OptimizeReferences>true</OptimizeReferences>
  211. <EnableCOMDATFolding>true</EnableCOMDATFolding>
  212. <TargetMachine>MachineX86</TargetMachine>
  213. </Link>
  214. </ItemDefinitionGroup>
  215. <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
  216. <Midl>
  217. <TargetEnvironment>X64</TargetEnvironment>
  218. </Midl>
  219. <ClCompile>
  220. <AdditionalIncludeDirectories>../../pjsip/include;../../pjlib/include;../../pjlib-util/include;../../pjmedia/include;../../pjnath/include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  221. <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary>
  222. <WarningLevel>Level3</WarningLevel>
  223. </ClCompile>
  224. <Link>
  225. <AdditionalDependencies>Iphlpapi.lib;dsound.lib;dxguid.lib;netapi32.lib;mswsock.lib;ws2_32.lib;odbc32.lib;odbccp32.lib;ole32.lib;user32.lib;gdi32.lib;advapi32.lib;%(AdditionalDependencies)</AdditionalDependencies>
  226. <OutputFile>..\src\swig\csharp\output\pjsua2.dll</OutputFile>
  227. <IgnoreSpecificDefaultLibraries>msvcrt.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
  228. <GenerateDebugInformation>true</GenerateDebugInformation>
  229. <OptimizeReferences>true</OptimizeReferences>
  230. <EnableCOMDATFolding>true</EnableCOMDATFolding>
  231. <TargetMachine>MachineX64</TargetMachine>
  232. </Link>
  233. </ItemDefinitionGroup>
  234. <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">
  235. <Midl />
  236. <ClCompile>
  237. <AdditionalIncludeDirectories>../../pjsip/include;../../pjlib/include;../../pjlib-util/include;../../pjmedia/include;../../pjnath/include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
  238. <RuntimeLibrary>MultiThreaded</RuntimeLibrary>
  239. <WarningLevel>Level3</WarningLevel>
  240. <DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
  241. </ClCompile>
  242. <Link>
  243. <AdditionalDependencies>Iphlpapi.lib;dsound.lib;dxguid.lib;netapi32.lib;mswsock.lib;ws2_32.lib;odbc32.lib;odbccp32.lib;ole32.lib;user32.lib;gdi32.lib;advapi32.lib;%(AdditionalDependencies)</AdditionalDependencies>
  244. <OutputFile>..\src\swig\csharp\output\pjsua2.dll</OutputFile>
  245. <IgnoreSpecificDefaultLibraries>msvcrt.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
  246. <GenerateDebugInformation>true</GenerateDebugInformation>
  247. <OptimizeReferences>true</OptimizeReferences>
  248. <EnableCOMDATFolding>true</EnableCOMDATFolding>
  249. </Link>
  250. </ItemDefinitionGroup>
  251. <ItemGroup>
  252. <ClCompile Include="..\src\swig\csharp\output\pjsua2_wrap.cpp" />
  253. </ItemGroup>
  254. <ItemGroup>
  255. <ClInclude Include="..\src\swig\csharp\output\pjsua2_wrap.h" />
  256. </ItemGroup>
  257. <ItemGroup>
  258. <CustomBuild Include="..\src\swig\pjsua2.i">
  259. <Command Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">%40echo off
  260. %40echo **************************************************************
  261. %40echo - Make sure %27swig%27 is in your PATH environment vars.
  262. %40echo - Add the dependency library locations (e.g: OpenH264) to library search paths in the project settings.
  263. %40echo - Since we are building DLL, make sure the PJSIP library is built using "dynamic" configuration, e.g: Debug-Dynamic, Release-Dynamic.
  264. %40echo **************************************************************
  265. %40echo on
  266. %40echo Building pjsua2.dll to $(OutDir)
  267. swig -c++ -csharp -w312 -namespace pjsua2xamarin.pjsua2 -I$(ProjectDir)..\..\pjsip\include -I$(ProjectDir)..\..\pjlib\include -o $(OutDir)pjsua2_wrap.cpp %(FullPath)
  268. </Command>
  269. <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(OutDir)pjsua2_wrap.cpp;$(OutDir)pjsua2_wrap.h;%(Outputs)</Outputs>
  270. <Command Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">%40echo off
  271. %40echo **************************************************************
  272. %40echo - Make sure %27swig%27 is in your PATH environment vars.
  273. %40echo - Add the dependency library locations (e.g: OpenH264) to library search paths in the project settings.
  274. %40echo - Since we are building DLL, make sure the PJSIP library is built using "dynamic" configuration, e.g: Debug-Dynamic, Release-Dynamic.
  275. %40echo **************************************************************
  276. %40echo on
  277. %40echo Building pjsua2.dll to $(OutDir)
  278. swig -c++ -csharp -w312 -namespace pjsua2xamarin.pjsua2 -I$(ProjectDir)..\..\pjsip\include -I$(ProjectDir)..\..\pjlib\include -o $(OutDir)pjsua2_wrap.cpp %(FullPath)
  279. </Command>
  280. <Command Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">%40echo off
  281. %40echo **************************************************************
  282. %40echo Make sure %27swig%27 is in your PATH environment vars.
  283. %40echo **************************************************************
  284. %40echo on
  285. %40echo Building pjsua2.dll to $(OutDir)
  286. swig -c++ -csharp -I$(ProjectDir)..\..\pjsip\include -I$(ProjectDir)..\..\pjlib\include -outdir $(OutDir) -o $(OutDir)pjsua2_wrap.cpp %(FullPath)
  287. </Command>
  288. <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">$(OutDir)pjsua2_wrap.cpp;$(OutDir)pjsua2_wrap.h;%(Outputs)</Outputs>
  289. <Outputs Condition="'$(Configuration)|$(Platform)'=='Debug|ARM64'">$(OutDir)pjsua2_wrap.cpp;$(OutDir)pjsua2_wrap.h;%(Outputs)</Outputs>
  290. <Command Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">%40echo off
  291. %40echo **************************************************************
  292. %40echo - Make sure %27swig%27 is in your PATH environment vars.
  293. %40echo - Add the dependency library locations (e.g: OpenH264) to library search paths in the project settings.
  294. %40echo - Since we are building DLL, make sure the PJSIP library is built using "dynamic" configuration, e.g: Debug-Dynamic, Release-Dynamic.
  295. %40echo **************************************************************
  296. %40echo on
  297. %40echo Building pjsua2.dll to $(OutDir)
  298. swig -c++ -csharp -w312 -namespace pjsua2xamarin.pjsua2 -I$(ProjectDir)..\..\pjsip\include -I$(ProjectDir)..\..\pjlib\include -o $(OutDir)pjsua2_wrap.cpp %(FullPath)
  299. </Command>
  300. <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(OutDir)pjsua2_wrap.cpp;$(OutDir)pjsua2_wrap.h;%(Outputs)</Outputs>
  301. <Command Condition="'$(Configuration)|$(Platform)'=='Release|x64'">%40echo off
  302. %40echo **************************************************************
  303. %40echo - Make sure %27swig%27 is in your PATH environment vars.
  304. %40echo - Add the dependency library locations (e.g: OpenH264) to library search paths in the project settings.
  305. %40echo - Since we are building DLL, make sure the PJSIP library is built using "dynamic" configuration, e.g: Debug-Dynamic, Release-Dynamic.
  306. %40echo **************************************************************
  307. %40echo on
  308. %40echo Building pjsua2.dll to $(OutDir)
  309. swig -c++ -csharp -w312 -namespace pjsua2xamarin.pjsua2 -I$(ProjectDir)..\..\pjsip\include -I$(ProjectDir)..\..\pjlib\include -o $(OutDir)pjsua2_wrap.cpp %(FullPath)
  310. </Command>
  311. <Command Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">%40echo off
  312. %40echo **************************************************************
  313. %40echo Make sure %27swig%27 is in your PATH environment vars.
  314. %40echo **************************************************************
  315. %40echo on
  316. %40echo Building pjsua2.dll to $(OutDir)
  317. swig -c++ -csharp -I$(ProjectDir)..\..\pjsip\include -I$(ProjectDir)..\..\pjlib\include -outdir $(OutDir) -o $(OutDir)pjsua2_wrap.cpp %(FullPath)
  318. </Command>
  319. <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|x64'">$(OutDir)pjsua2_wrap.cpp;$(OutDir)pjsua2_wrap.h;%(Outputs)</Outputs>
  320. <Outputs Condition="'$(Configuration)|$(Platform)'=='Release|ARM64'">$(OutDir)pjsua2_wrap.cpp;$(OutDir)pjsua2_wrap.h;%(Outputs)</Outputs>
  321. </CustomBuild>
  322. </ItemGroup>
  323. <ItemGroup>
  324. <ProjectReference Include="..\..\pjsip\build\pjsua2_lib.vcxproj">
  325. <Project>{b82cdd25-6903-430e-bd38-d8129a2015c1}</Project>
  326. </ProjectReference>
  327. <ProjectReference Include="libpjproject.vcxproj">
  328. <Project>{23d7679c-764c-4e02-8b29-bb882ceeefe2}</Project>
  329. </ProjectReference>
  330. </ItemGroup>
  331. <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  332. <ImportGroup Label="ExtensionTargets">
  333. </ImportGroup>
  334. </Project>