diff options
Diffstat (limited to '')
-rw-r--r-- | project/ci/dirs.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/project/ci/dirs.py b/project/ci/dirs.py index bda4360..33bd667 100644 --- a/project/ci/dirs.py +++ b/project/ci/dirs.py @@ -11,6 +11,7 @@ from project.boost.version import Version from project.ci.appveyor.generator import Generator, Image from project.configuration import Configuration from project.platform import Platform +from project.toolchain import ToolchainType from project.utils import env @@ -37,6 +38,11 @@ class Dirs(abc.ABC): def this_one(self): pass + def get_toolset(self): + if 'toolset' in os.environ: + return ToolchainType.parse(os.environ['toolset']) + return None + @abc.abstractmethod def get_platform(self): pass |