"LTCG" stands for *link-time code generation* which enables build optimizations and requires cooperation between the compiler ([cl.exe](compiler-options.md)), LIB, and the linker ([LINK](linker-options.md)). Use this option to tell LIB that the inputs from cl.exe include object files that were generated by using the [/GL](gl-whole-program-optimization.md) compiler option. (If LIB.exe encounters such inputs and /LTCG is not specified, it will restart with /LTCG enabled after displaying an informational message.)
0 commit comments