Closed willian-m closed 4 months ago
If the output does not exists, the code crashes right now. We should be able to use the filesystem library, which was incorporated in C++17 standard, to check if the folder exists and create one if this is not the case.
For details, see filesystem library
Notice this entails updating the CMakeLists.txt as well to require C++17.
This was actually done in 8fa3afb. Closing the issue.
If the output does not exists, the code crashes right now. We should be able to use the filesystem library, which was incorporated in C++17 standard, to check if the folder exists and create one if this is not the case.
For details, see filesystem library
Notice this entails updating the CMakeLists.txt as well to require C++17.