summaryrefslogtreecommitdiffstats
path: root/Templates
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2023-10-17 01:57:53 (GMT)
committerBrad King <brad.king@kitware.com>2023-10-17 13:51:53 (GMT)
commit50f3c58083282e844f5a660687274aed0dca2426 (patch)
treee63648986e09b4750896163dcc70fa3f1493ab48 /Templates
parenta22e9e7cf00066a1538a0508cfdb3d48913f4527 (diff)
downloadCMake-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.json9
-rw-r--r--Templates/MSBuild/FlagTables/v143_CL.json9
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": "",