Skip to content

coxm/duktape-experiment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Duktape experiment

An excuse to play with Duktape.

Quick start

Install dependencies

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).

Build

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.

About

An experiment using Duktape

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published