libcubescript/README.md

24 lines
729 B
Markdown
Raw Normal View History

2015-07-31 18:53:29 +00:00
# libcubescript
This is an embeddable version of the CubeScript implementation from the
Cube 2 engine.
2015-08-08 16:24:05 +00:00
It depends on the latest Git version of OctaSTD:
https://git.octaforge.org/tools/octastd.git/
https://github.com/OctaForge/OctaSTD
2016-02-23 14:56:28 +00:00
Currently the API is unstable and the whole thing is a work in progress. It
requires C++14, just like OctaSTD does.
2015-08-08 16:24:05 +00:00
You can compile your application with it like:
2015-12-25 15:43:33 +00:00
c++ myapp.cc cubescript.cc -o myapp -std=c++14 -Wall -Wextra -I. -Ipath/to/octastd
2015-08-08 16:24:05 +00:00
2016-02-25 14:57:26 +00:00
It also supports building as a shared library. To do that, use the following
command line:
c++ cubescript.cc -o libcubescript.so -std=c++14 -Wall -Wextra -I. -Ipath/to/octastd -shared -fPIC
2016-02-23 22:26:23 +00:00
2016-02-07 21:22:39 +00:00
See COPYING.md for licensing information.