Source code for skbuild.platform_specifics.unix
"""This module defines object specific to Unix platform."""
from .abstract import CMakeGenerator
from . import abstract
# pylint:disable=abstract-method
[docs]class UnixPlatform(abstract.CMakePlatform):
"""Unix implementation of :class:`.abstract.CMakePlatform`."""
def __init__(self):
super(UnixPlatform, self).__init__()
self.default_generators = [
CMakeGenerator("Ninja"),
CMakeGenerator("Unix Makefiles")
]