![]() ![]() Confusing, since it doesn't actually have anything to do with incremental linking, but does represent an optimization of LTCG so it doesn't rebuild everything when you make a small change that only affects one or a few files. On the command line, the linker does the right thing by default if you've set /GL, but I would set it in the IDE anyway just to be sure, especially if you've set other non-default linker options.Įdit because I forgot to add that the /LTCG:incremental switch is a reasonable if confusingly-named choice for the Link Time Code Generation property, too. If you enable it, you should also enable Link Time Code Generation (the /LTCG linker option) on the Configuration Properties > Linker > Optimization page. Whole Program Optimization is the /GL compiler option, found in your project's Property Pages dialog under Configuration Properties > C/C++ > Optimization at the end of the list. These options have been around with these names for a long time. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |