![]() |
PhoenixGenerator
2.0.0
Set of tools to generate code
|
Describes a CMakeLists.txt file. More...
#include <PCMakeListsGenerator.h>
Public Member Functions | |
PPath & | getCmakeModulePath () |
Gets the cmakeModulePath of the PCMakeListsGenerator. More... | |
const PPath & | getCmakeModulePath () const |
Gets the cmakeModulePath of the PCMakeListsGenerator. More... | |
std::vector< PCMakeExecutable > & | getListExecutable () |
Gets the listExecutable of the PCMakeListsGenerator. More... | |
const std::vector< PCMakeExecutable > & | getListExecutable () const |
Gets the listExecutable of the PCMakeListsGenerator. More... | |
PVecPath & | getListIncludeDirectories () |
Gets the listIncludeDirectories of the PCMakeListsGenerator. More... | |
const PVecPath & | getListIncludeDirectories () const |
Gets the listIncludeDirectories of the PCMakeListsGenerator. More... | |
std::vector< PCMakeLibrary > & | getListLibraries () |
Gets the listLibraries of the PCMakeListsGenerator. More... | |
const std::vector< PCMakeLibrary > & | getListLibraries () const |
Gets the listLibraries of the PCMakeListsGenerator. More... | |
PVecPath & | getListLinkDirecories () |
Gets the listLinkDirecories of the PCMakeListsGenerator. More... | |
const PVecPath & | getListLinkDirecories () const |
Gets the listLinkDirecories of the PCMakeListsGenerator. More... | |
PVecString & | getListPackage () |
Gets the listPackage of the PCMakeListsGenerator. More... | |
const PVecString & | getListPackage () const |
Gets the listPackage of the PCMakeListsGenerator. More... | |
PString & | getProjectName () |
Gets the projectName of the PCMakeListsGenerator. More... | |
const PString & | getProjectName () const |
Gets the projectName of the PCMakeListsGenerator. More... | |
PPath & | getTestDirectory () |
Gets the testDirectory of the PCMakeListsGenerator. More... | |
const PPath & | getTestDirectory () const |
Gets the testDirectory of the PCMakeListsGenerator. More... | |
PCMakeListsGenerator & | operator= (const PCMakeListsGenerator &other) |
Operator = of class PCMakeListsGenerator. More... | |
PCMakeListsGenerator () | |
Constructor of class PCMakeListsGenerator. More... | |
PCMakeListsGenerator (const PCMakeListsGenerator &other) | |
Copy Constructor of class PCMakeListsGenerator. More... | |
void | setCmakeModulePath (const PPath &cmakeModulePath) |
Sets the cmakeModulePath of the PCMakeListsGenerator. More... | |
void | setListExecutable (const std::vector< PCMakeExecutable > &listExecutable) |
Sets the listExecutable of the PCMakeListsGenerator. More... | |
void | setListIncludeDirectories (const PVecPath &listIncludeDirectories) |
Sets the listIncludeDirectories of the PCMakeListsGenerator. More... | |
void | setListLibraries (const std::vector< PCMakeLibrary > &listLibraries) |
Sets the listLibraries of the PCMakeListsGenerator. More... | |
void | setListLinkDirecories (const PVecPath &listLinkDirecories) |
Sets the listLinkDirecories of the PCMakeListsGenerator. More... | |
void | setListPackage (const PVecString &listPackage) |
Sets the listPackage of the PCMakeListsGenerator. More... | |
void | setProjectName (const PString &projectName) |
Sets the projectName of the PCMakeListsGenerator. More... | |
void | setTestDirectory (const PPath &testDirectory) |
Sets the testDirectory of the PCMakeListsGenerator. More... | |
virtual | ~PCMakeListsGenerator () |
Destructor of class PCMakeListsGenerator. More... | |
Protected Member Functions | |
void | copyPCMakeListsGenerator (const PCMakeListsGenerator &other) |
Copy Function of class PCMakeListsGenerator. More... | |
Private Member Functions | |
void | initialisationPCMakeListsGenerator () |
Initialisation Function of class PCMakeListsGenerator. More... | |
Private Attributes | |
PPath | p_cmakeModulePath |
CMAKE_MODULE_PATH variable. More... | |
std::vector< PCMakeExecutable > | p_listExecutable |
List of the executable. More... | |
PVecPath | p_listIncludeDirectories |
Lists of the include directories. More... | |
std::vector< PCMakeLibrary > | p_listLibraries |
List of the libraries. More... | |
PVecPath | p_listLinkDirecories |
Lists of the link directories. More... | |
PVecString | p_listPackage |
List of the packages dependencies. More... | |
PString | p_projectName |
Name of the project. More... | |
PPath | p_testDirectory |
Test sub-directory. More... | |
Describes a CMakeLists.txt file.
Definition at line 130 of file PCMakeListsGenerator.h.
PCMakeListsGenerator::PCMakeListsGenerator | ( | ) |
Constructor of class PCMakeListsGenerator.
Definition at line 481 of file PCMakeListsGenerator.cpp.
References initialisationPCMakeListsGenerator().
PCMakeListsGenerator::PCMakeListsGenerator | ( | const PCMakeListsGenerator & | other | ) |
Copy Constructor of class PCMakeListsGenerator.
other | : PCMakeListsGenerator we want ot copy |
Definition at line 488 of file PCMakeListsGenerator.cpp.
References copyPCMakeListsGenerator().
|
virtual |
Destructor of class PCMakeListsGenerator.
Definition at line 493 of file PCMakeListsGenerator.cpp.
|
protected |
Copy Function of class PCMakeListsGenerator.
other | : PCMakeListsGenerator we want ot copy |
Definition at line 677 of file PCMakeListsGenerator.cpp.
References p_cmakeModulePath, p_listExecutable, p_listIncludeDirectories, p_listLibraries, p_listLinkDirecories, p_listPackage, p_projectName, and p_testDirectory.
Referenced by operator=(), and PCMakeListsGenerator().
PPath & PCMakeListsGenerator::getCmakeModulePath | ( | ) |
Gets the cmakeModulePath of the PCMakeListsGenerator.
Definition at line 586 of file PCMakeListsGenerator.cpp.
References p_cmakeModulePath.
const PPath & PCMakeListsGenerator::getCmakeModulePath | ( | ) | const |
Gets the cmakeModulePath of the PCMakeListsGenerator.
Definition at line 579 of file PCMakeListsGenerator.cpp.
References p_cmakeModulePath.
Referenced by saveCMakeListsGenerator().
std::vector< PCMakeExecutable > & PCMakeListsGenerator::getListExecutable | ( | ) |
Gets the listExecutable of the PCMakeListsGenerator.
Definition at line 656 of file PCMakeListsGenerator.cpp.
References p_listExecutable.
const std::vector< PCMakeExecutable > & PCMakeListsGenerator::getListExecutable | ( | ) | const |
Gets the listExecutable of the PCMakeListsGenerator.
Definition at line 649 of file PCMakeListsGenerator.cpp.
References p_listExecutable.
Referenced by saveCMakeListsGenerator().
PVecPath & PCMakeListsGenerator::getListIncludeDirectories | ( | ) |
Gets the listIncludeDirectories of the PCMakeListsGenerator.
Definition at line 614 of file PCMakeListsGenerator.cpp.
References p_listIncludeDirectories.
const PVecPath & PCMakeListsGenerator::getListIncludeDirectories | ( | ) | const |
Gets the listIncludeDirectories of the PCMakeListsGenerator.
Definition at line 607 of file PCMakeListsGenerator.cpp.
References p_listIncludeDirectories.
Referenced by saveCMakeListsGenerator().
std::vector< PCMakeLibrary > & PCMakeListsGenerator::getListLibraries | ( | ) |
Gets the listLibraries of the PCMakeListsGenerator.
Definition at line 642 of file PCMakeListsGenerator.cpp.
References p_listLibraries.
const std::vector< PCMakeLibrary > & PCMakeListsGenerator::getListLibraries | ( | ) | const |
Gets the listLibraries of the PCMakeListsGenerator.
Definition at line 635 of file PCMakeListsGenerator.cpp.
References p_listLibraries.
Referenced by saveCMakeListsGenerator().
PVecPath & PCMakeListsGenerator::getListLinkDirecories | ( | ) |
Gets the listLinkDirecories of the PCMakeListsGenerator.
Definition at line 628 of file PCMakeListsGenerator.cpp.
References p_listLinkDirecories.
const PVecPath & PCMakeListsGenerator::getListLinkDirecories | ( | ) | const |
Gets the listLinkDirecories of the PCMakeListsGenerator.
Definition at line 621 of file PCMakeListsGenerator.cpp.
References p_listLinkDirecories.
Referenced by saveCMakeListsGenerator().
PVecString & PCMakeListsGenerator::getListPackage | ( | ) |
Gets the listPackage of the PCMakeListsGenerator.
Definition at line 600 of file PCMakeListsGenerator.cpp.
References p_listPackage.
const PVecString & PCMakeListsGenerator::getListPackage | ( | ) | const |
Gets the listPackage of the PCMakeListsGenerator.
Definition at line 593 of file PCMakeListsGenerator.cpp.
References p_listPackage.
Referenced by saveCMakeListsGenerator().
PString & PCMakeListsGenerator::getProjectName | ( | ) |
Gets the projectName of the PCMakeListsGenerator.
Definition at line 572 of file PCMakeListsGenerator.cpp.
References p_projectName.
const PString & PCMakeListsGenerator::getProjectName | ( | ) | const |
Gets the projectName of the PCMakeListsGenerator.
Definition at line 565 of file PCMakeListsGenerator.cpp.
References p_projectName.
Referenced by saveCMakeListsGenerator().
PPath & PCMakeListsGenerator::getTestDirectory | ( | ) |
Gets the testDirectory of the PCMakeListsGenerator.
Definition at line 670 of file PCMakeListsGenerator.cpp.
References p_testDirectory.
const PPath & PCMakeListsGenerator::getTestDirectory | ( | ) | const |
Gets the testDirectory of the PCMakeListsGenerator.
Definition at line 663 of file PCMakeListsGenerator.cpp.
References p_testDirectory.
Referenced by saveCMakeListsGenerator().
|
private |
Initialisation Function of class PCMakeListsGenerator.
Definition at line 689 of file PCMakeListsGenerator.cpp.
Referenced by PCMakeListsGenerator().
PCMakeListsGenerator & PCMakeListsGenerator::operator= | ( | const PCMakeListsGenerator & | other | ) |
Operator = of class PCMakeListsGenerator.
other | : PCMakeListsGenerator we want ot copy |
Definition at line 501 of file PCMakeListsGenerator.cpp.
References copyPCMakeListsGenerator().
void PCMakeListsGenerator::setCmakeModulePath | ( | const PPath & | cmakeModulePath | ) |
Sets the cmakeModulePath of the PCMakeListsGenerator.
cmakeModulePath | : cmakeModulePath of the PCMakeListsGenerator |
Definition at line 516 of file PCMakeListsGenerator.cpp.
References p_cmakeModulePath.
void PCMakeListsGenerator::setListExecutable | ( | const std::vector< PCMakeExecutable > & | listExecutable | ) |
Sets the listExecutable of the PCMakeListsGenerator.
listExecutable | : listExecutable of the PCMakeListsGenerator |
Definition at line 551 of file PCMakeListsGenerator.cpp.
References p_listExecutable.
void PCMakeListsGenerator::setListIncludeDirectories | ( | const PVecPath & | listIncludeDirectories | ) |
Sets the listIncludeDirectories of the PCMakeListsGenerator.
listIncludeDirectories | : listIncludeDirectories of the PCMakeListsGenerator |
Definition at line 530 of file PCMakeListsGenerator.cpp.
References p_listIncludeDirectories.
void PCMakeListsGenerator::setListLibraries | ( | const std::vector< PCMakeLibrary > & | listLibraries | ) |
Sets the listLibraries of the PCMakeListsGenerator.
listLibraries | : listLibraries of the PCMakeListsGenerator |
Definition at line 544 of file PCMakeListsGenerator.cpp.
References p_listLibraries.
void PCMakeListsGenerator::setListLinkDirecories | ( | const PVecPath & | listLinkDirecories | ) |
Sets the listLinkDirecories of the PCMakeListsGenerator.
listLinkDirecories | : listLinkDirecories of the PCMakeListsGenerator |
Definition at line 537 of file PCMakeListsGenerator.cpp.
References p_listLinkDirecories.
void PCMakeListsGenerator::setListPackage | ( | const PVecString & | listPackage | ) |
Sets the listPackage of the PCMakeListsGenerator.
listPackage | : listPackage of the PCMakeListsGenerator |
Definition at line 523 of file PCMakeListsGenerator.cpp.
References p_listPackage.
void PCMakeListsGenerator::setProjectName | ( | const PString & | projectName | ) |
Sets the projectName of the PCMakeListsGenerator.
projectName | : projectName of the PCMakeListsGenerator |
Definition at line 509 of file PCMakeListsGenerator.cpp.
References p_projectName.
void PCMakeListsGenerator::setTestDirectory | ( | const PPath & | testDirectory | ) |
Sets the testDirectory of the PCMakeListsGenerator.
testDirectory | : testDirectory of the PCMakeListsGenerator |
Definition at line 558 of file PCMakeListsGenerator.cpp.
References p_testDirectory.
|
private |
CMAKE_MODULE_PATH variable.
Definition at line 167 of file PCMakeListsGenerator.h.
Referenced by copyPCMakeListsGenerator(), getCmakeModulePath(), and setCmakeModulePath().
|
private |
List of the executable.
Definition at line 177 of file PCMakeListsGenerator.h.
Referenced by copyPCMakeListsGenerator(), getListExecutable(), and setListExecutable().
|
private |
Lists of the include directories.
Definition at line 171 of file PCMakeListsGenerator.h.
Referenced by copyPCMakeListsGenerator(), getListIncludeDirectories(), and setListIncludeDirectories().
|
private |
List of the libraries.
Definition at line 175 of file PCMakeListsGenerator.h.
Referenced by copyPCMakeListsGenerator(), getListLibraries(), and setListLibraries().
|
private |
Lists of the link directories.
Definition at line 173 of file PCMakeListsGenerator.h.
Referenced by copyPCMakeListsGenerator(), getListLinkDirecories(), and setListLinkDirecories().
|
private |
List of the packages dependencies.
Definition at line 169 of file PCMakeListsGenerator.h.
Referenced by copyPCMakeListsGenerator(), getListPackage(), and setListPackage().
|
private |
Name of the project.
Definition at line 165 of file PCMakeListsGenerator.h.
Referenced by copyPCMakeListsGenerator(), getProjectName(), and setProjectName().
|
private |
Test sub-directory.
Definition at line 179 of file PCMakeListsGenerator.h.
Referenced by copyPCMakeListsGenerator(), getTestDirectory(), and setTestDirectory().