#ifndef GUARD_OLC_TMP_DIR_HPP #define GUARD_OLC_TMP_DIR_HPP #include #include namespace olCompile { void SystemCmd(std::string cmd); struct TmpDir { boost::filesystem::path path; TmpDir(std::string prefix); TmpDir(TmpDir const&) = delete; TmpDir& operator=(TmpDir const&) = delete; void Execute(std::string exe, std::string args) const; ~TmpDir(); }; } // namespace olCompile #endif