summaryrefslogtreecommitdiff
path: root/xmake/modules/detect
AgeCommit message (Collapse)Author
2018-10-20add llvm-rcruki
2018-10-20add vs_toolset optionruki
2018-10-20fix uses vswhere to find_vstudioruki
2018-10-19add windres for mingwruki
2018-10-18fix module error for find_qtruki
2018-10-18Merge pull request #235 from rivy/rev.find_vswhereruki
improve find_vswhere (allow use of check/command options)
2018-10-18revert find_dmd.luaruki
2018-10-17improve find_vswhere (allow use of check/command options)Roy Ivy III
2018-10-16format coderuki
2018-10-15fix find_vstudio when executing from an already defined MSVC command promptRoy Ivy III
.# 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.
2018-10-15fix "fix UCRTVersion" logic for possibly missing WindowsSDKVersionRoy Ivy III
* some versions (especially early versions) of MSVC/VS may not define the WindowsSDKVersion environment variable
2018-10-15ignore -export and improve vs201x projruki
2018-10-15improve find_rc againruki
2018-10-15improve find_rcruki
2018-10-15improve find_vswhere and find_vstudioruki
2018-10-14fix `vswhere` detection in find_vswhereRoy Ivy III
2018-10-14fix detection strategy for MSVC/VS2017+Roy Ivy III
* fixes the MSVC/VS 2017 detection problem discussed within <https://github.com/tboox/xmake/issues/225> .# Discussion MSVC/VS versions >= 15.0 will no longer be setting registry entries for tool location purposes. But `vswhere` (included with MSVC/VS versions >= 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: <https://github.com/Microsoft/vswhere/blob/master/README.md> @@ <https://archive.is/mEmdu>
2018-10-14fix missing rc.exe and add find_vswhereruki
2018-10-10improve pkg-config.findruki
2018-09-29improve to find xcoderuki
2018-09-28improve to find ndkruki
2018-09-26add find_libxml2ruki
2018-09-22add find_python2ruki
2018-09-21add find python and python3ruki
2018-09-20fix find vcpkg cacheruki
2018-09-20optimize to find brewruki
2018-09-14add cmake package moduleruki
2018-09-13find and install cmake packageruki
2018-09-13add find_cmakeruki
2018-09-04Fix bug for VS2003 can't be found夕伽
(xmake config --vs=2003)
2018-08-24fix dlang has_flags bugruki
2018-08-24add has_flags for goruki
2018-08-21improve to find_pcre/pcre2 packageruki
2018-08-17add detect.sdks.find_vcpkgdirruki
2018-08-17improve find_vstudioruki
2018-08-14add winosruki
2018-06-27fix find_vstudio bugruki
2018-06-22support fasmruki
2018-06-22improve find cross toolchainruki
2018-06-22improve find_qtruki
2018-05-26impl testcertruki
2018-05-22improve find_vstudioruki
2018-05-21improve find wdkruki
2018-05-19add win sdk rulesruki
2018-05-02improve os.matchruki
2018-04-28find umdf and kmdf versionruki
2018-04-28add some include and link dirs for umdfruki
2018-04-28impl find_wdkruki
2018-04-28fix ucrt version for find_vstudioruki
2018-04-23add find_yasmruki