BUG: better setup of properties for loaded commands
This commit is contained in:
parent
7bb9c3f955
commit
e4ac63fa72
|
@ -529,8 +529,10 @@ void * CCONV cmCreateSourceFile()
|
||||||
|
|
||||||
void * CCONV cmCreateNewSourceFile(void *arg)
|
void * CCONV cmCreateNewSourceFile(void *arg)
|
||||||
{
|
{
|
||||||
(void)arg; // no longer needed
|
cmMakefile *mf = static_cast<cmMakefile *>(arg);
|
||||||
return (void*)new cmCPluginAPISourceFile;
|
cmCPluginAPISourceFile *sf = new cmCPluginAPISourceFile;
|
||||||
|
sf->Properties.SetCMakeInstance(mf->GetCMakeInstance());
|
||||||
|
return (void*)sf;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CCONV cmDestroySourceFile(void *arg)
|
void CCONV cmDestroySourceFile(void *arg)
|
||||||
|
|
Loading…
Reference in New Issue