diff options
author | Ben Boeckel <ben.boeckel@kitware.com> | 2023-10-17 01:57:53 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-10-17 13:51:53 (GMT) |
commit | 50f3c58083282e844f5a660687274aed0dca2426 (patch) | |
tree | e63648986e09b4750896163dcc70fa3f1493ab48 /Templates | |
parent | a22e9e7cf00066a1538a0508cfdb3d48913f4527 (diff) | |
download | CMake-50f3c58083282e844f5a660687274aed0dca2426.zip CMake-50f3c58083282e844f5a660687274aed0dca2426.tar.gz CMake-50f3c58083282e844f5a660687274aed0dca2426.tar.bz2 |
FlagTables: Add entries for cl -scanDependencies flag
As of VS 17.6, MSBuild maps `ModuleDependenciesFile` to this flag
instead of the older `-sourceDependencies:directives` flag.
Map both flags to `ModuleDependenciesFile` for compatibility.
Diffstat (limited to 'Templates')
-rw-r--r-- | Templates/MSBuild/FlagTables/v142_CL.json | 9 | ||||
-rw-r--r-- | Templates/MSBuild/FlagTables/v143_CL.json | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/Templates/MSBuild/FlagTables/v142_CL.json b/Templates/MSBuild/FlagTables/v142_CL.json index 13d83ee..1d8a706 100644 --- a/Templates/MSBuild/FlagTables/v142_CL.json +++ b/Templates/MSBuild/FlagTables/v142_CL.json @@ -1413,6 +1413,15 @@ }, { "name": "ModuleDependenciesFile", + "switch": "scanDependencies", + "comment": "Module Dependencies File Name", + "value": "", + "flags": [ + "UserFollowing" + ] + }, + { + "name": "ModuleDependenciesFile", "switch": "sourceDependencies:directives", "comment": "Module Dependencies File Name", "value": "", diff --git a/Templates/MSBuild/FlagTables/v143_CL.json b/Templates/MSBuild/FlagTables/v143_CL.json index 945e7d3..9d6e2b0 100644 --- a/Templates/MSBuild/FlagTables/v143_CL.json +++ b/Templates/MSBuild/FlagTables/v143_CL.json @@ -1412,6 +1412,15 @@ }, { "name": "ModuleDependenciesFile", + "switch": "scanDependencies", + "comment": "Module Dependencies File Name", + "value": "", + "flags": [ + "UserFollowing" + ] + }, + { + "name": "ModuleDependenciesFile", "switch": "sourceDependencies:directives", "comment": "Module Dependencies File Name", "value": "", |