Add compiler flag that makes NimMain function unique.

This commit is contained in:
Joey Yakimowich-Payne 2018-07-02 11:01:04 +09:00
commit 13c6491b10
3 changed files with 16 additions and 3 deletions

View file

@ -60,6 +60,7 @@ type # please make sure we have under 32 options
optSkipUserConfigFile, # skip the users's config file
optSkipParentConfigFiles, # skip parent dir's config files
optNoMain, # do not generate a "main" proc
optUniqueMain, # generate a unique name for the NimMain function
optUseColors, # use colors for hints, warnings, and errors
optThreads, # support for multi-threading
optStdout, # output to stdout