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/cmake/build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'project/cmake/build.py') 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): -- cgit v1.2.3