X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FcreaDevManagerLib%2FmodelCDMCMakeListsFile.cpp;h=2dc48b478d29cdaac5926dc1655e42bcad209e79;hb=c8a0837d54a0c9004e53eb92ff652a8e996a2fad;hp=dfbb99958af7655d8cfb22f3c34a8125dd205a00;hpb=cfa883d25e73975f73c20fefc1ec2c947d827938;p=crea.git diff --git a/lib/creaDevManagerLib/modelCDMCMakeListsFile.cpp b/lib/creaDevManagerLib/modelCDMCMakeListsFile.cpp index dfbb999..2dc48b4 100644 --- a/lib/creaDevManagerLib/modelCDMCMakeListsFile.cpp +++ b/lib/creaDevManagerLib/modelCDMCMakeListsFile.cpp @@ -45,8 +45,10 @@ modelCDMCMakeListsFile::modelCDMCMakeListsFile() { } -modelCDMCMakeListsFile::modelCDMCMakeListsFile(const std::string& path, const std::string& name, const int& level) +modelCDMCMakeListsFile::modelCDMCMakeListsFile(modelCDMIProjectTreeNode* parent, const std::string& path, const std::string& name, const int& level) { + std::cout << "creating cmakelist file: " + path + "\n"; + this->parent = parent; this->children.clear(); this->level = level; this->type = wxDIR_FILES; @@ -77,6 +79,7 @@ bool modelCDMCMakeListsFile::OpenFile(std::string*& result) const bool modelCDMCMakeListsFile::Refresh(std::string*& result) { + //std::cout << "refreshing cmakelists" << std::endl; std::ifstream in((this->path).c_str()); if(!in.is_open()) {