aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/project/boost/toolchain.py
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-03-23 18:52:49 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-03-23 18:52:49 +0300
commit8b3d24461ff1946fee8f599bfdc77453691f388d (patch)
tree82439782d9127464de224c71dc343dfbecb0d1c6 /project/boost/toolchain.py
parentproject.boost.build: refactoring & cleanup (diff)
downloadcmake-common-8b3d24461ff1946fee8f599bfdc77453691f388d.tar.gz
cmake-common-8b3d24461ff1946fee8f599bfdc77453691f388d.zip
project: minor refactoring
Diffstat (limited to '')
-rw-r--r--project/boost/toolchain.py6
1 files changed, 3 insertions, 3 deletions
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