xcal
基于 C++23 的现代图形渲染引擎
载入中...
搜索中...
未找到
变量
xcal::utils::paths 命名空间参考

变量

const std::string CURRENT_WORKING_DIRECTORY
 Get the current working directory.
 
const std::string EXECUTABLE_PATH = GET_EXECUTABLE_PATH()
 Get the path of the executable.
 
const std::string EXECUTABLE_DIR
 Get the directory of the executable.
 

变量说明

◆ CURRENT_WORKING_DIRECTORY

const std::string xcal::utils::paths::CURRENT_WORKING_DIRECTORY
初始值:
=
std::filesystem::current_path().string()

Get the current working directory.

在文件 paths.cc40 行定义.

◆ EXECUTABLE_DIR

const std::string xcal::utils::paths::EXECUTABLE_DIR
初始值:
=
std::filesystem::is_directory(EXECUTABLE_PATH)
: std::filesystem::path(EXECUTABLE_PATH).parent_path().string()
const std::string EXECUTABLE_PATH
Get the path of the executable.
Definition paths.cc:42

Get the directory of the executable.

在文件 paths.cc43 行定义.

◆ EXECUTABLE_PATH

const std::string xcal::utils::paths::EXECUTABLE_PATH = GET_EXECUTABLE_PATH()

Get the path of the executable.

在文件 paths.cc42 行定义.