diff options
author | Ken Martin <ken.martin@kitware.com> | 2002-11-14 11:03:08 -0500 |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2002-11-14 11:03:08 -0500 |
commit | 1d74cb3e355db759ef7c97e933f2e88dcb692f9f (patch) | |
tree | 428a8ac71d79045366302c96c727626b392381c0 /Source/cmCPluginAPI.cxx | |
parent | 2281726935b1a0821bb14dcc96ed99ac9c415845 (diff) | |
download | cmake-1d74cb3e355db759ef7c97e933f2e88dcb692f9f.tar.gz |
added another func
Diffstat (limited to 'Source/cmCPluginAPI.cxx')
-rw-r--r-- | Source/cmCPluginAPI.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmCPluginAPI.cxx b/Source/cmCPluginAPI.cxx index 79ff4b9939..e7ffe3f391 100644 --- a/Source/cmCPluginAPI.cxx +++ b/Source/cmCPluginAPI.cxx @@ -386,6 +386,12 @@ const char *cmSourceFileGetSourceName(void *arg) return sf->GetSourceName().c_str(); } +const char *cmSourceFileGetFullPath(void *arg) +{ + cmSourceFile *sf = static_cast<cmSourceFile *>(arg); + return sf->GetFullPath().c_str(); +} + const char *cmSourceFileGetProperty(void *arg,const char *prop) { cmSourceFile *sf = static_cast<cmSourceFile *>(arg); @@ -508,6 +514,7 @@ cmCAPI cmStaticCAPI = cmSourceFileGetProperty, cmSourceFileGetPropertyAsBool, cmSourceFileGetSourceName, + cmSourceFileGetFullPath, cmSourceFileSetName, cmSourceFileSetName2, cmSourceFileSetProperty, |