mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
* Add libefsw at 3419347 * saving work * some cleanup * move to fs::paths * saving work.. maybe hitting a limit with number of watched dirs? * migrate to watching only ecompile.cfg specified folders, cleanup/doc * Display summary between compilations in watch mode; fix cache reuse * Fix inf loop; some cmake, format changes... * some windows compilation fixes... tweaks to windows cmake? * Update Efsw.cmake for build lib changes * removed debug flag * silence efsw build dont add antlr project if it already exists * Address review comments: - use std::move on efswwatcher add_* * add docs * Add WatchModeByDefault ecompile.cfg option * iniital work on tests * Add CI actions * some changes (passes locally on win, mac, linux) * Fix fixtures dependency; use ecompile verbose mode * Add core-changes * Send ctrl+c instead of killing process * Proper Python file naming * Kill ecompile process on windows, SIGINT otherwise --------- Co-authored-by: turleypol <turley@polserver.com>
255 lines
4.8 KiB
Text
255 lines
4.8 KiB
Text
##
|
|
## ecompile.cfg: must be in the same directory as ecompile.exe
|
|
##
|
|
|
|
#
|
|
# ModuleDirectory: Location of *.em files
|
|
#
|
|
ModuleDirectory=D:\DistroDev\scripts\modules
|
|
|
|
#
|
|
# IncludeDirectory: Location of *.inc files, if not found relative
|
|
# or with a specified package
|
|
#
|
|
IncludeDirectory=D:\DistroDev\scripts
|
|
|
|
#
|
|
# PolScriptRoot: Location of "::file" includes
|
|
#
|
|
PolScriptRoot=D:\DistroDev\scripts
|
|
|
|
#
|
|
# PackageRoot: root directories where packages are stored
|
|
# This can be specified multiple times.
|
|
#
|
|
PackageRoot=D:\DistroDev\pkg
|
|
PackageRoot=D:\DistroDev\optpkg
|
|
PackageRoot=D:\DistroDev\devpkg
|
|
|
|
#
|
|
# Default ecompile options
|
|
#
|
|
|
|
#
|
|
# GenerateListing
|
|
# Generates *.lst files that contain program counter and
|
|
# instyructions being executed at the program counter
|
|
# location. Useful for debugging misbehaving scripts.
|
|
# Default is 0
|
|
#
|
|
GenerateListing=0
|
|
|
|
#
|
|
# GenerateDebugInfo
|
|
# Directs eCompile to generated a special *.dbg file.
|
|
# Default is 0
|
|
#
|
|
GenerateDebugInfo=0
|
|
|
|
#
|
|
# GenerateDebugTextInfo
|
|
# Default is 0
|
|
#
|
|
GenerateDebugTextInfo=0
|
|
|
|
#
|
|
# VerbosityLevel
|
|
# Enabled logging more information such as locations of include files.
|
|
VerbosityLevel=0
|
|
|
|
#
|
|
# DisplayWarnings
|
|
# Directs eCompile to display warnings such as 'unused variables'.
|
|
# Default is 1
|
|
#
|
|
DisplayWarnings=1
|
|
|
|
#
|
|
# CompileAspPages
|
|
# Directs eCompile to compile Active Server Pages
|
|
# Default is 1
|
|
#
|
|
CompileAspPages=1
|
|
|
|
#
|
|
# AutoCompileByDefault
|
|
# If set, and you don't pass any script names or use switches -r or -A, will perform an auto compile.
|
|
# Default is 1
|
|
#
|
|
AutoCompileByDefault=1
|
|
|
|
#
|
|
# UpdateOnlyOnAutoCompile
|
|
# If set, autocompile will only update modified scripts.
|
|
# Default is 1
|
|
#
|
|
UpdateOnlyOnAutoCompile=1
|
|
|
|
#
|
|
# OnlyCompileUpdatedScripts
|
|
# Compile only updated scripts (.src newer than .ecl)
|
|
# Default is 1
|
|
#
|
|
OnlyCompileUpdatedScripts=1
|
|
|
|
#
|
|
# WatchModeByDefault
|
|
# Keep ecompile running to re-compile files that have changed.
|
|
# Default is 0
|
|
#
|
|
#WatchModeByDefault=0
|
|
|
|
#
|
|
# DisplaySummary
|
|
# Displays overall totals after compilation, unless compilation aborted due to a compile error.
|
|
# Default is 1
|
|
#
|
|
DisplaySummary=1
|
|
|
|
#
|
|
# GenerateDependencyInfo
|
|
# Generate .dep files whether or not updating.
|
|
# Default is 0
|
|
#
|
|
GenerateDependencyInfo=1
|
|
|
|
#
|
|
#
|
|
# Display the 'xxx/script.ecl is up-to-date' message, or not.
|
|
# Default is 0
|
|
#
|
|
DisplayUpToDateScripts=0
|
|
|
|
#
|
|
# OptimizeObjectMembers
|
|
# Default is 1
|
|
#
|
|
OptimizeObjectMembers=1
|
|
|
|
#
|
|
# ErrorOnWarning
|
|
# Treat warnings just like errors.
|
|
# Default is 0
|
|
#
|
|
ErrorOnWarning=0
|
|
|
|
#
|
|
# ThreadedCompilation
|
|
# Uses multiple threads to speed up compilation.
|
|
# Default is 0
|
|
#
|
|
ThreadedCompilation=1
|
|
|
|
#
|
|
# NumberOfThreads
|
|
# Forces N threads to run, 0 autodetects the used number.
|
|
# Default is 0
|
|
#
|
|
NumberOfThreads=0
|
|
|
|
#
|
|
# ParanoiaWarnings
|
|
# Forces eCompile to complain about {} syntax.
|
|
# Default is 0
|
|
#
|
|
ParanoiaWarnings=0
|
|
|
|
#
|
|
# ErrorOnFileCaseMissmatch
|
|
# Error when capitalization of include directives is wrong
|
|
# On linux due to filename case sensitivity this is always the case
|
|
# Default is 0
|
|
ErrorOnFileCaseMissmatch=0
|
|
|
|
#
|
|
# EmParseTreeCacheSize
|
|
# Number of *.em files to cache (new compiler only)
|
|
# Typically this should be high enough to cache all *.em files
|
|
# Default is 25
|
|
#EmParseTreeCacheSize=25
|
|
|
|
#
|
|
# IncParseTreeCacheSize
|
|
# Number of *.inc files to cache (new compiler only)
|
|
# Default is 50
|
|
#IncParseTreeCacheSize=50
|
|
|
|
######################
|
|
# Formatter settings #
|
|
# (-F / -Fi) #
|
|
######################
|
|
|
|
# LineWidth
|
|
# Default 80
|
|
#FormatterLineWidth=80
|
|
|
|
# keep original keyword spelling
|
|
# Default 0
|
|
#FormatterKeepKeywords=0
|
|
|
|
# number of spaces for ident
|
|
# Default 2
|
|
#FormatterIdentLevel=2
|
|
|
|
# multiple newlines get merged to a single
|
|
# Default 1
|
|
#FormatterMergeEmptyLines=1
|
|
|
|
# space between emtpy parenthesis eg foo() vs foo( )
|
|
# Default 0
|
|
#FormatterEmptyParenthesisSpacing=0
|
|
|
|
# space between emtpy brackets eg struct{} vs struct{ }
|
|
# Default 0
|
|
#FormatterEmptyBracketSpacing=0
|
|
|
|
# space after/before parenthesis in conditionals
|
|
# eg if ( true ) vs if (true)
|
|
# Default 1
|
|
#FormatterConditionalParenthesisSpacing=1
|
|
|
|
# space after/before parenthesis
|
|
# eg foo( true ) vs foo(true)
|
|
# Default 1
|
|
#FormatterParenthesisSpacing=1
|
|
|
|
# space after/before brackets
|
|
# eg array{ true } vs array{true}
|
|
# Default 1
|
|
#FormatterBracketSpacing=1
|
|
|
|
# add space after delimiter comma or semi in for loops
|
|
# eg {1, 2, 3} vs {1,2,3}
|
|
# Default 1
|
|
#FormatterDelimiterSpacing=1
|
|
|
|
# add space around assignment
|
|
# eg a := 1; vs a:=1;
|
|
# Default 1
|
|
#FormatterAssignmentSpacing=1
|
|
|
|
# add space around comparison
|
|
# eg a == 1 vs a==1
|
|
# Default 1
|
|
#FormatterComparisonSpacing=1
|
|
|
|
# add space around operations
|
|
# eg a + 1 vs a+1
|
|
# Default 1
|
|
#FormatterOperatorSpacing=1
|
|
|
|
# use \r\n as newline instead of \n
|
|
# Default 1 on windows 0 otherwise
|
|
#FormatterWindowsLineEndings=0
|
|
|
|
# use tabs instead of spaces
|
|
# Default 0
|
|
#FormatterUseTabs=0
|
|
|
|
# tab width
|
|
# Default 4
|
|
#FormatterTabWidth=4
|
|
|
|
# Insert a newline at end of file if missing
|
|
# Default 0
|
|
#FormatterInsertNewlineAtEOF=0
|