From 24bf28a8fb9cc8c3a90b77de9b60728bece7885d Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Sat, 18 Oct 2025 18:01:14 +0200 Subject: Moving project structure for more less compilation --- c++/environment.hpp | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 c++/environment.hpp (limited to 'c++/environment.hpp') diff --git a/c++/environment.hpp b/c++/environment.hpp deleted file mode 100644 index 4915e3a..0000000 --- a/c++/environment.hpp +++ /dev/null @@ -1,24 +0,0 @@ -#pragma once - -#include -#include -#include - -namespace kel { -namespace lbm { - -/** - * Returns the default output directory. - * Located outside the project dir because dispatching build jobs with output data in the git directory - * also copies simulated data which takes a long time. - */ -saw::error_or output_directory(){ - const char* home_dir = std::getenv("HOME"); - if(not home_dir){ - return saw::make_error("Couldn't find home dir"); - } - - return std::filesystem::path{home_dir} / ".lbm"; -} -} -} -- cgit v1.2.3