2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-03-06 21:13:02 +00:00
Files
OpenAssetTools/src/ZoneCodeGeneratorLib/ZoneCodeGeneratorArguments.h
2026-03-05 21:08:39 +00:00

34 lines
797 B
C++

#pragma once
#include "Utils/Arguments/ArgumentParser.h"
#include <string>
#include <vector>
class ZoneCodeGeneratorArguments
{
public:
ZoneCodeGeneratorArguments();
bool ParseArgs(int argc, const char** argv, bool& shouldContinue);
[[nodiscard]] bool ShouldGenerate() const;
[[nodiscard]] bool ShouldPrint() const;
std::vector<std::string> m_header_paths;
std::vector<std::string> m_command_paths;
std::string m_output_directory;
// Generate a build log that is always written for the compiler to determine
// the last output time.
std::string m_build_log_file;
std::vector<std::string> m_template_names;
private:
void PrintUsage() const;
static void PrintVersion();
ArgumentParser m_argument_parser;
unsigned m_task_flags;
};