diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-03-20 18:08:30 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-03-20 18:08:30 +0300 |
commit | fb12e2d2bba3d74d42108795bb682f1271f802c3 (patch) | |
tree | a3243564e1043a07228983aa93785ff828171176 /project/platform.py | |
parent | workflows: fail-fast (diff) | |
download | cmake-common-fb12e2d2bba3d74d42108795bb682f1271f802c3.tar.gz cmake-common-fb12e2d2bba3d74d42108795bb682f1271f802c3.zip |
project: minor refactoring
Diffstat (limited to 'project/platform.py')
-rw-r--r-- | project/platform.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/project/platform.py b/project/platform.py index b19c93a..92890d0 100644 --- a/project/platform.py +++ b/project/platform.py @@ -135,12 +135,3 @@ set(CMAKE_CXX_FLAGS -m{address_model}) if self is Platform.X64: return 'x64' raise NotImplementedError(f'unsupported platform: {self}') - - def cmake_msvc_arch(self): - return ['-A', self.msvc_arch()] - - def cmake_msvc_args(self): - # When using the MSVC toolset, pass the appropriate -A flag. - args = [] - args += self.cmake_msvc_arch() - return args |