Brad King
ae44496e2b
VS: Fix GenerateDebugInformation values for v140 and v141 toolsets
...
When VS 2015 was first released, its new v140 toolset came with a
`link.xml` file that changed the `GenerateDebugInformation` boolean
(`false` and `true`) value from earlier toolsets to an enumeration
consisting of the possible values `No`, `Debug`, and `DebugFastLink`.
We first adapted to this in commit v3.4.2~2^2 (VS: Fix VS 2015 .vcxproj
file value for GenerateDebugInformation, 2016-01-08), but that broke
older toolsets that still expected the boolean. Then commit
v3.6.0-rc1~295^2~1 (VS: Fix VS 2015 .vcxproj debug setting for older
toolsets, 2016-02-24) added a hack to fix up the value based on the
toolset in use. Several follow-up commits fixed this for more older
toolsets because our flag table was at the time based on the generator
in use rather than the toolset in use.
Since commit v3.8.0-rc1~396^2 (VS: Choose flag map based on the toolset
name, 2016-10-17) we use a flag table based on the toolset, so the fixup
hack should not be needed. We had to keep it around only due to our
default value for GenerateDebugInformation (`false` or `No`) still being
based on the generator instead of the toolset.
A VS 2015 update was released that changed the v140 toolset `link.xml`
file back to using `false` and `true` for the `GenerateDebugInformation`
enumeration variants previously known as `No` and `Debug`. In order to
know which pair to use, we need to parse the `link.xml` file for the
current toolset.
Switch back to using `false` and `true` unconditionally in our
`GenerateDebugInformation` flag table entries and default value. With
that plus the toolset-based flag table, we now get incorrect values for
`GenerateDebugInformation` only when using a v140 toolset from an older
VS 2015 installation. Detect this case by parsing `link.xml` and add
special logic to convert `false` and `true` to `No` and `Debug` to
satisfy the older toolset specification.
Inspired-by: Ian Hojnicki <nullref@live.com >
Fixes : #17020
2017-06-28 08:55:40 -04:00
..
2017-06-08 09:22:09 -04:00
2017-06-01 14:19:52 -04:00
2017-06-05 09:41:53 -04:00
2017-06-01 14:19:51 -04:00
2017-06-01 14:07:35 -04:00
2017-04-28 23:10:39 +02:00
2017-03-30 18:53:57 +02:00
2017-05-08 22:29:44 +02:00
2017-01-12 19:29:52 +03:00
2017-04-28 23:10:39 +02:00
2017-05-16 11:22:48 -04:00
2017-04-11 22:35:21 +02:00
2017-05-04 17:39:23 +02:00
2017-05-25 15:03:03 -04:00
2017-05-25 15:03:03 -04:00
2017-03-24 22:58:25 +01:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-05-25 15:03:03 -04:00
2017-05-11 19:49:06 +02:00
2017-06-01 14:19:51 -04:00
2017-05-11 19:49:06 +02:00
2017-06-01 14:19:51 -04:00
2017-05-11 19:49:06 +02:00
2017-05-11 19:49:06 +02:00
2017-05-26 19:50:11 +03:00
2017-05-11 19:49:06 +02:00
2017-05-26 19:50:11 +03:00
2017-05-11 19:49:06 +02:00
2017-05-26 19:50:11 +03:00
2017-05-11 19:49:06 +02:00
2017-05-26 19:50:11 +03:00
2017-05-11 19:49:06 +02:00
2017-05-11 19:49:06 +02:00
2017-05-26 19:50:11 +03:00
2017-05-08 22:29:44 +02:00
2017-01-11 14:10:39 +03:00
2017-05-03 11:32:05 -04:00
2017-06-14 12:46:03 -04:00
2017-06-27 10:59:58 -04:00
2017-06-01 14:19:51 -04:00
2017-04-21 21:40:54 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-05-26 19:51:40 +03:00
2017-05-11 19:49:06 +02:00
2017-05-08 10:26:36 -04:00
2017-04-11 22:35:21 +02:00
2017-05-09 23:49:14 +02:00
2017-05-11 19:49:06 +02:00
2017-05-26 19:50:11 +03:00
2017-05-11 19:49:06 +02:00
2017-04-11 22:35:21 +02:00
2017-05-11 19:49:06 +02:00
2017-06-04 00:48:21 +02:00
2017-06-04 00:48:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-24 22:03:06 +02:00
2017-05-26 19:50:11 +03:00
2017-05-11 19:49:06 +02:00
2017-05-11 19:49:06 +02:00
2017-05-11 19:49:06 +02:00
2017-06-01 14:19:51 -04:00
2017-04-11 22:35:21 +02:00
2017-02-13 21:37:08 +01:00
2017-05-11 19:49:06 +02:00
2017-04-24 22:03:06 +02:00
2017-04-24 22:03:06 +02:00
2017-04-11 22:35:21 +02:00
2017-05-11 19:49:06 +02:00
2017-05-08 22:58:01 +02:00
2017-04-27 16:21:59 -04:00
2017-04-27 16:21:59 -04:00
2017-04-11 22:35:21 +02:00
2017-06-04 00:48:21 +02:00
2017-06-04 00:48:21 +02:00
2017-06-01 14:19:51 -04:00
2017-04-22 00:48:19 +02:00
2017-05-18 10:18:57 -04:00
2017-05-18 10:18:57 -04:00
2017-06-03 08:38:51 +02:00
2017-04-11 22:35:21 +02:00
2017-06-03 08:38:51 +02:00
2017-05-26 19:50:11 +03:00
2017-05-11 19:49:06 +02:00
2017-05-09 23:49:14 +02:00
2017-05-11 19:49:06 +02:00
2017-06-03 08:38:51 +02:00
2017-04-11 22:35:21 +02:00
2017-04-22 00:48:18 +02:00
2017-04-24 22:03:06 +02:00
2017-05-11 19:49:06 +02:00
2017-04-11 22:35:21 +02:00
2017-04-24 22:03:06 +02:00
2017-06-01 14:19:52 -04:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-05-26 19:50:11 +03:00
2017-05-11 19:49:06 +02:00
2017-04-11 22:35:21 +02:00
2017-04-22 00:48:18 +02:00
2017-04-11 22:35:21 +02:00
2017-04-24 22:03:06 +02:00
2017-06-01 14:19:52 -04:00
2017-04-24 22:03:06 +02:00
2017-04-11 22:35:21 +02:00
2017-04-24 22:03:06 +02:00
2017-04-24 22:03:06 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-02-13 21:37:08 +01:00
2017-05-11 19:49:06 +02:00
2017-04-26 08:59:56 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-06-04 00:48:21 +02:00
2017-04-24 22:03:06 +02:00
2017-06-04 00:48:21 +02:00
2017-04-11 22:35:21 +02:00
2017-05-11 19:49:06 +02:00
2017-05-11 19:49:06 +02:00
2017-04-11 22:35:21 +02:00
2017-05-11 19:49:06 +02:00
2017-04-11 22:35:21 +02:00
2017-05-11 19:49:06 +02:00
2017-05-09 23:49:14 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-20 10:22:33 -04:00
2017-04-11 22:35:21 +02:00
2017-04-18 11:36:10 -04:00
2017-05-11 19:49:06 +02:00
2017-06-03 08:38:51 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-06-01 14:19:51 -04:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-05-11 19:49:06 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-05-26 19:50:11 +03:00
2017-04-11 22:35:21 +02:00
2017-06-03 08:38:51 +02:00
2017-04-11 22:35:21 +02:00
2017-05-26 19:50:11 +03:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-06-05 09:44:24 -04:00
2017-05-11 19:49:06 +02:00
2017-04-24 22:03:06 +02:00
2017-05-04 11:17:49 -04:00
2017-04-11 22:35:21 +02:00
2017-05-08 10:03:15 -04:00
2017-05-06 00:03:47 +02:00
2017-02-19 12:35:42 +01:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-05-16 15:19:40 -04:00
2017-05-16 15:19:40 -04:00
2017-06-01 14:19:52 -04:00
2017-05-16 15:19:40 -04:00
2017-05-11 19:49:06 +02:00
2017-06-01 14:19:51 -04:00
2017-05-11 19:49:06 +02:00
2017-06-03 08:38:51 +02:00
2017-05-11 19:49:06 +02:00
2017-06-01 14:19:51 -04:00
2017-05-11 19:49:06 +02:00
2017-06-04 00:48:21 +02:00
2017-06-04 00:48:21 +02:00
2017-05-11 19:49:06 +02:00
2017-05-09 23:49:14 +02:00
2017-05-11 19:49:06 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-05-11 19:49:06 +02:00
2017-05-11 19:49:06 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-06-01 14:19:51 -04:00
2017-04-24 22:03:06 +02:00
2017-04-11 22:35:21 +02:00
2017-04-18 11:36:09 -04:00
2017-04-11 22:35:21 +02:00
2017-04-24 22:03:06 +02:00
2017-04-11 22:35:21 +02:00
2017-06-03 08:38:51 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-06-14 10:36:57 -04:00
2017-06-14 10:36:57 -04:00
2017-05-26 19:50:11 +03:00
2017-05-11 19:49:06 +02:00
2017-06-03 08:38:51 +02:00
2017-05-11 19:49:06 +02:00
2017-06-01 14:19:51 -04:00
2017-05-11 19:49:06 +02:00
2017-06-03 08:38:51 +02:00
2017-05-11 19:49:06 +02:00
2017-05-26 19:50:11 +03:00
2017-05-11 19:49:06 +02:00
2017-05-26 19:50:11 +03:00
2017-05-11 19:49:06 +02:00
2017-05-26 19:50:11 +03:00
2017-05-11 19:49:06 +02:00
2017-04-11 22:35:21 +02:00
2017-04-27 16:15:07 -04:00
2017-04-11 22:35:21 +02:00
2017-06-05 09:44:24 -04:00
2017-06-04 00:48:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-05-26 19:50:11 +03:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-06-04 00:48:21 +02:00
2017-06-04 00:48:21 +02:00
2017-04-11 22:35:21 +02:00
2017-05-04 11:17:49 -04:00
2017-04-05 13:37:45 -04:00
2017-04-21 13:45:45 -04:00
2017-04-19 14:45:00 -04:00
2017-06-28 08:55:40 -04:00
2017-06-28 08:55:40 -04:00
2017-04-11 22:35:21 +02:00
2017-02-15 08:15:37 -05:00
2017-04-11 22:35:21 +02:00
2017-06-28 08:55:40 -04:00
2017-04-11 22:35:21 +02:00
2017-06-28 08:55:40 -04:00
2017-04-11 22:35:21 +02:00
2017-04-19 15:28:05 -04:00
2017-04-19 15:28:05 -04:00
2017-04-11 22:35:21 +02:00
2017-04-19 15:28:05 -04:00
2017-04-11 22:35:21 +02:00
2017-06-14 10:36:57 -04:00
2017-05-04 10:31:05 -04:00
2017-04-21 21:42:45 +02:00
2017-05-08 22:29:44 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-02-15 10:36:09 -05:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-05-09 23:49:14 +02:00
2017-05-11 19:49:06 +02:00
2017-05-11 19:49:06 +02:00
2017-06-01 14:19:51 -04:00
2017-05-11 19:49:06 +02:00
2017-05-11 19:49:06 +02:00
2017-05-11 19:49:06 +02:00
2017-06-03 08:38:51 +02:00
2017-05-11 19:49:06 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-22 00:48:18 +02:00
2017-04-22 00:48:18 +02:00
2017-04-11 22:35:21 +02:00
2017-05-06 00:03:42 +02:00
2017-04-22 00:48:18 +02:00
2017-04-22 00:48:18 +02:00
2017-05-26 19:50:11 +03:00
2017-05-11 19:49:06 +02:00
2017-04-22 00:48:18 +02:00
2017-04-22 00:48:18 +02:00
2017-06-04 00:48:21 +02:00
2017-06-04 00:48:21 +02:00
2017-05-11 19:49:06 +02:00
2017-04-11 22:35:21 +02:00
2017-04-22 00:48:18 +02:00
2017-04-22 00:48:18 +02:00
2017-05-11 19:49:06 +02:00
2017-06-03 08:38:51 +02:00
2017-05-11 19:49:06 +02:00
2017-04-11 22:35:21 +02:00
2017-04-22 00:48:19 +02:00
2017-05-11 19:49:06 +02:00
2017-06-04 00:48:21 +02:00
2017-06-04 00:48:21 +02:00
2017-06-04 00:48:21 +02:00
2017-06-04 00:48:21 +02:00
2017-04-11 22:35:21 +02:00
2017-05-11 19:49:06 +02:00
2017-06-04 00:48:21 +02:00
2017-06-04 00:48:21 +02:00
2017-02-27 09:14:28 -05:00
2017-04-11 22:35:21 +02:00
2017-05-11 19:49:06 +02:00
2017-05-11 19:49:06 +02:00
2017-05-11 19:49:06 +02:00
2017-05-15 11:51:57 -04:00
2017-05-15 11:51:57 -04:00
2017-04-24 22:03:06 +02:00
2017-06-14 10:36:57 -04:00
2017-05-09 14:21:54 -04:00
2017-05-26 19:50:11 +03:00
2017-04-21 08:57:40 -04:00
2017-06-01 14:19:52 -04:00
2017-04-11 22:35:21 +02:00
2017-06-14 10:36:57 -04:00
2017-04-13 16:10:32 -04:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-21 08:57:59 -04:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-05-11 19:49:06 +02:00
2017-05-11 19:49:06 +02:00
2017-05-11 19:49:06 +02:00
2017-06-26 13:54:20 -04:00
2017-06-04 00:48:21 +02:00
2017-05-01 10:33:05 -04:00
2017-04-11 22:35:21 +02:00
2017-06-14 10:36:57 -04:00
2017-04-11 22:35:21 +02:00
2017-06-04 00:48:21 +02:00
2017-06-04 00:48:21 +02:00
2017-04-11 22:35:21 +02:00
2017-05-26 19:50:11 +03:00
2017-05-11 19:49:06 +02:00
2017-05-11 19:49:06 +02:00
2017-05-11 19:49:06 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-06-04 00:48:21 +02:00
2017-06-04 00:48:21 +02:00
2017-05-26 19:50:11 +03:00
2017-04-11 22:35:21 +02:00
2017-06-04 00:48:21 +02:00
2017-06-04 00:48:21 +02:00
2017-06-14 10:36:57 -04:00
2017-04-11 22:35:21 +02:00
2017-05-30 15:30:43 -04:00
2017-04-21 08:57:40 -04:00
2017-04-21 08:57:40 -04:00
2017-04-11 22:35:21 +02:00
2017-05-11 19:49:06 +02:00
2017-06-04 00:48:21 +02:00
2017-04-11 22:35:21 +02:00
2017-05-26 19:52:31 +03:00
2017-04-11 22:35:21 +02:00
2017-06-04 00:48:21 +02:00
2017-06-04 00:48:21 +02:00
2017-04-21 10:44:07 +02:00
2017-05-11 19:49:06 +02:00
2017-05-11 19:49:06 +02:00
2017-04-11 22:35:21 +02:00
2017-04-21 15:04:33 -04:00
2017-04-21 15:04:33 -04:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-05-26 19:50:11 +03:00
2017-05-11 19:49:06 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-06-01 14:19:51 -04:00
2017-04-11 22:35:21 +02:00
2017-06-07 09:41:49 -04:00
2017-04-11 22:35:21 +02:00
2017-05-26 15:27:17 +02:00
2017-05-26 15:27:17 +02:00
2017-05-11 19:49:06 +02:00
2017-05-11 19:49:06 +02:00
2017-05-26 19:50:11 +03:00
2017-05-11 19:49:06 +02:00
2017-05-11 19:49:06 +02:00
2017-05-09 23:49:14 +02:00
2017-05-11 19:49:06 +02:00
2017-06-01 14:19:52 -04:00
2017-04-11 22:35:21 +02:00
2017-06-01 14:19:51 -04:00
2017-05-09 14:21:54 -04:00
2017-04-24 22:03:06 +02:00
2017-04-24 22:03:06 +02:00
2017-04-11 22:35:21 +02:00
2017-04-26 20:34:06 +02:00
2017-05-11 19:49:06 +02:00
2017-05-24 10:55:45 -04:00
2017-05-06 00:03:47 +02:00
2017-05-06 00:03:47 +02:00
2017-05-06 00:03:47 +02:00
2017-05-08 22:29:44 +02:00
2017-05-06 00:03:47 +02:00
2017-05-11 19:49:06 +02:00
2017-05-11 19:49:06 +02:00
2017-05-26 19:50:11 +03:00
2017-05-11 19:49:06 +02:00
2017-05-11 19:49:06 +02:00
2017-04-21 10:44:07 +02:00
2017-05-11 19:49:06 +02:00
2017-04-21 10:44:07 +02:00
2017-05-11 19:49:06 +02:00
2017-04-11 22:35:21 +02:00
2017-05-11 19:49:06 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-05-18 08:53:51 -04:00
2017-05-11 19:49:06 +02:00
2017-04-11 22:35:21 +02:00
2017-06-04 00:48:21 +02:00
2017-06-04 00:48:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-22 00:48:18 +02:00
2017-06-04 00:48:21 +02:00
2017-06-04 00:48:21 +02:00
2017-04-20 10:22:33 -04:00
2017-05-26 19:50:11 +03:00
2017-05-11 19:49:06 +02:00
2017-05-11 19:49:06 +02:00
2017-02-17 22:12:21 +01:00
2017-05-11 19:49:06 +02:00
2017-06-01 14:19:52 -04:00
2017-04-25 09:41:18 -04:00
2017-06-01 14:19:51 -04:00
2017-04-20 10:22:33 -04:00
2017-05-11 19:49:06 +02:00
2017-05-11 19:49:06 +02:00
2017-05-11 19:49:06 +02:00
2017-04-22 00:48:19 +02:00
2017-04-18 11:36:10 -04:00
2017-05-11 19:49:06 +02:00
2017-05-11 19:49:06 +02:00
2017-05-26 19:50:11 +03:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-05-11 19:49:06 +02:00
2017-04-11 22:35:21 +02:00
2017-04-22 00:48:18 +02:00
2017-04-24 22:03:06 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-05-11 19:49:06 +02:00
2017-04-11 22:35:21 +02:00
2017-05-11 19:49:06 +02:00
2017-05-11 19:49:06 +02:00
2017-05-11 19:49:06 +02:00
2017-04-11 22:35:21 +02:00
2017-05-11 19:49:06 +02:00
2017-05-26 19:50:11 +03:00
2017-05-11 19:49:06 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-05-26 19:50:11 +03:00
2017-05-11 19:49:06 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-05-26 19:50:11 +03:00
2017-05-11 19:49:06 +02:00
2017-04-11 22:35:21 +02:00
2017-06-28 08:55:40 -04:00
2017-04-26 11:41:22 -04:00
2017-06-28 08:55:40 -04:00
2017-04-11 22:35:21 +02:00
2017-04-19 15:28:05 -04:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-03-10 10:19:57 -05:00
2017-03-10 10:19:56 -05:00
2017-05-03 12:46:27 -04:00
2017-02-07 13:20:52 -05:00
2017-06-22 09:45:42 -04:00
2017-05-03 12:46:27 -04:00
2017-06-22 09:45:42 -04:00
2017-05-03 12:46:27 -04:00
2017-06-22 09:45:42 -04:00
2017-05-03 12:46:27 -04:00
2017-06-22 09:45:42 -04:00
2017-06-28 08:55:40 -04:00
2017-06-28 08:55:40 -04:00
2017-01-12 11:32:44 -05:00
2017-05-09 23:49:14 +02:00
2017-05-11 19:49:06 +02:00
2017-03-06 10:38:20 -05:00
2017-04-11 22:35:21 +02:00
2017-05-26 19:50:11 +03:00
2017-05-11 19:49:06 +02:00
2017-04-11 22:35:21 +02:00
2017-06-01 14:19:51 -04:00
2017-04-11 22:35:21 +02:00
2017-02-28 22:38:30 +01:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-11 22:35:21 +02:00
2017-04-24 22:03:06 +02:00
2017-05-08 22:29:44 +02:00