<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vcpkg/scripts/buildsystems, branch 2020.04</title>
<subtitle>Forked from https://github.com/microsoft/vcpkg</subtitle>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/'/>
<entry>
<title>Add initial iOS support (#6275)</title>
<updated>2020-04-15T20:06:55+00:00</updated>
<author>
<name>alcroito</name>
<email>alexandru.croitor@qt.io</email>
</author>
<published>2020-04-15T20:06:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=c5f01e1dee0d41b8014ac6f1eeafda974917ba17'/>
<id>c5f01e1dee0d41b8014ac6f1eeafda974917ba17</id>
<content type='text'>
* Add iOS community triplets and toolchain support

Added an iOS toolchain to enable building packages for iOS.
The toolchain is used when a triplet's VCPKG_CMAKE_SYSTEM_NAME is set
to iOS.

To configure which architecture should be built, as well as other
iOS specifics, the following triplet variables can be set:
- VCPKG_TARGET_ARCHITECTURE
- VCPKG_OSX_SYSROOT
- VCPKG_OSX_DEPLOYMENT_TARGET
- VCPKG_OSX_ARCHITECTURES

The following VCPKG_TARGET_ARCHITECTURE values are currently
supported:
 - arm, arm64, x64, x86.

The following VCPKG_OSX_SYSROOT values are currently supported:
 - iphoneos, iphonesimulator, or an absolute path to the device or
   simulator Xcode SDK.

VCPKG_OSX_DEPLOYMENT_TARGET can be set to control the minimum iOS
delopyment target for the built libraries.

CMAKE_OSX_ARCHITECTURES is derived from VCPKG_TARGET_ARCHITECTURE,
so generally it should not be set. In case if someone needs to target
a more specific architecture (like armv7k or arm64e), it can
be set in the triplet via VCPKG_OSX_ARCHITECTURES.

Note that only certain combinations of the architecture and sysroot
will work: simulator SDKs only provide x86-based libraries, etc.

The toolchain also sets CMAKE_SYSTEM_PROCESSOR for certain
configurations, because certain packages (like libpng) depend on the
processor type.

Added 4 community iOS triplets that build static libraries:
- arm-ios, arm64-ios, x86-ios, x64-ios.
The non-arm triplets target the iOS simulator.

The triplets build static libraries because they are easiest to
integrate into an iOS project. Dynamic libraries or frameworks require
code signing on iOS, which complicates integration.

Added heuristics to try and automatically detect what iOS triplet to
use when building your own CMake project (so when a CMake project sets
CMAKE_TOOLCHAIN_FILE to buildsystems/vcpkg.cmake), if no explicit
triplet is provided (VCPKG_TARGET_TRIPLET is undefined).

The heuristic checks for the values of CMAKE_SYSTEM_NAME and
CMAKE_OSX_ARCHITECTURES. Note that for this to work,
CMAKE_OSX_ARCHITECTURES needs to be set before the first project()
call in your CMake project.

Added workaround so find_package finds vcpkg installed packages
when targeting iOS.
This is done by saving / restoring the value of CMAKE_FIND_ROOT_PATH
while also adding the vcpkg package root in the find_package override
macro.
The workaround can be removed once vcpkg upgrades to CMake 3.15.0
or higher where the issue is fixed.

Fixes: #6003

* Fix building libpng and pcre2 targetting iOS

Fixes: #6003</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add iOS community triplets and toolchain support

Added an iOS toolchain to enable building packages for iOS.
The toolchain is used when a triplet's VCPKG_CMAKE_SYSTEM_NAME is set
to iOS.

To configure which architecture should be built, as well as other
iOS specifics, the following triplet variables can be set:
- VCPKG_TARGET_ARCHITECTURE
- VCPKG_OSX_SYSROOT
- VCPKG_OSX_DEPLOYMENT_TARGET
- VCPKG_OSX_ARCHITECTURES

The following VCPKG_TARGET_ARCHITECTURE values are currently
supported:
 - arm, arm64, x64, x86.

The following VCPKG_OSX_SYSROOT values are currently supported:
 - iphoneos, iphonesimulator, or an absolute path to the device or
   simulator Xcode SDK.

VCPKG_OSX_DEPLOYMENT_TARGET can be set to control the minimum iOS
delopyment target for the built libraries.

CMAKE_OSX_ARCHITECTURES is derived from VCPKG_TARGET_ARCHITECTURE,
so generally it should not be set. In case if someone needs to target
a more specific architecture (like armv7k or arm64e), it can
be set in the triplet via VCPKG_OSX_ARCHITECTURES.

Note that only certain combinations of the architecture and sysroot
will work: simulator SDKs only provide x86-based libraries, etc.

The toolchain also sets CMAKE_SYSTEM_PROCESSOR for certain
configurations, because certain packages (like libpng) depend on the
processor type.

Added 4 community iOS triplets that build static libraries:
- arm-ios, arm64-ios, x86-ios, x64-ios.
The non-arm triplets target the iOS simulator.

The triplets build static libraries because they are easiest to
integrate into an iOS project. Dynamic libraries or frameworks require
code signing on iOS, which complicates integration.

Added heuristics to try and automatically detect what iOS triplet to
use when building your own CMake project (so when a CMake project sets
CMAKE_TOOLCHAIN_FILE to buildsystems/vcpkg.cmake), if no explicit
triplet is provided (VCPKG_TARGET_TRIPLET is undefined).

The heuristic checks for the values of CMAKE_SYSTEM_NAME and
CMAKE_OSX_ARCHITECTURES. Note that for this to work,
CMAKE_OSX_ARCHITECTURES needs to be set before the first project()
call in your CMake project.

Added workaround so find_package finds vcpkg installed packages
when targeting iOS.
This is done by saving / restoring the value of CMAKE_FIND_ROOT_PATH
while also adding the vcpkg package root in the find_package override
macro.
The workaround can be removed once vcpkg upgrades to CMake 3.15.0
or higher where the issue is fixed.

Fixes: #6003

* Fix building libpng and pcre2 targetting iOS

Fixes: #6003</pre>
</div>
</content>
</entry>
<entry>
<title>Map configuration also for single configuration generators (#10397)</title>
<updated>2020-03-25T20:47:07+00:00</updated>
<author>
<name>Alexander Neumann</name>
<email>30894796+Neumann-A@users.noreply.github.com</email>
</author>
<published>2020-03-25T20:47:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=52273558f64dda28bb3c5ada3ee2c33564a5fd31'/>
<id>52273558f64dda28bb3c5ada3ee2c33564a5fd31</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[vcpkg] Add VCPKG_SUPPRESS_INSTALLED_LIBRARIES_WARNING and VCPKG_OVERRIDE_FIND_PACKAGE_NAME parameters to the vcpkg toolchain. (#9996)</title>
<updated>2020-02-09T22:40:13+00:00</updated>
<author>
<name>Robert Schumacher</name>
<email>roschuma@microsoft.com</email>
</author>
<published>2020-02-09T22:40:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=039098c9546195a50e45c41e37d7e2b9168b4245'/>
<id>039098c9546195a50e45c41e37d7e2b9168b4245</id>
<content type='text'>
VCPKG_SUPPRESS_INSTALLED_LIBRARIES_WARNING - Silences warning about lacking installed libraries for the current triplet
VCPKG_OVERRIDE_FIND_PACKAGE_NAME - Enables cooperation with other tooling that may want to hook find_package</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
VCPKG_SUPPRESS_INSTALLED_LIBRARIES_WARNING - Silences warning about lacking installed libraries for the current triplet
VCPKG_OVERRIDE_FIND_PACKAGE_NAME - Enables cooperation with other tooling that may want to hook find_package</pre>
</div>
</content>
</entry>
<entry>
<title>Make VS 2019 default to x64 (#9816)</title>
<updated>2020-01-24T20:26:35+00:00</updated>
<author>
<name>Alexander Neumann</name>
<email>30894796+Neumann-A@users.noreply.github.com</email>
</author>
<published>2020-01-24T20:26:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=ed0df8ecc4ed7e755ea03e18aaf285fd9b4b4a74'/>
<id>ed0df8ecc4ed7e755ea03e18aaf285fd9b4b4a74</id>
<content type='text'>
Since CMake also does this</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since CMake also does this</pre>
</div>
</content>
</entry>
<entry>
<title>Map MinSizeRel and RelWithDebInfo correctly (#6393)</title>
<updated>2020-01-09T23:26:27+00:00</updated>
<author>
<name>Alexander Neumann</name>
<email>30894796+Neumann-A@users.noreply.github.com</email>
</author>
<published>2020-01-09T23:26:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=504eeea5148510645a884688d04434373054d501'/>
<id>504eeea5148510645a884688d04434373054d501</id>
<content type='text'>
* Map MinSizeRel and RelWithDebInfo to Release by default

* switch to CMAKE_CONFIGURATION_TYPES

* changed mapping slightly

* add empty list element to the mapping

* more comments and an option to turn verbose messages on.

* removed line info.
It would require the file name to make sense out of it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Map MinSizeRel and RelWithDebInfo to Release by default

* switch to CMAKE_CONFIGURATION_TYPES

* changed mapping slightly

* add empty list element to the mapping

* more comments and an option to turn verbose messages on.

* removed line info.
It would require the file name to make sense out of it.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix CMAKE_TRY_COMPILE_PLATFORM_VARIABLES (#8533)</title>
<updated>2019-12-20T20:20:31+00:00</updated>
<author>
<name>Alexander Neumann</name>
<email>30894796+Neumann-A@users.noreply.github.com</email>
</author>
<published>2019-12-20T20:20:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=f8cfe6c16462941cfd53b3db9e47e4955e1c1789'/>
<id>f8cfe6c16462941cfd53b3db9e47e4955e1c1789</id>
<content type='text'>
* Fix CMAKE_TRY_COMPILE_PLATFORM_VARIABLES

to respect already set values
closes #8506

* ws change to trigger full rebuild
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Fix CMAKE_TRY_COMPILE_PLATFORM_VARIABLES

to respect already set values
closes #8506

* ws change to trigger full rebuild
</pre>
</div>
</content>
</entry>
<entry>
<title>Use CMAKE_TRY_COMPILE_PLATFORM_VARIABLES to propogate values (#5180)</title>
<updated>2019-09-23T20:43:52+00:00</updated>
<author>
<name>Don</name>
<email>don.j.olmstead@gmail.com</email>
</author>
<published>2019-09-23T20:43:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=c7542de3f31defef6344e9acb05adf7d39f6d4a8'/>
<id>c7542de3f31defef6344e9acb05adf7d39f6d4a8</id>
<content type='text'>
CMAKE_TRY_COMPILE_PLATFORM_VARIABLES is used when CMake 3.6.0 or higher
is encountered. For older versions the previous behavior emulating this
functionality is used.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
CMAKE_TRY_COMPILE_PLATFORM_VARIABLES is used when CMake 3.6.0 or higher
is encountered. For older versions the previous behavior emulating this
functionality is used.</pre>
</div>
</content>
</entry>
<entry>
<title>vs 2019 integration bug (#7623)</title>
<updated>2019-08-12T21:41:53+00:00</updated>
<author>
<name>dan-shaw</name>
<email>51385773+dan-shaw@users.noreply.github.com</email>
</author>
<published>2019-08-12T21:41:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=0f3b6fc1638c3c0bf33a560d1ab89215b7af02fd'/>
<id>0f3b6fc1638c3c0bf33a560d1ab89215b7af02fd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Resolves "project is never up-to-date" problem (issue 6179) (#7322)</title>
<updated>2019-07-22T17:47:57+00:00</updated>
<author>
<name>crusader-mike</name>
<email>crusader.mike@gmail.com</email>
</author>
<published>2019-07-22T17:47:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=126812d18bf244b9141d466ca27582df176a2038'/>
<id>126812d18bf244b9141d466ca27582df176a2038</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update applocal.ps1 (#4942)</title>
<updated>2019-06-13T00:41:28+00:00</updated>
<author>
<name>shadowxiali</name>
<email>276404541@qq.com</email>
</author>
<published>2019-06-13T00:41:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.otimperi.dev/vcpkg/commit/?id=555b760c67fcadea334c109b219c41b12b063413'/>
<id>555b760c67fcadea334c109b219c41b12b063413</id>
<content type='text'>
* Update applocal.ps1

* Update applocal.ps1

Fix Microsoft#2801,
prev modify mistake UTF8 to UTF

* Update applocal.ps1

in win7 chinese path, must utf8 to avoid copy dll fail
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Update applocal.ps1

* Update applocal.ps1

Fix Microsoft#2801,
prev modify mistake UTF8 to UTF

* Update applocal.ps1

in win7 chinese path, must utf8 to avoid copy dll fail
</pre>
</div>
</content>
</entry>
</feed>
