summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.h
diff options
context:
space:
mode:
authorTim Grothe <Tim.Grothe@gmail.com>2015-11-02 14:24:25 (GMT)
committerBrad King <brad.king@kitware.com>2015-11-04 14:15:14 (GMT)
commit247c168b987a8c9c479112c13078aa2e5db37773 (patch)
tree35fd3e112fc2595018f4ff825d21b37675bfe715 /Source/cmGeneratorTarget.h
parentadfc8a677e51772d87a3e050477c60ce0b70288f (diff)
downloadCMake-247c168b987a8c9c479112c13078aa2e5db37773.zip
CMake-247c168b987a8c9c479112c13078aa2e5db37773.tar.gz
CMake-247c168b987a8c9c479112c13078aa2e5db37773.tar.bz2
Refactor `.def` file lookup
Return a `cmSourceFile const*` from GetModuleDefinitionFile so that callers can get more information than just the path to the file.
Diffstat (limited to 'Source/cmGeneratorTarget.h')
-rw-r--r--Source/cmGeneratorTarget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGeneratorTarget.h b/Source/cmGeneratorTarget.h
index da59a98..bd23477 100644
--- a/Source/cmGeneratorTarget.h
+++ b/Source/cmGeneratorTarget.h
@@ -220,7 +220,7 @@ public:
cmLocalGenerator* LocalGenerator;
cmGlobalGenerator const* GlobalGenerator;
- std::string GetModuleDefinitionFile(const std::string& config) const;
+ cmSourceFile const* GetModuleDefinitionFile(const std::string& config) const;
/** Return whether or not the target is for a DLL platform. */
bool IsDLLPlatform() const;