diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2017-09-07 09:55:52 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2017-09-09 07:44:55 (GMT) |
commit | 1e6569c9f4614b3d915653bab2fd423c99d814d6 (patch) | |
tree | 7c8980e81f9805782ae75167c7aaf876bc0d999d /Source/cmMakefile.h | |
parent | 3e8b3e94dc6d3ea59dd437f1ea46786f9f0ec1d2 (diff) | |
download | CMake-1e6569c9f4614b3d915653bab2fd423c99d814d6.zip CMake-1e6569c9f4614b3d915653bab2fd423c99d814d6.tar.gz CMake-1e6569c9f4614b3d915653bab2fd423c99d814d6.tar.bz2 |
cmMakefile: Add GetOrCreateSourceGroup methods
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r-- | Source/cmMakefile.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h index 31ae229..398604d 100644 --- a/Source/cmMakefile.h +++ b/Source/cmMakefile.h @@ -475,6 +475,18 @@ public: const char* regex = nullptr); /** + * Get and existing or create a new source group. + */ + cmSourceGroup* GetOrCreateSourceGroup( + const std::vector<std::string>& folders); + + /** + * Get and existing or create a new source group. + * The name will be tokenized. + */ + cmSourceGroup* GetOrCreateSourceGroup(const std::string& name); + + /** * find what source group this source is in */ cmSourceGroup* FindSourceGroup(const char* source, |