From 8b3d24461ff1946fee8f599bfdc77453691f388d Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Tue, 23 Mar 2021 18:52:49 +0300 Subject: project: minor refactoring --- project/boost/toolchain.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'project/boost') diff --git a/project/boost/toolchain.py b/project/boost/toolchain.py index f79cc17..cd1a422 100644 --- a/project/boost/toolchain.py +++ b/project/boost/toolchain.py @@ -205,7 +205,7 @@ class BoostBuildToolset: ;''' -class ConfigFile(Toolchain): +class CustomToolchain(Toolchain): def __init__(self, platform, config_path, toolset): super().__init__(platform) self.config_path = config_path @@ -240,7 +240,7 @@ class ConfigFile(Toolchain): return args -class GCC(ConfigFile): +class GCC(CustomToolchain): # Force GCC. We don't care whether it's a native Linux GCC or a # MinGW-flavoured GCC on Windows. COMPILER = 'gcc' @@ -277,7 +277,7 @@ class MinGW(GCC): return BoostBuildToolset(MinGW.COMPILER, compiler, MinGW.get_options()) -class Clang(ConfigFile): +class Clang(CustomToolchain): COMPILER = 'clang' @staticmethod -- cgit v1.2.3