commit
6018f6b6c2
|
@ -0,0 +1,12 @@
|
|||
*.py text eol=lf
|
||||
*.yml text eol=lf
|
||||
*.diff text eol=lf
|
||||
*.conf text eol=lf
|
||||
*.md text eol=lf
|
||||
*.cc text eol=lf
|
||||
*.hh text eol=lf
|
||||
*.txt text eol=lf
|
||||
*.build text eol=lf
|
||||
*.gitattributes text eol=lf
|
||||
*.gitignores text eol=lf
|
||||
*.wrap text eol=lf
|
|
@ -2,3 +2,6 @@ subprojects/libostd
|
|||
*.o
|
||||
*.core
|
||||
*.so
|
||||
build/
|
||||
.idea/
|
||||
.vscode/
|
||||
|
|
17
README.md
17
README.md
|
@ -72,14 +72,23 @@ utilized in the outside native code.
|
|||
|
||||
The only dependency is libostd:
|
||||
|
||||
https://git.octaforge.org/tools/libostd.git/
|
||||
https://git.octaforge.org/OctaForge/libostd
|
||||
|
||||
https://github.com/OctaForge/libostd
|
||||
|
||||
If libostd can work on your system, so can libcubescript.
|
||||
|
||||
The supplied Makefile builds a static library on Unix-like OSes. Link this
|
||||
library together with your application and everything should just work. It also
|
||||
builds the REPL.
|
||||
Libostd is built using Meson. Therefore, you need to install Meson and then
|
||||
you can compile it as usual. Typically, this will be something like
|
||||
|
||||
~~~
|
||||
mkdir build && cd build
|
||||
meson ..
|
||||
meson compile
|
||||
~~~
|
||||
|
||||
Link the libcubescript library together with your application and everything should just work.
|
||||
It also builds the REPL.
|
||||
|
||||
The project also bundles the linenoise line editing library which has been modified
|
||||
to compile cleanly as C++ (with the same flags as libcubescript). It's used strictly
|
||||
|
|
Loading…
Reference in New Issue