22 project_configuration(
const std::filesystem::directory_entry& projectDirectory,
const std::string& projectName);
24 static constexpr std::string_view projectExtension =
"bakery";
25 static constexpr std::string_view projectExtensionWithDot =
".bakery";
26 static constexpr std::string_view outputBankExtension =
"bnk";
27 static constexpr std::string_view outputBankExtensionWithDot =
".bnk";
29 [[nodiscard]] std::filesystem::path source_folder()
const {
return m_projectFolder /
"Source"; }
30 [[nodiscard]] std::filesystem::path object_folder()
const {
return m_projectFolder /
"Objects"; }
31 [[nodiscard]] std::filesystem::path build_folder()
const {
return m_projectFolder /
"Build"; }
32 [[nodiscard]] std::filesystem::path saved_folder()
const {
return m_projectFolder /
"Saved"; }
33 [[nodiscard]] std::filesystem::path encoded_folder()
const {
return build_folder() /
"Encoded"; }
34 [[nodiscard]] std::filesystem::path log_folder()
const {
return saved_folder() /
"Logs"; }
36 [[nodiscard]] std::filesystem::path project_file()
const {
return m_projectFile; }
37 [[nodiscard]] std::filesystem::path project_folder()
const {
return m_projectFolder; }
38 [[nodiscard]] std::string_view project_name()
const {
return m_projectName; }
40 [[nodiscard]] std::filesystem::path type_folder(
const rttr::type& type)
const;
43 [[nodiscard]]
static std::string get_filename_for_id(
46 [[nodiscard]]
bool is_valid()
const;
49 std::filesystem::path m_projectFile;
50 std::string m_projectName;
51 std::filesystem::path m_projectFolder;