aboutsummaryrefslogtreecommitdiff
path: root/src/settings.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings.js')
-rw-r--r--src/settings.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/settings.js b/src/settings.js
index f2dd9065..614a29ac 100644
--- a/src/settings.js
+++ b/src/settings.js
@@ -101,8 +101,15 @@ 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.
+
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: