Fix so that project builds dependencies
Currently there is a problem where the h files in the makefile are in absolute path. This makes it so that the Makefile cannot be shared between different computers.
This commit is contained in:
@@ -3,14 +3,19 @@
|
||||
#include <vector>
|
||||
#include <string>
|
||||
|
||||
static const std::string CONFIG_FILENAME = "makegen.conf";
|
||||
|
||||
class ConfigFile
|
||||
{
|
||||
public:
|
||||
std::string configPath;
|
||||
std::vector<std::string> libs;
|
||||
std::vector<std::string> libdirs;
|
||||
std::vector<std::string> includedirs;
|
||||
std::vector<std::string> defines;
|
||||
std::vector<std::string> flags;
|
||||
std::vector<std::string> dependencies;
|
||||
|
||||
std::string outputdir;
|
||||
std::string srcdir;
|
||||
std::string outputname;
|
||||
@@ -19,6 +24,7 @@ class ConfigFile
|
||||
bool executable;
|
||||
bool shared;
|
||||
bool generateHFile;
|
||||
std::vector<ConfigFile> dependencyConfigs;
|
||||
public:
|
||||
ConfigFile();
|
||||
void Save() const;
|
||||
|
||||
Reference in New Issue
Block a user