Change so that project h files are not listed as include dependency
This commit is contained in:
+1
-15
@@ -13,7 +13,7 @@
|
||||
// Release , should be backwards compatible with any minor version
|
||||
#define MAKEGEN_VERSION_RELEASE 1
|
||||
// Minor changes, should be compatible with any other minor version with same major and release.
|
||||
#define MAKEGEN_VERSION_MINOR 4
|
||||
#define MAKEGEN_VERSION_MINOR 5
|
||||
#define MAKEGEN_VERSION ("v" STR(MAKEGEN_VERSION_MAJOR) "." STR(MAKEGEN_VERSION_RELEASE) "." STR(MAKEGEN_VERSION_MINOR))
|
||||
|
||||
const static unsigned int FLAG_HELP = BIT(0);
|
||||
@@ -44,17 +44,3 @@ void Log(const T& var, const Ts& ...vars)
|
||||
Log(var);
|
||||
Log(vars...);
|
||||
}
|
||||
|
||||
inline std::string CommonPrefix(const std::string& s1, const std::string& s2)
|
||||
{
|
||||
size_t n = 0;
|
||||
for(size_t i = 0; i<s1.size() && i<s2.size();++i)
|
||||
{
|
||||
if(s1[i] != s2[i])
|
||||
{
|
||||
n = i;
|
||||
break;
|
||||
}
|
||||
}
|
||||
return s1.substr(0, n);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user