mirror of
https://github.com/Kitware/CMake.git
synced 2026-11-06 05:16:58 +00:00
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:
commit
82f994766d
3 files changed
+4
-1
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user