summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalGenerator.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-05-14 16:43:35 (GMT)
committerBrad King <brad.king@kitware.com>2021-05-17 14:03:43 (GMT)
commit24bfdbcffba42fc0aac6ef3b575bd50a180d26ea (patch)
treed38d1f00b9a89c4b532eef9d6eb4b81b7adddd13 /Source/cmLocalGenerator.h
parentd6fe1bdb6d79516a68a88d5f5a11d2531dae7074 (diff)
downloadCMake-24bfdbcffba42fc0aac6ef3b575bd50a180d26ea.zip
CMake-24bfdbcffba42fc0aac6ef3b575bd50a180d26ea.tar.gz
CMake-24bfdbcffba42fc0aac6ef3b575bd50a180d26ea.tar.bz2
cmLocalGenerator: Remove unused MaybeRelativeToCurSrcDir method
With the recent update to `GetObjectFileNameWithoutTarget`, we no longer have any call sites for `MaybeRelativeToCurSrcDir`. It does not make sense for the generator to produce paths relative to the source tree in general, so remove the method.
Diffstat (limited to 'Source/cmLocalGenerator.h')
-rw-r--r--Source/cmLocalGenerator.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h
index 5ebf70c..1f8970f 100644
--- a/Source/cmLocalGenerator.h
+++ b/Source/cmLocalGenerator.h
@@ -471,7 +471,6 @@ public:
*/
std::string MaybeRelativeToTopBinDir(std::string const& path) const;
std::string MaybeRelativeToCurBinDir(std::string const& path) const;
- std::string MaybeRelativeToCurSrcDir(std::string const& path) const;
/**
* Generate a macOS application bundle Info.plist file.