<feed xmlns='http://www.w3.org/2005/Atom'>
<title>xmake.git/xmake/modules/detect/sdks, branch v2.2.2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/xmake.git/atom/xmake/modules/detect/sdks?h=v2.2.2</id>
<link rel='self' href='http://cgit.235523.xyz/xmake.git/atom/xmake/modules/detect/sdks?h=v2.2.2'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/xmake.git/'/>
<updated>2018-10-16T06:05:31Z</updated>
<entry>
<title>format code</title>
<updated>2018-10-16T06:05:31Z</updated>
<author>
<name>ruki</name>
<email>waruqi@gmail.com</email>
</author>
<published>2018-10-16T15:20:55Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/xmake.git/commit/?id=b7fb3fa8f6efc8c467ab7edb016da3dc2319390b'/>
<id>urn:sha1:b7fb3fa8f6efc8c467ab7edb016da3dc2319390b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix find_vstudio when executing from an already defined MSVC command prompt</title>
<updated>2018-10-16T03:55:16Z</updated>
<author>
<name>Roy Ivy III</name>
<email>rivy.dev@gmail.com</email>
</author>
<published>2018-10-15T03:16:24Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/xmake.git/commit/?id=ca72eb0cf60c3e0747444859d9fc738b98ecc4b5'/>
<id>urn:sha1:ca72eb0cf60c3e0747444859d9fc738b98ecc4b5</id>
<content type='text'>
.# Discussion

Older MSVC/VS versions don't define the "VisualStudioVersion" environment variable.
Prior to this fix, when executing within an already prepared environment (eg, the
"Visual Studio Command Prompt") with those older MSVC/VS builds, the search logic would
incorrectly try to search for all installed versions and read their environments. But
since the environment had already been prepped, executing `vsvarsall` for any found
MSVC/VS versions resulted in a superimposed and confused/invalid environment.

For the older MSVC/VS versions without "VisualStudioVersion", this fix does use
heuristics to guess at the correct version (and it's corresponding vsvers value [used as
the results key value]). But, even if the wrong version is guessed, the results from
find_vstudio are clean, without any environmental superposition, and fully usable for
compilation.
</content>
</entry>
<entry>
<title>fix "fix UCRTVersion" logic for possibly missing WindowsSDKVersion</title>
<updated>2018-10-16T02:59:32Z</updated>
<author>
<name>Roy Ivy III</name>
<email>rivy.dev@gmail.com</email>
</author>
<published>2018-10-15T03:12:22Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/xmake.git/commit/?id=19829f49a644d4377c082df90b812a891d4d403c'/>
<id>urn:sha1:19829f49a644d4377c082df90b812a891d4d403c</id>
<content type='text'>
* some versions (especially early versions) of MSVC/VS may not define the WindowsSDKVersion environment variable
</content>
</entry>
<entry>
<title>improve find_rc</title>
<updated>2018-10-15T03:32:31Z</updated>
<author>
<name>ruki</name>
<email>waruqi@gmail.com</email>
</author>
<published>2018-10-15T14:55:25Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/xmake.git/commit/?id=254c4084d7cbf9882d9b09da049ae5d06b491654'/>
<id>urn:sha1:254c4084d7cbf9882d9b09da049ae5d06b491654</id>
<content type='text'>
</content>
</entry>
<entry>
<title>improve find_vswhere and find_vstudio</title>
<updated>2018-10-15T01:20:33Z</updated>
<author>
<name>ruki</name>
<email>waruqi@gmail.com</email>
</author>
<published>2018-10-15T14:33:25Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/xmake.git/commit/?id=68a27547cfdd4157162b6b536f4dc8c2c04786e8'/>
<id>urn:sha1:68a27547cfdd4157162b6b536f4dc8c2c04786e8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix detection strategy for MSVC/VS2017+</title>
<updated>2018-10-14T21:24:36Z</updated>
<author>
<name>Roy Ivy III</name>
<email>rivy.dev@gmail.com</email>
</author>
<published>2018-10-13T06:23:26Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/xmake.git/commit/?id=fe0c464cfdf0498bf6df69a8965931255e94884b'/>
<id>urn:sha1:fe0c464cfdf0498bf6df69a8965931255e94884b</id>
<content type='text'>
* fixes the MSVC/VS 2017 detection problem discussed within &lt;https://github.com/tboox/xmake/issues/225&gt;

.# Discussion

MSVC/VS versions &gt;= 15.0 will no longer be setting registry entries for tool location
purposes. But `vswhere` (included with MSVC/VS versions &gt;= 15.2, and placed in a
guaranteed location) can instead be used to find the needed path.

`os.runv(...)` is used as the tool to gather `vswhere` output instead of `($shell ...)`
in order to avoid some `($shell ...)` limitations. Commands containing white space and/or
special characters (eg, '[', ')') are difficult or impossible to pass through the current
`($shell ...)` implementation, causing application exceptions. Both white space and the
noted special characters are needed to construct the required `vswhere` command.

ref: &lt;https://github.com/Microsoft/vswhere/blob/master/README.md&gt; @@ &lt;https://archive.is/mEmdu&gt;
</content>
</entry>
<entry>
<title>fix missing rc.exe and add find_vswhere</title>
<updated>2018-10-14T14:23:08Z</updated>
<author>
<name>ruki</name>
<email>waruqi@gmail.com</email>
</author>
<published>2018-10-14T14:23:08Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/xmake.git/commit/?id=65f989753d3e3f64dc61bcb37e3725423297bfa7'/>
<id>urn:sha1:65f989753d3e3f64dc61bcb37e3725423297bfa7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>improve to find xcode</title>
<updated>2018-09-29T01:33:39Z</updated>
<author>
<name>ruki</name>
<email>waruqi@gmail.com</email>
</author>
<published>2018-09-29T01:33:39Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/xmake.git/commit/?id=5ab49e216d230bcced6b2884f19a70260019bfb3'/>
<id>urn:sha1:5ab49e216d230bcced6b2884f19a70260019bfb3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>improve to find ndk</title>
<updated>2018-09-28T14:50:04Z</updated>
<author>
<name>ruki</name>
<email>waruqi@gmail.com</email>
</author>
<published>2018-09-28T16:48:20Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/xmake.git/commit/?id=b17ed1ae2522107175a7abc03b11c0126f7503f3'/>
<id>urn:sha1:b17ed1ae2522107175a7abc03b11c0126f7503f3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix find vcpkg cache</title>
<updated>2018-09-20T13:48:42Z</updated>
<author>
<name>ruki</name>
<email>waruqi@gmail.com</email>
</author>
<published>2018-09-20T16:38:07Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/xmake.git/commit/?id=72cae54191c2eab872d660e8eae0a4e8b1803351'/>
<id>urn:sha1:72cae54191c2eab872d660e8eae0a4e8b1803351</id>
<content type='text'>
</content>
</entry>
</feed>
