All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
te::qt::widgets::PluginCMakeWriter Class Reference

This class is used to create the cmake file for the new plugin builded. More...

#include <PluginCMakeWriter.h>

Public Member Functions

void createCmakeFile (const std::string &buildPath, const std::string &sourcePath, const std::string &projName, const std::string exportMacro, const std::string &cmakePath, const te::plugin::PluginInfo &pi)
 
void createPluginInfoFile (const std::string &buildPath, const te::plugin::PluginInfo &pi, const te::plugin::Provider &p)
 
 PluginCMakeWriter ()
 
 ~PluginCMakeWriter ()
 

Protected Member Functions

void findBoost (std::ofstream &stream)
 
void findTerralib (std::ofstream &stream, const std::string &teCmakePath, const te::plugin::PluginInfo &pi)
 
void insertDefaultHeader (std::ofstream &stream)
 
void insertDefaultXMLHeader (std::ofstream &stream)
 

Detailed Description

This class is used to create the cmake file for the new plugin builded.

Definition at line 51 of file PluginCMakeWriter.h.

Constructor & Destructor Documentation

te::qt::widgets::PluginCMakeWriter::PluginCMakeWriter ( )

Definition at line 37 of file PluginCMakeWriter.cpp.

te::qt::widgets::PluginCMakeWriter::~PluginCMakeWriter ( )

Definition at line 41 of file PluginCMakeWriter.cpp.

Member Function Documentation

void te::qt::widgets::PluginCMakeWriter::createCmakeFile ( const std::string &  buildPath,
const std::string &  sourcePath,
const std::string &  projName,
const std::string  exportMacro,
const std::string &  cmakePath,
const te::plugin::PluginInfo pi 
)

Definition at line 45 of file PluginCMakeWriter.cpp.

References CMAKE_FILE_NAME.

Referenced by te::qt::widgets::PluginBuilderWizard::buildPlugin().

void te::qt::widgets::PluginCMakeWriter::findBoost ( std::ofstream &  stream)
protected

Definition at line 280 of file PluginCMakeWriter.cpp.

void te::qt::widgets::PluginCMakeWriter::findTerralib ( std::ofstream &  stream,
const std::string &  teCmakePath,
const te::plugin::PluginInfo pi 
)
protected

Definition at line 258 of file PluginCMakeWriter.cpp.

References te::plugin::PluginInfo::m_requiredModules.

void te::qt::widgets::PluginCMakeWriter::insertDefaultHeader ( std::ofstream &  stream)
protected

Definition at line 217 of file PluginCMakeWriter.cpp.

References te::common::Version::asString(), and CMAKE_FILE_NAME.

void te::qt::widgets::PluginCMakeWriter::insertDefaultXMLHeader ( std::ofstream &  stream)
protected

Definition at line 238 of file PluginCMakeWriter.cpp.

References te::common::Version::asString(), and CMAKE_FILE_NAME.


The documentation for this class was generated from the following files: