aboutsummaryrefslogtreecommitdiff
path: root/src/settings.js
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2013-06-24 16:00:24 -0700
committerAlon Zakai <alonzakai@gmail.com>2013-07-03 15:31:02 -0700
commitfac77c3ff04c2f228389fd3697239db263f62ab6 (patch)
treebd3529623087330da0ac84914c8601c8cd034198 /src/settings.js
parentfc397a94391958b13c06762957961f73447dabc9 (diff)
initial setup
Diffstat (limited to 'src/settings.js')
-rw-r--r--src/settings.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/settings.js b/src/settings.js
index dff52adf..37a118cb 100644
--- a/src/settings.js
+++ b/src/settings.js
@@ -296,6 +296,10 @@ var SHOW_LABELS = 0; // Show labels in the generated code
var PRINT_SPLIT_FILE_MARKER = 0; // Prints markers in Javascript generation to split the file later on. See emcc --split option.
+var MAIN_MODULE = 0; // A main module is a file compiled in a way that allows us to link it to
+ // a side module using emlink.py.
+var SIDE_MODULE = 0; // Corresponds to MAIN_MODULE
+
var BUILD_AS_SHARED_LIB = 0; // Whether to build the code as a shared library
// 0 here means this is not a shared lib: It is a main file.
// All shared library options (1 and 2) are currently deprecated XXX