19 #include <boost/filesystem/path.hpp>
28 char abs_exe_path[MAX_PATH];
29 auto path_len = GetModuleFileNameA(NULL, abs_exe_path, MAX_PATH);
31 CHECK_LT(static_cast<size_t>(path_len),
sizeof(abs_exe_path));
32 boost::filesystem::path abs_exe_dir(std::string(abs_exe_path, path_len));
33 abs_exe_dir.remove_filename();
34 const auto mapd_root = abs_exe_dir.parent_path();
36 return mapd_root.string();
std::string get_root_abs_path()