26#ifndef __CMAKE_PROJECT_MANAGER__
27#define __CMAKE_PROJECT_MANAGER__
97 Q_ENUM(ExtensionBuilderStage)
113 bool success()
const;
116 QString getCurrentStage()
const;
119 QStringList getStages()
const;
122 QString getStageName(ExtensionBuilderStage value)
const;
132 void stageFinished(
const QString& stage,
bool success,
const QString& output);
139 void processFinished(
int exitCode, QProcess::ExitStatus exitStatus);
143 QString camitkFilePath;
149 QProcess* currentProcess;
170 int currentStageIndex;
173 void executeNextStage();
181 void generateSourceFiles();
182 void configureCMake();
184 void runCamiTKConfig();
185 void checkIntegration();
#define CAMITKEXTENSIONGENERATOR_EXPORT
Definition CamiTKExtensionGeneratorAPI.h:33
This class manages a CamiTK Extension model (stored as a VariantDataModel).
Definition CamiTKExtensionModel.h:67
Build an extension from the given CamiTK file.
Definition ExtensionBuilder.h:82
void stageStarted(const QString &stage)
sent when the given stage is starting
void stageFinished(const QString &stage, bool success, const QString &output)
sent when the given stage is finished (with the given status and output)
void allStagesFinished(bool status)
sent when all the stage are finished (with the given overall status)
ExtensionBuilderStage
Known stages that can be set in the stage configuration.
Definition ExtensionBuilder.h:88
@ Generate_Source_Files
calls camitk-extensiongenerator (fist phase with destination dir equals to the CamiTK file path)
Definition ExtensionBuilder.h:90
@ Build_Project
cmake build (only for C++ extension)
Definition ExtensionBuilder.h:92
@ Configure_CMake
cmake configure (only for C++ extension)
Definition ExtensionBuilder.h:91
@ Check_System
check that camitk-extensiongenerator can be found and usable (for C++/python extensions) and that cma...
Definition ExtensionBuilder.h:89
@ Run_CamiTK_Config
check camitk-config –config (output can be check for new Standard extension) (only for C++ extension)
Definition ExtensionBuilder.h:93
@ Check_Integration
(for C++ Standard extension) check what is build action extensions defined in the CamiTK file were bu...
Definition ExtensionBuilder.h:94
Definition PersistenceManager.h:30