mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 06:59:01 -06:00
added another func
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user