export(TARGETS): Restore EXPORT_LINK_INTERFACE_LIBRARIES

Refactoring in commit 998495cb49 (cmExportCommand: Port to
cmSubcommandTable, 2025-07-15) accidentally removed support for the
`EXPORT_LINK_INTERFACE_LIBRARIES` argument.  Restore it with a test.

Fixes: #27302
This commit is contained in:
Taylor Sasser
2025-10-14 12:42:33 -04:00
committed by Brad King
parent caef2113e6
commit b209c41dfa
3 changed files with 9 additions and 1 deletions
+2 -1
View File
@@ -72,7 +72,8 @@ static bool HandleTargetsMode(std::vector<std::string> const& args,
.Bind("CXX_MODULES_DIRECTORY"_s, &Arguments::CxxModulesDirectory)
.Bind("TARGETS"_s, &Arguments::Targets)
.Bind("APPEND"_s, &Arguments::Append)
.Bind("ANDROID_MK"_s, &Arguments::AndroidMKFile);
.Bind("ANDROID_MK"_s, &Arguments::AndroidMKFile)
.Bind("EXPORT_LINK_INTERFACE_LIBRARIES"_s, &Arguments::ExportOld);
std::vector<std::string> unknownArgs;
Arguments arguments = parser.Parse(args, &unknownArgs);