]> Creatis software - crea.git/blobdiff - lib/creaDevManagerLib/modelCDMProject.h
Feature #1711 CreaDevManager application implementation
[crea.git] / lib / creaDevManagerLib / modelCDMProject.h
index f354db9e51c6e3e56aa73f82a79a8b1204b93524..c585ea044fc648a895c629b83457f409f4fd45b7 100644 (file)
@@ -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<std::string, bool> 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: