11 #include "../clib/Program/ProgramConfig.h" 12 #include "../clib/cfgelem.h" 13 #include "../clib/cfgfile.h" 14 #include "../clib/dirlist.h" 15 #include "../clib/fileutil.h" 31 while ( elem.remove_prop(
"PackageRoot", &tmp ) )
35 if ( elem.remove_prop(
"IncludeDirectory", &tmp ) )
62 std::string MyPath = path.c_str();
65 if ( stricmp( MyPath.c_str(),
"ecompile.cfg" ) == 0 )
67 std::string workingDir = PROG_CONFIG::programDir();
71 MyPath = workingDir.substr( 0, workingDir.length() - 1 );
72 MyPath = MyPath.substr( 0, MyPath.find_last_of(
'/' ) + 1 );
90 if ( PolScriptRoot.find(
':' ) == std::string::npos )
92 if ( PolScriptRoot.substr( 0, 1 ) !=
"." )
97 for (
unsigned pr = 0; pr <
PackageRoot.size(); ++pr )
99 if (
PackageRoot[pr].find(
':' ) == std::string::npos )
116 tmp = getenv(
"ECOMPILE_PATH_EM" );
119 tmp = getenv(
"ECOMPILE_PATH_INC" );
bool OnlyCompileUpdatedScripts
bool UpdateOnlyOnAutoCompile
std::string ModuleDirectory
CompilerConfig compilercfg
bool DisplayUpToDateScripts
bool GenerateDebugTextInfo
std::string PolScriptRoot
bool OptimizeObjectMembers
std::string IncludeDirectory
bool GenerateDependencyInfo
std::vector< std::string > PackageRoot
std::string normalized_dir_form(const std::string &istr)
bool AutoCompileByDefault
void Read(const std::string &path)