MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0015407 | CMake | CMake | public | 2015-02-17 09:17 | 2016-06-10 14:31 |
| Reporter | S. Paris | ||||
| Assigned To | Kitware Robot | ||||
| Priority | normal | Severity | feature | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | WIN64 | OS | Windows | OS Version | 8.1 Pro |
| Product Version | CMake 3.1.3 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0015407: source_group: Multiple REGEX and Checking | ||||
| Description | It would be really convenient to have the possibility for source_group to: 1. Specify multiple regular expressions in one or multiple commands: source_group("foo" REGULAR_EXPRESSIONS reg0 reg1) source_group("foo" REGULAR_EXPRESSION reg2) # Would result in "foo" being selected for files matching reg0, reg1, or reg2 2. Check if a source_group has been specified: get_source_group("foo" FILES result0 REGULAR_EXPRESSION result1) # Would fill result0 with the files defined for "foo" and result1 with the regexps defined for "foo" | ||||
| Steps To Reproduce | source_group("foo" REGULAR_EXPRESSION reg0) source_group("foo" REGULAR_EXPRESSION reg1) # from here "foo" group will not be selected anymore for files matching reg0 but not reg1 | ||||
| Additional Information | 1. should really be a piece of cake to implement, just make "cmsys::RegularExpression GroupRegex" in cmSourceGroup.h a "std::set<cmsys::RegularExpression>" as it is for GroupFiles; update cmSourceGroupCommand.cxx accordingly. 2. is using Makefile->GetSourceGroup() and is even simpler to implement isn't it? | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2015-02-17 09:17 | S. Paris | New Issue | |||
| 2015-02-18 10:45 | Ben Boeckel | Note Added: 0037993 | |||
| 2015-02-18 12:14 | S. Paris | Note Added: 0037994 | |||
| 2015-02-18 12:15 | S. Paris | Note Edited: 0037994 | bug_revision_view_page.php?bugnote_id=37994#r1707 | ||
| 2016-06-10 14:29 | Kitware Robot | Note Added: 0042716 | |||
| 2016-06-10 14:29 | Kitware Robot | Status | new => resolved | ||
| 2016-06-10 14:29 | Kitware Robot | Resolution | open => moved | ||
| 2016-06-10 14:29 | Kitware Robot | Assigned To | => Kitware Robot | ||
| 2016-06-10 14:31 | Kitware Robot | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||