Commit 52a09dad authored by Moritz Pflanzer's avatar Moritz Pflanzer
Browse files

Added decompress option to config and prevented renewal of dirs

parent 462a9ebb
......@@ -18,7 +18,7 @@ Release: ../FRESCO
../FRESCO: $(OBJS_RELEASE)
@echo Building console executable ../FRESCO
@${CPP} -march=native -lz -lboost_system -lboost_filesystem -lboost_iostreams -o ../FRESCO $(OBJS_RELEASE)
@${CPP} -march=native -o ../FRESCO $(OBJS_RELEASE) -lz -lboost_system -lboost_filesystem -lboost_iostreams
main.o: ../source/main.cpp
@echo Compiling: ../source/main.cpp
......
......@@ -2,4 +2,5 @@ COMPRESSORTYPE=SimpleCompressor_LO_MD
XXSERIALIZERTYPE=CompactSerializer
XXSERIALIZERTYPE=PlainSerializer
SERIALIZERTYPE=CompactSerializer
NUMBEROFADSOREFS=1
......@@ -211,8 +211,9 @@ long getFileSize(string s)
void renewDir(string path)
{
boost::filesystem::remove_all(path);
boost::filesystem::create_directories(path);}
// boost::filesystem::remove_all(path);
// boost::filesystem::create_directories(path);
}
......
......@@ -33,8 +33,9 @@ class SystemTools
static void renewDir(string path)
{
boost::filesystem::remove_all(path);
boost::filesystem::create_directories(path);}
//boost::filesystem::remove_all(path);
//boost::filesystem::create_directories(path);
}
static void remove(string path)
{boost::filesystem::remove(path);}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment