From 4e1b25a90ad608014c52f1287919cc4f28ab5b59 Mon Sep 17 00:00:00 2001 From: q66 Date: Thu, 25 Feb 2016 23:57:26 +0900 Subject: [PATCH] clarify shared library --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6df2c513..56250fcc 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,9 @@ You can compile your application with it like: c++ myapp.cc cubescript.cc -o myapp -std=c++14 -Wall -Wextra -I. -Ipath/to/octastd -It also supports building as a shared library. +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 See COPYING.md for licensing information.