diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2021-03-20 13:16:15 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2021-03-20 14:34:32 +0300 |
commit | e731e6345d7fa1c2326b18c56f5dc361ea3adbfb (patch) | |
tree | cc72442867919028eda33b264c02eab47ca3a049 /tools | |
parent | workflows/basic: enable on windows-2016 (diff) | |
download | cmake-common-e731e6345d7fa1c2326b18c56f5dc361ea3adbfb.tar.gz cmake-common-e731e6345d7fa1c2326b18c56f5dc361ea3adbfb.zip |
project.platform: add platform 'auto'
There were two problems:
* On Windows, VS 2019 defaults to x64 while VS 2017 defaults to x86.
* Too much focus on x86(-64) might mean that building stuff on ARM can
become difficult.
These were all addressed by adding a new platform 'auto'. On Windows,
it defaults to picking either x64 or x86 (depending on the host arch)
for both Boost and CMake. On Linux, it lets the compiler decide what
arch to target.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions