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:
+2
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user