libcubescript/README.md

25 lines
803 B
Markdown
Raw Normal View History

2015-07-31 20:53:29 +02:00
# libcubescript
This is an embeddable version of the CubeScript implementation from the
2016-07-24 01:16:00 +02:00
Cube 2 engine. The API is highly unstable right now and overall it's a work
in progress.
2015-07-31 20:53:29 +02:00
2015-08-08 18:24:05 +02: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 15:56:28 +01: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 18:24:05 +02:00
You can compile your application with it like:
2015-12-25 16:43:33 +01:00
c++ myapp.cc cubescript.cc -o myapp -std=c++14 -Wall -Wextra -I. -Ipath/to/octastd
2015-08-08 18:24:05 +02:00
2016-02-25 15:57:26 +01: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 23:26:23 +01:00
2016-02-07 22:22:39 +01:00
See COPYING.md for licensing information.