An excuse to play with Duktape.
The current dependencies are as follows. In each case, the dependency location
must be passed through to CMake by defining an approprate variable of the form
<LIBRARY_NAME>_PATH
pointing at the root of that project.
- Duktape (v2.2.0)—define
DUKTAPE_PATH
; - easylogging++
(v9.95.3)—define
EASYLOGGINGPP_PATH
. - Box2D (tested with v2.3.2, though other versions will probably work);
- b2Draw (tested with v1).
As usual, except some dependencies are required when configuring CMake. For example:
mkdir -p build
cd build
cmake \
-DDUKTAPE_PATH=/path/to/duktape-2.2.0/ \
-DEASYLOGGINGPP_PATH=/path/to/easylogging-9.95.3/ \
..
If other dependencies are not in a regular system location (like /usr/lib/
,
/usr/include/
) then you will need to specify their locations too. In such
cases, define <DEPENDENCY>_INCLUDE_DIR
and/or <DEPENDENCY>_LIBRARY_DIR
as
appropriate when invoking cmake
.