Add --target=<target> flag

- Used to compile using a specific target, without the need of modifying
  the makegen.xml file
This commit is contained in:
Thraix
2025-08-05 20:45:36 +02:00
parent 658d6df8a5
commit 6976d330fc
10 changed files with 138 additions and 92 deletions
+2
View File
@@ -34,7 +34,9 @@ struct Utils
{
static bool IsSourceFile(const std::string& filepath);
static bool IsHeaderFile(const std::string& filepath);
static std::string CommonPrefix(const std::string& s1, const std::string& s2);
static bool StartsWith(const std::string& str, const std::string& prefix);
static void GetCppFiles(ConfigFile& conf, std::set<std::string>& cppFiles);
static void GetCppAndHFiles(ConfigFile& conf, std::set<HFile>& hFiles, std::set<std::string>& cppFiles);
static void GetHFiles(const std::string& dependencyDir, ConfigFile& conf, std::set<HFile>& hFiles);