| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- <!--
- Copyright (c) 2019 Chris Burns <[email protected]>
- Permission is hereby granted, free of charge, to any person obtaining a copy
- of this software and associated documentation files (the "Software"), to deal
- in the Software without restriction, including without limitation the rights
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- copies of the Software, and to permit persons to whom the Software is
- furnished to do so, subject to the following conditions:
- The above copyright notice and this permission notice shall be included in all
- copies or substantial portions of the Software.
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- SOFTWARE.
- -->
- <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
-
- <PropertyGroup>
- <SlnDir>$(MSBuildThisFileDirectory)</SlnDir>
- <SlnDir Condition="!HasTrailingSlash('$(SlnDir)')">$(SlnDir)\</SlnDir>
-
- <CsDir>$(SlnDir)MSBuild\</CsDir>
-
- <SdkDir>$(MSBuildExtensionsPath)</SdkDir>
- <SdkDir Condition="!HasTrailingSlash('$(SdkDir)')">$(SdkDir)\</SdkDir>
- </PropertyGroup>
- <PropertyGroup>
- <OSPlatformWindows Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Windows)))' == 'true'">true</OSPlatformWindows>
- <OSPlatformLinux Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))' == 'true'">true</OSPlatformLinux>
- <OSPlatformOSX Condition="'$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::OSX)))' == 'true'">true</OSPlatformOSX>
- </PropertyGroup>
- <PropertyGroup Condition="'$(OSPlatformWindows)' == 'true'">
- <DefineConstants>$(DefineConstants);EN_PLATFORM_WINDOWS;EN_SOCK_API_WINSOCK</DefineConstants>
- </PropertyGroup>
- <PropertyGroup Condition="'$(OSPlatformLinux)' == 'true'">
- <DefineConstants>$(DefineConstants);EN_PLATFORM_LINUX;EN_SOCK_API_POSIX</DefineConstants>
- </PropertyGroup>
- <PropertyGroup Condition="'$(OSPlatformOSX)' == 'true'">
- <DefineConstants>$(DefineConstants);EN_PLATFORM_OSX;EN_SOCK_API_POSIX</DefineConstants>
- </PropertyGroup>
- <PropertyGroup>
- <PluginDir>$(SlnDir)build_cmake_enet\</PluginDir>
- <PluginDir Condition="'$(OSPlatformWindows)' == 'true'">$(PluginDir)$(Configuration)\</PluginDir>
- <PluginArchDir></PluginArchDir>
- <PluginBaseName>enet</PluginBaseName>
-
- <PluginPrefix Condition="'$(OSPlatformLinux)' == 'true'">lib</PluginPrefix>
- <PluginPrefix Condition="'$(OSPlatformOSX)' == 'true'">lib</PluginPrefix>
- <PluginExt Condition="'$(PluginExt)' == ''">dll</PluginExt>
- <PluginExt Condition="'$(OSPlatformLinux)' == 'true'">so</PluginExt>
- <PluginExt Condition="'$(OSPlatformOSX)' == 'true'">dylib</PluginExt>
- </PropertyGroup>
-
- </Project>
|