diff options
| author | Pokechu22 <Pokechu022@gmail.com> | 2022-12-31 17:11:10 -0800 |
|---|---|---|
| committer | Pokechu22 <Pokechu022@gmail.com> | 2023-01-06 14:45:37 -0800 |
| commit | e344eb7f004771b08af48d011b23038ebab498d6 (patch) | |
| tree | ba04ba439667c7d80cf3babf37f1823705c802a5 /Source/Core/Common/FileUtil.cpp | |
| parent | cc14d60bbb9fd069e831bd3d84b8dc4fa1b3ddee (diff) | |
Externals: Exclude libcurl.rc from the build
For some reason, when this is included, the linking step creates a temporary file in %TEMP% with a random name; the file is deleted afterwards and a new random name is used on a later build. Because this file doesn't exist on a later build, curl gets re-linked each time, and then all of the projects that depend on curl also get re-linked. This adds around 10 seconds to the build time even for small changes.
To make things worse, I don't think libcurl.rc does anything useful since we statically link curl; I believe the metadata contained in it only applies when building a dll. (It does seem to be included in curl.lib, but gets discarded when linking Dolphin.exe.)
See Build\x64\Release\curl\curl.tlog\Lib-link-cvtres.write.1.tlog for the log that shows this path (the file is also mentioned after setting Tools -> Options... -> Projects and Solutions -> Build and Run -> MSBuild project build output verbosity to diagnostic, but not in a useful way).
Diffstat (limited to 'Source/Core/Common/FileUtil.cpp')
0 files changed, 0 insertions, 0 deletions
