google / UIforETW

User interface for recording and managing ETW traces
https://randomascii.wordpress.com/2015/04/14/uiforetw-windows-performance-made-easier/
Apache License 2.0
1.59k stars 201 forks source link

Ignoring auto-generated Incremental LTCG files, updated AUTHORS. #46

Closed mwinterb closed 9 years ago

mwinterb commented 9 years ago

Incremental Link Time Code Generation was introduced in VS2015 to allow for only partial recompilation during the link phase. The incremental status files are stored alongside the target exe / dll, and there doesn't seem to be a trivial way to force them into the Intermediate Directory directory.

mwinterb commented 9 years ago

See this VCBlog post for the overview of Incremental LTCG, if you hadn't already. I would have assumed that James McNellis's StackOverflow answer here would have mentioned if there was a specific way of changing the output location, but this may just be like the normal incremental linking ilk files without a way of customizing it. The current docs don't even mention the option.

I could have put this in the root .gitignore file, but my personal preference is to make ignore files as precise as possible, and since there was already one in the only directory that could have the new files, this way seemed best. Even though the *.ilk ignore is in the root one, and these are analogous to those files. Um. I can just make that change if you'd like and update this.

randomascii commented 9 years ago

As more projects get added we may want to move the .ignore filters to the root level, but they are fine in bin for now.