Skip to content

WIP: VS10Generator: avoid many string allocations

Rolf Eike Beer requested to merge DerDakon/cmake:vs10-strings into master

I was a bit bored and when reviewing !4471 (merged) I noticed that we can probably avoid some of the allocations done in VS10Generator. This is a brute force attempt: it is not even compile checked (I only build for Linux, where this isn't built), I have not done any in-depth checking about coding style violations, and the startsWith() implementation can probably be shared a lot between files.

This is just a "you get the idea" thing. Please provide feedback what of this should actually be merged and what is junk.

@vvs31415

Merge request reports