Rokas Kupstys a35d061eff CMake Improvements (+5 squashed commits) 8 年之前
..
CMakeLists.txt a35d061eff CMake Improvements (+5 squashed commits) 8 年之前
README.TXT bbb97cb96b - Set up duktape 2.x to enable debugger hooks. 8 年之前
duk_config.h bbb97cb96b - Set up duktape 2.x to enable debugger hooks. 8 年之前
duk_logging.c 3adb59c815 Update to Duktape 2.0.1 8 年之前
duk_logging.h 3adb59c815 Update to Duktape 2.0.1 8 年之前
duk_module_duktape.c 3adb59c815 Update to Duktape 2.0.1 8 年之前
duk_module_duktape.h 3adb59c815 Update to Duktape 2.0.1 8 年之前
duktape.c 3adb59c815 Update to Duktape 2.0.1 8 年之前
duktape.h 3adb59c815 Update to Duktape 2.0.1 8 年之前

README.TXT

To create the duk_config.h file change into the directory ${DUKTAPE}/tools and run the
following Python command (you can copy/paste it):

python2 configure.py \
--output-directory=out \
--omit-removed-config-options --omit-deprecated-config-options --omit-unused-config-options \
--emit-config-sanity-check \
--option-file ../config/examples/performance_sensitive.yaml \
--option-file ../config/examples/timing_sensitive.yaml \
--option-file ../config/examples/debugger_support.yaml

An 'extern "C"' block has to be added to the headers duk_logging.h and duk_module_duktape.h
(from the directory ${DUKTAPE}/extras) to avoid C++ decoration of the function names.
This is tracked in https://github.com/svaarala/duktape/issues/1405.