////////////////////////////////////////////////////////////////////////////////
//
// @module IOS Deploy
// @author Stanislav Osipov (Stan's Assets)
// @support support@stansassets.com
//
////////////////////////////////////////////////////////////////////////////////
namespace StansAssets.IOS.XCode
{
///
/// XCode project library.
///
[System.Serializable]
public class XCodeLibrary
{
XCodeLibraryName m_LibraryName;
bool m_IsOptional;
///
/// Library Name.
///
public XCodeLibraryName Name
{
get => m_LibraryName;
internal set => m_LibraryName = value;
}
///
/// Defines if dependency is optional or not.
///
public bool IsOptional
{
get => m_IsOptional;
internal set => m_IsOptional = value;
}
///
/// Full library name
///
/// The name.
public string FullName => LibraryHandler.StringValueOf(m_LibraryName);
public XCodeLibrary(XCodeLibraryName lib, bool optional = false)
{
m_LibraryName = lib;
m_IsOptional = optional;
}
}
}