diff options
author | kripken <alonzakai@gmail.com> | 2011-06-25 19:57:46 -0700 |
---|---|---|
committer | kripken <alonzakai@gmail.com> | 2011-06-25 19:57:46 -0700 |
commit | 196f9949ba69351a403017de49e3c8cd16879dd7 (patch) | |
tree | d0c0d4f70c24b8ee9c6468ba50dcca2d4c2d445f /src/settings.js | |
parent | 5595ad6270c335ec353d25f0a7ef2ab2319ae8c0 (diff) | |
parent | 0575efbfafda86bbc921b086167aefc59252ecde (diff) |
Merge pull request #32 from max99x/master
Basic dynamic loading support
Diffstat (limited to 'src/settings.js')
-rw-r--r-- | src/settings.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/settings.js b/src/settings.js index f2dd9065..437d61b5 100644 --- a/src/settings.js +++ b/src/settings.js @@ -101,8 +101,20 @@ AUTO_OPTIMIZE = 0; // When run with the CHECK_* options, will not fail on errors EXPORTED_FUNCTIONS = ['_main']; // Functions that are explicitly exported, so they are guaranteed to // be accessible outside of the generated code. +EXPORTED_GLOBALS = []; // Global non-function variables that are explicitly + // exported, so they are guaranteed to be + // accessible outside of the generated code. + +INCLUDE_FULL_LIBRARY = 0; // Whether to include the whole library rather than just the + // functions used by the generated code. This is needed when + // dynamically loading modules that make use of runtime + // library functions that are not used in the main module. + SHOW_LABELS = 0; // Show labels in the generated code +BUILD_AS_SHARED_LIB = 0; // Whether to build the code as a shared library, which + // must be loaded dynamically using dlopen(). + // Compiler debugging options DEBUG_TAGS_SHOWING = []; // Some useful items: |