summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-07-13 11:42:31 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-07-13 11:42:42 (GMT)
commitc8f4cf0821d86e705d255dcd03fa28e9558df83d (patch)
tree589ac93277016b752c465cc8ff7e39997b1895cb /Source/cmMakefile.cxx
parent3d209acc1fdb96a213fba0442af7c2719e4d2a36 (diff)
parent2c82d9c81f869303d3202501665acd91311d7714 (diff)
downloadCMake-c8f4cf0821d86e705d255dcd03fa28e9558df83d.zip
CMake-c8f4cf0821d86e705d255dcd03fa28e9558df83d.tar.gz
CMake-c8f4cf0821d86e705d255dcd03fa28e9558df83d.tar.bz2
Merge topic 'source-group-regex-tweaks'
2c82d9c8 Add more extensions to Resources source group by default Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !1028
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 195cd6b..fb956bc 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -87,12 +87,10 @@ cmMakefile::cmMakefile(cmGlobalGenerator* globalGenerator,
#if defined(CMAKE_BUILD_WITH_CMAKE)
this->AddSourceGroup("", "^.*$");
- this->AddSourceGroup("Source Files",
- "\\.(C|M|c|c\\+\\+|cc|cpp|cxx|f|f90|for|fpp"
- "|ftn|m|mm|rc|def|r|odl|idl|hpj|bat)$");
+ this->AddSourceGroup("Source Files", CM_SOURCE_REGEX);
this->AddSourceGroup("Header Files", CM_HEADER_REGEX);
this->AddSourceGroup("CMake Rules", "\\.rule$");
- this->AddSourceGroup("Resources", "\\.plist$");
+ this->AddSourceGroup("Resources", CM_RESOURCE_REGEX);
this->AddSourceGroup("Object Files", "\\.(lo|o|obj)$");
this->ObjectLibrariesSourceGroupIndex = this->SourceGroups.size();