mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
53 lines
1.1 KiB
C++
53 lines
1.1 KiB
C++
/** @file
|
|
*
|
|
* @par History
|
|
*/
|
|
|
|
|
|
#ifndef BSCRIPT_COMPILERCFG_H
|
|
#define BSCRIPT_COMPILERCFG_H
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
namespace Pol
|
|
{
|
|
namespace Bscript
|
|
{
|
|
struct CompilerConfig
|
|
{
|
|
std::vector<std::string> PackageRoot;
|
|
std::string IncludeDirectory;
|
|
std::string ModuleDirectory;
|
|
std::string PolScriptRoot;
|
|
bool GenerateListing;
|
|
bool GenerateDebugInfo;
|
|
bool GenerateDebugTextInfo;
|
|
int VerbosityLevel;
|
|
bool DisplayWarnings;
|
|
bool GenerateDependencyInfo;
|
|
bool CompileAspPages;
|
|
bool AutoCompileByDefault;
|
|
bool UpdateOnlyOnAutoCompile;
|
|
bool OnlyCompileUpdatedScripts;
|
|
bool DisplaySummary;
|
|
bool DisplayUpToDateScripts;
|
|
bool OptimizeObjectMembers;
|
|
bool ErrorOnWarning;
|
|
bool ThreadedCompilation;
|
|
int NumberOfThreads;
|
|
bool ParanoiaWarnings;
|
|
bool ErrorOnFileCaseMissmatch;
|
|
bool UseCompiler2020;
|
|
bool CompareCompilerOutput;
|
|
int EmParseTreeCacheSize;
|
|
int IncParseTreeCacheSize;
|
|
|
|
void Read( const std::string& path );
|
|
void SetDefaults();
|
|
};
|
|
|
|
extern CompilerConfig compilercfg;
|
|
} // namespace Bscript
|
|
} // namespace Pol
|
|
#endif
|