mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 06:59:01 -06:00
BUG: better setup of properties for loaded commands
This commit is contained in:
@@ -529,8 +529,10 @@ void * CCONV cmCreateSourceFile()
|
||||
|
||||
void * CCONV cmCreateNewSourceFile(void *arg)
|
||||
{
|
||||
(void)arg; // no longer needed
|
||||
return (void*)new cmCPluginAPISourceFile;
|
||||
cmMakefile *mf = static_cast<cmMakefile *>(arg);
|
||||
cmCPluginAPISourceFile *sf = new cmCPluginAPISourceFile;
|
||||
sf->Properties.SetCMakeInstance(mf->GetCMakeInstance());
|
||||
return (void*)sf;
|
||||
}
|
||||
|
||||
void CCONV cmDestroySourceFile(void *arg)
|
||||
|
||||
Reference in New Issue
Block a user