aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/project/ci/appveyor/cmake.py
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-03-30 02:34:03 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-03-30 02:53:51 +0300
commit39902041e7671a94abcf691fa4a769b5cb4fc4fb (patch)
tree9ea5e61c6f49913aa81c7ba0bddb85127c8fc0dd /project/ci/appveyor/cmake.py
parentproject.cmake.build: refactoring (diff)
downloadcmake-common-39902041e7671a94abcf691fa4a769b5cb4fc4fb.tar.gz
cmake-common-39902041e7671a94abcf691fa4a769b5cb4fc4fb.zip
project.cmake: make it --platform aware
Diffstat (limited to 'project/ci/appveyor/cmake.py')
-rw-r--r--project/ci/appveyor/cmake.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/project/ci/appveyor/cmake.py b/project/ci/appveyor/cmake.py
index c3d55d0..c1b851c 100644
--- a/project/ci/appveyor/cmake.py
+++ b/project/ci/appveyor/cmake.py
@@ -114,12 +114,13 @@ def build_appveyor(argv=None):
args = _parse_args(argv)
_check_appveyor()
- cmake_args = ['-G', str(_get_generator()), '-A', str(_get_platform())]
+ cmake_args = ['-G', str(_get_generator())]
cmake_args += args.cmake_args
params = BuildParameters(_get_src_dir(),
build_dir=_get_build_dir(),
install_dir=args.install_dir,
+ platform=_get_platform(),
configuration=_get_configuration(),
cmake_args=cmake_args)
build(params)