Commit 1d611f0
committed
build: collapse the no-DCV fork into a DcvSupport build flag
The 25.5.0 (no-DCV) and 26.x (DCV) targets differed only in the IAnyCAPlugin
package version and whether SUPPORTS_DCV was defined. Maintaining that as a
separate branch (feat/ianycaplugin-3.2-no-dcv) duplicated every fix. Replace it
with a single MSBuild property:
DcvSupport=true (default) -> IAnyCAPlugin 3.3.0-PRERELEASE + SUPPORTS_DCV (26.x)
-p:DcvSupport=false -> IAnyCAPlugin 3.2.0, DCV fenced via #if (25.5.0)
One property drives the package version, the compile constant, and DCV
test-file inclusion across all three projects. Verified both ways:
default: IAnyCAPlugin 3.3.0, 195 unit tests pass (DCV tests in)
-p:DcvSupport=false: IAnyCAPlugin 3.2.0, 172 unit tests pass (DCV tests out)
both 0 warnings. The no-DCV branch is now redundant. See issue 0003.1 parent 8f17d2b commit 1d611f0
3 files changed
Lines changed: 23 additions & 9 deletions
File tree
- CERTInext.IntegrationTests
- CERTInext.Tests
- CERTInext
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
9 | 13 | | |
10 | 14 | | |
11 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
9 | 13 | | |
10 | 14 | | |
11 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
13 | 17 | | |
14 | 18 | | |
15 | 19 | | |
16 | 20 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
22 | 28 | | |
23 | 29 | | |
24 | 30 | | |
| |||
0 commit comments