X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcreaDevManagerLib%2FmodelCDMProject.h;h=c585ea044fc648a895c629b83457f409f4fd45b7;hb=HEAD;hp=f354db9e51c6e3e56aa73f82a79a8b1204b93524;hpb=0cc6a7e002ad79de9453517108d7456fd44ddfdb;p=crea.git diff --git a/lib/creaDevManagerLib/modelCDMProject.h b/lib/creaDevManagerLib/modelCDMProject.h index f354db9..c585ea0 100644 --- a/lib/creaDevManagerLib/modelCDMProject.h +++ b/lib/creaDevManagerLib/modelCDMProject.h @@ -44,6 +44,7 @@ #include "modelCDMAppli.h" #include "modelCDMPackage.h" #include "modelCDMCMakeListsFile.h" +#include "modelCDMCodeFile.h" /** * Project model class. @@ -200,7 +201,7 @@ public: */ modelCDMIProjectTreeNode* CreateBlackBox( const std::string& name, - const std::string& package = "", //if empty converts into "/bbtk_*projectName*_PKG" + const std::string& package = "", //if empty converts into "[projectName]" const std::string& authors = "unknown", const std::string& authorsEmail = "", const std::string& categories = "empty", @@ -267,6 +268,18 @@ public: */ bool SetPackageInclude(const std::string& package_name, const bool& toInclude); + /** + * Checks the project folder's CMakeLists file to check which third party libraries are enabled. + * @return A map with the name of the library and if it's included in the CMakeLists file. + */ + std::map Get3rdPartyLibraries(); + + /** + * Sets the 3rd party library inclusion in the CMakeLists file. + * @return if the operation was successful. + */ + bool Set3rdPartyLibrary(const std::string& library_name, const bool& toInclude); + private: