From e2ac5c7df0863f8523bf0b52cefd601a495b3710 Mon Sep 17 00:00:00 2001 From: Josh Morgenstern <josh@morgenstern.dev> Date: Mon, 21 Jun 2021 15:33:56 +0200 Subject: [PATCH] [#83] add Utils.hpp --- include/vkcv/Utils.hpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 include/vkcv/Utils.hpp diff --git a/include/vkcv/Utils.hpp b/include/vkcv/Utils.hpp new file mode 100644 index 00000000..4158a70a --- /dev/null +++ b/include/vkcv/Utils.hpp @@ -0,0 +1,13 @@ +#pragma once +#include <string> + +namespace utils { + + /** + * @brief Given a relative path to the executable, the absolute path is returned + * + * @param path The relative path + * @return std::string The absolute path + */ + std::string absolutePath(std::string path); +} -- GitLab