Merge topic 'source_group-fix-TREE-with-empty-path'

809aacdd5c source_group: TREE with empty string must be supported

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !12746
This commit is contained in:
Brad King authored and Kitware Robot committed 2026-11-02 10:16:23 -05:00
commit 82f994766d
3 files changed
+4 -1

No files matched your search

+1 -1
View File
@@ -133,7 +133,7 @@ bool cmSourceGroupCommand(std::vector<std::string> const& args,
cm::optional<std::string> Regex;
cm::optional<ArgumentParser::MaybeEmpty<std::vector<std::string>>>
FileSets;
cm::optional<ArgumentParser::NonEmpty<std::string>> Tree;
cm::optional<ArgumentParser::MaybeEmpty<std::string>> Tree;
cm::optional<ArgumentParser::MaybeEmpty<std::string>> Prefix;
std::map<std::string, std::set<std::string>> FileSetsPerTarget;
@@ -0,0 +1,2 @@
source_group(TREE "" FILES)
@@ -2,6 +2,7 @@
include(RunCMake)
run_cmake(MixedSignatures)
run_cmake(EmptyTREE)
run_cmake(WrongRegex)
run_cmake(IgnoredKeywords)
run_cmake(MissingFILE_SETS)