"If you need to create separate classes in the application folder, or inside an specific folders you can do it by "
"creating a new class with the \"Create Class\" button or by creating a folder with the \"Create Folder\" button.\n"
"Then, in order to include your applications in the project correctly you must include them in the appli's folder "
- "\"CMakeLists.txt\" file. Also, if you create additional folders in your library you should include them in the application's "
- "\"CMakeLists.txt\" file.\n"
+ "\"CMakeLists.txt\" file using the command \"ADD_SUBDIRECTORY([applicationName])\". Also, if you create additional "
+ "folders in your application you should include them in the application's \"CMakeLists.txt\" file using the command "
+ "\"ADD_SUBDIRECTORY([folderName])\". If you use a third party library in your application you must include it by "
+ "uncommenting its inclusion in the application's \"CMakeLists.txt\" file. If you use a custom library in your "
+ "application you must include it by including the library path inside the \"INCLUDE_DIRECTORIES\" command, and its "
+ "name inside the \"SET ( ${EXE_NAME}_LINK_LIBRARIES...\"command.\n"
"\n"
"You can easily edit the CMakeLists files previously mentioned by clicking on the following buttons."),
wxDefaultPosition,
if(this->application->GetCMakeLists() != NULL)
{
- int CMId = this->application->GetCMakeLists()->GetId();
- newEvent->SetInt(CMId);
+ newEvent->SetClientData(this->application->GetCMakeLists());
newEvent->SetId(0);
wxPostEvent(this->GetParent(), *newEvent);
}
if(((modelCDMAppli*)node)->GetCMakeLists() != NULL)
{
- int CMId = ((modelCDMAppli*)node)->GetCMakeLists()->GetId();
- newEvent->SetInt(CMId);
+ newEvent->SetClientData(((modelCDMAppli*)node)->GetCMakeLists());
newEvent->SetId(0);
wxPostEvent(this->GetParent(), *newEvent);
}
if(this->application->GetCMakeLists() != NULL)
{
- int CMId = this->application->GetCMakeLists()->GetId();
- newEvent->SetInt(CMId);
+ newEvent->SetClientData(this->application->GetCMakeLists());
newEvent->SetId(0);
wxPostEvent(this->GetParent(), *newEvent);
}
if(((modelCDMAppli*)node)->GetCMakeLists() != NULL)
{
- int CMId = ((modelCDMAppli*)node)->GetCMakeLists()->GetId();
- newEvent->SetInt(CMId);
+ newEvent->SetClientData(((modelCDMAppli*)node)->GetCMakeLists());
newEvent->SetId(0);
wxPostEvent(this->GetParent(), *newEvent);
}
if(this->application->GetCMakeLists() != NULL)
{
- int CMId = this->application->GetCMakeLists()->GetId();
- newEvent->SetInt(CMId);
+ newEvent->SetClientData(this->application->GetCMakeLists());
newEvent->SetId(0);
wxPostEvent(this->GetParent(), *newEvent);
}
if(((modelCDMAppli*)node)->GetCMakeLists() != NULL)
{
- int CMId = ((modelCDMAppli*)node)->GetCMakeLists()->GetId();
- newEvent->SetInt(CMId);
+ newEvent->SetClientData(((modelCDMAppli*)node)->GetCMakeLists());
newEvent->SetId(0);
wxPostEvent(this->GetParent(), *newEvent);
}