You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 19, 2024. It is now read-only.
In unibuild/utility/config_utility.py, linker flags are set for optimized builds on line 60:
if config.get('optimize', False):
cmake_parameters.append("-DOPTIMIZE_LINK_FLAGS=\"/LTCG /INCREMENTAL:NO /OPT:REF /OPT:ICF\"")
This is eventually passed to Popen in unibuild/modules/cmake.py. The documentation is somewhat unclear, but arguments should never be quoted because python also adds double quotes as soon as it sees spaces in the argument. This results in setting this variable in the various CMakeCache.txt files:
In unibuild/utility/config_utility.py, linker flags are set for optimized builds on line 60:
This is eventually passed to
Popen
in unibuild/modules/cmake.py. The documentation is somewhat unclear, but arguments should never be quoted because python also adds double quotes as soon as it sees spaces in the argument. This results in setting this variable in the various CMakeCache.txt files:This is passed verbatim when compiling, which results in this:
The code should be:
instead.
The text was updated successfully, but these errors were encountered: