diff options
| author | ruki <[email protected]> | 2020-02-10 09:21:03 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2020-02-10 09:21:03 +0800 |
| commit | 60802d45c53e0a63a5dba3da8a082140bb4cb979 (patch) | |
| tree | 50a809c77d8df9dc8b6be5e9700324068c8442d7 | |
| parent | cdef5a603fd1c28acbf222595a0987197e737576 (diff) | |
| parent | fd12dc4bd31ebe9dc6370ab150c39441ce4d6061 (diff) | |
Merge pull request #682 from rivy/rf.vs-speedup
Refactor ~ enable `rc` search when needed
| -rw-r--r-- | xmake/platforms/windows/config.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/platforms/windows/config.lua b/xmake/platforms/windows/config.lua index e2b06e80d..04b92ce65 100644 --- a/xmake/platforms/windows/config.lua +++ b/xmake/platforms/windows/config.lua @@ -130,7 +130,8 @@ function main(platform, name) -- check vstudio local cc = path.basename(config.get("cc") or "cl"):lower() local cxx = path.basename(config.get("cxx") or "cl"):lower() - if cc == "cl" or cxx == "cl" then + local mrc = path.basename(config.get("mrc") or "rc"):lower() + if cc == "cl" or cxx == "cl" or mrc == "rc" then check_vstudio(config) end end |
