aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/project/cmake/build.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/cmake/build.py
parentproject.boost.build: refactoring & cleanup (diff)
downloadcmake-common-8b3d24461ff1946fee8f599bfdc77453691f388d.tar.gz
cmake-common-8b3d24461ff1946fee8f599bfdc77453691f388d.zip
project: minor refactoring
Diffstat (limited to 'project/cmake/build.py')
-rw-r--r--project/cmake/build.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/project/cmake/build.py b/project/cmake/build.py
index 4669c5e..9f9bc00 100644
--- a/project/cmake/build.py
+++ b/project/cmake/build.py
@@ -66,7 +66,7 @@ class GenerationPhase:
def _cmake_args(self, toolchain):
result = []
- result += toolchain.get_cmake_args()
+ result += toolchain.cmake_args()
result += self.configuration.cmake_args()
result += self._cmake_boost_args()
result += self.cmake_args
@@ -112,7 +112,7 @@ class BuildPhase:
result += ['--config', str(self.configuration)]
if self.install_dir is not None:
result += ['--target', 'install']
- result += ['--'] + toolchain.get_build_args()
+ result += ['--'] + toolchain.build_system_args()
return result
def run(self, toolchain):