2015-10-06 10:46:43 -07:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Threading.Tasks;
|
2015-10-16 15:30:28 -07:00
|
|
|
|
using System.Runtime.InteropServices;
|
2015-10-06 10:46:43 -07:00
|
|
|
|
|
|
|
|
|
namespace Microsoft.DotNet.Cli.Utils
|
|
|
|
|
{
|
|
|
|
|
internal static class Constants
|
|
|
|
|
{
|
2015-10-21 15:21:14 -07:00
|
|
|
|
public static readonly string ExeSuffix = RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ? ".exe" : string.Empty;
|
|
|
|
|
public static readonly string HostExecutableName = "corehost" + ExeSuffix;
|
2015-10-13 14:31:29 -07:00
|
|
|
|
public static readonly string DefaultConfiguration = "Debug";
|
2015-10-15 12:56:07 -07:00
|
|
|
|
public static readonly string BinDirectoryName = "bin";
|
2015-10-18 21:07:48 -07:00
|
|
|
|
public static readonly string ObjDirectoryName = "obj";
|
2015-10-29 12:03:01 -07:00
|
|
|
|
|
2015-10-30 14:48:09 -07:00
|
|
|
|
public static readonly string DynamicLibSuffix = RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ? ".dll" :
|
|
|
|
|
RuntimeInformation.IsOSPlatform(OSPlatform.OSX) ? ".dylib" : ".so";
|
2015-10-29 12:03:01 -07:00
|
|
|
|
|
2015-10-30 14:48:09 -07:00
|
|
|
|
public static readonly string StaticLibSuffix = RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ? ".lib" : ".a" ;
|
2015-10-06 10:46:43 -07:00
|
|
|
|
}
|
|
|
|
|
}
|