"functionalities of your project inside the created files.\n"
"If you need to separate classes in folders you can do it by creating a folder with the \"Create Folder\" button.\n"
"Then, in order to include your libraries in the project correctly you must include them in the lib's folder "
- "\"CMakeLists.txt\" file. Also, if you create additional folders in your library you should include them in the library's "
- "\"CMakeLists.txt\" file.\n"
+ "\"CMakeLists.txt\" file by using the \"ADD_SUBDIRECTORY([libraryName])\". Also, if you use third party libraries in your "
+ "library you must include them in the library's \"CMakeLists.txt\" file by uncommenting them in the "
+ "\"SET ( ${LIBRARY_NAME}_LINK_LIBRARIES\" command; if you use custom libraries in your library you must also include them "
+ "in the library's \"CMakeLists.txt\" file by including them in the \"SET ( ${LIBRARY_NAME}_LINK_LIBRARIES\" command. Or, "
+ "if you create additional folders in your library you must include them in the library's \"CMakeLists.txt\" file by using "
+ "the \"ADD_SUBDIRECTORY([folderName])\" command.\n"
"\n"
"You can easily edit the CMakeLists files previously mentioned by clicking on the following buttons."),
wxDefaultPosition,
if(this->library->GetCMakeLists() != NULL)
{
- int CMId = this->library->GetCMakeLists()->GetId();
- newEvent->SetInt(CMId);
+ newEvent->SetClientData(this->library->GetCMakeLists());
newEvent->SetId(0);
wxPostEvent(this->GetParent(), *newEvent);
}
if(((modelCDMLib*)node)->GetCMakeLists() != NULL)
{
- int CMId = ((modelCDMLib*)node)->GetCMakeLists()->GetId();
- newEvent->SetInt(CMId);
+ newEvent->SetClientData(((modelCDMLib*)node)->GetCMakeLists());
newEvent->SetId(0);
wxPostEvent(this->GetParent(), *newEvent);
}
if(this->library->GetCMakeLists() != NULL)
{
- int CMId = this->library->GetCMakeLists()->GetId();
- newEvent->SetInt(CMId);
+ newEvent->SetClientData(this->library->GetCMakeLists());
newEvent->SetId(0);
wxPostEvent(this->GetParent(), *newEvent);
}
if(((modelCDMLib*)node)->GetCMakeLists() != NULL)
{
- int CMId = ((modelCDMLib*)node)->GetCMakeLists()->GetId();
- newEvent->SetInt(CMId);
+ newEvent->SetClientData(((modelCDMLib*)node)->GetCMakeLists());
newEvent->SetId(0);
wxPostEvent(this->GetParent(), *newEvent);
}
if(this->library->GetCMakeLists() != NULL)
{
- int CMId = this->library->GetCMakeLists()->GetId();
- newEvent->SetInt(CMId);
+ newEvent->SetClientData(this->library->GetCMakeLists());
newEvent->SetId(0);
wxPostEvent(this->GetParent(), *newEvent);
}
if(((modelCDMLib*)node)->GetCMakeLists() != NULL)
{
- int CMId = ((modelCDMLib*)node)->GetCMakeLists()->GetId();
- newEvent->SetInt(CMId);
+ newEvent->SetClientData(((modelCDMLib*)node)->GetCMakeLists());
newEvent->SetId(0);
wxPostEvent(this->GetParent(), *newEvent);
}