]> Creatis software - crea.git/blobdiff - lib/creaDevManagerLib/modelCDMApplication.h
Feature #1711 CreaDevManager application implementation
[crea.git] / lib / creaDevManagerLib / modelCDMApplication.h
index e471ec9289fd8a93c36f2b42efdf5d47c05773f7..9693066078d857c869e72474fa635c651ecbce6c 100644 (file)
@@ -41,6 +41,7 @@
 
 #include "modelCDMFolder.h"
 #include "modelCDMFile.h"
+#include "modelCDMCodeFile.h"
 
 /**
  * Class representing an application in a Crea project. An Application is an stand alone application that uses the project libraries to show their functionalities.
@@ -105,6 +106,30 @@ public:
    */
   void CheckStructure(std::map<std::string, bool>& properties);
 
+  /**
+   * Checks the application'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 application's CMakeLists file.
+   * @return if the operation was successful.
+   */
+  bool Set3rdPartyLibrary(const std::string& library_name, const bool& toInclude);
+
+  /**
+   * Checks the application's CMakeLists file to check which custom 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> GetCustomLibraries();
+
+  /**
+   * Sets the custom library inclusion in the application's CMakeLists file.
+   * @return if the operation was successful.
+   */
+  bool SetCustomLibrary(const std::string& library_name, const bool& toInclude);
+
 private:
   /**
    * Name of the application executable file.