Add sourcefile as makegen.xml option

- sourcefile will add additional individual files. Useful for when the
  user needs to manually specify files from existing repositories. If
  those repositories contain multiple files for different platforms
- Rework IncludeDeps to support sourcefiles
This commit is contained in:
Thraix
2025-05-25 16:07:32 +02:00
parent 61f9c3ee0d
commit f6caefb078
15 changed files with 208 additions and 110 deletions
+2 -2
View File
@@ -2,18 +2,18 @@
#include <set>
#include <string>
#include <iostream>
struct HFile
{
std::string filename;
std::string directory;
bool isProjectHFile;
std::string filepath;
HFile(const std::string& filename, const std::string& directory, bool isProjectHFile)
: filename{filename}, directory{directory}, isProjectHFile{isProjectHFile}, filepath{directory+filename}
: filename{filename}, isProjectHFile{isProjectHFile}, filepath{directory+filename}
{}
friend bool operator<(const HFile& h1, const HFile& h2)